Lines Matching refs:subframe
362 FLAC__bool FLAC__subframe_add_constant(const FLAC__Subframe_Constant *subframe, unsigned subframe_b… in FLAC__subframe_add_constant() argument
369 FLAC__bitwriter_write_raw_int32(bw, subframe->value, subframe_bps) in FLAC__subframe_add_constant()
375 FLAC__bool FLAC__subframe_add_fixed(const FLAC__Subframe_Fixed *subframe, unsigned residual_samples… in FLAC__subframe_add_fixed() argument
379 …if(!FLAC__bitwriter_write_raw_uint32(bw, FLAC__SUBFRAME_TYPE_FIXED_BYTE_ALIGNED_MASK | (subframe->… in FLAC__subframe_add_fixed()
385 for(i = 0; i < subframe->order; i++) in FLAC__subframe_add_fixed()
386 if(!FLAC__bitwriter_write_raw_int32(bw, subframe->warmup[i], subframe_bps)) in FLAC__subframe_add_fixed()
389 if(!add_entropy_coding_method_(bw, &subframe->entropy_coding_method)) in FLAC__subframe_add_fixed()
391 switch(subframe->entropy_coding_method.type) { in FLAC__subframe_add_fixed()
396 subframe->residual, in FLAC__subframe_add_fixed()
398 subframe->order, in FLAC__subframe_add_fixed()
399 subframe->entropy_coding_method.data.partitioned_rice.contents->parameters, in FLAC__subframe_add_fixed()
400 subframe->entropy_coding_method.data.partitioned_rice.contents->raw_bits, in FLAC__subframe_add_fixed()
401 subframe->entropy_coding_method.data.partitioned_rice.order, in FLAC__subframe_add_fixed()
402 …/*is_extended=*/subframe->entropy_coding_method.type == FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RI… in FLAC__subframe_add_fixed()
413 FLAC__bool FLAC__subframe_add_lpc(const FLAC__Subframe_LPC *subframe, unsigned residual_samples, un… in FLAC__subframe_add_lpc() argument
417 …if(!FLAC__bitwriter_write_raw_uint32(bw, FLAC__SUBFRAME_TYPE_LPC_BYTE_ALIGNED_MASK | ((subframe->o… in FLAC__subframe_add_lpc()
423 for(i = 0; i < subframe->order; i++) in FLAC__subframe_add_lpc()
424 if(!FLAC__bitwriter_write_raw_int32(bw, subframe->warmup[i], subframe_bps)) in FLAC__subframe_add_lpc()
427 …if(!FLAC__bitwriter_write_raw_uint32(bw, subframe->qlp_coeff_precision-1, FLAC__SUBFRAME_LPC_QLP_C… in FLAC__subframe_add_lpc()
429 …if(!FLAC__bitwriter_write_raw_int32(bw, subframe->quantization_level, FLAC__SUBFRAME_LPC_QLP_SHIFT… in FLAC__subframe_add_lpc()
431 for(i = 0; i < subframe->order; i++) in FLAC__subframe_add_lpc()
432 if(!FLAC__bitwriter_write_raw_int32(bw, subframe->qlp_coeff[i], subframe->qlp_coeff_precision)) in FLAC__subframe_add_lpc()
435 if(!add_entropy_coding_method_(bw, &subframe->entropy_coding_method)) in FLAC__subframe_add_lpc()
437 switch(subframe->entropy_coding_method.type) { in FLAC__subframe_add_lpc()
442 subframe->residual, in FLAC__subframe_add_lpc()
444 subframe->order, in FLAC__subframe_add_lpc()
445 subframe->entropy_coding_method.data.partitioned_rice.contents->parameters, in FLAC__subframe_add_lpc()
446 subframe->entropy_coding_method.data.partitioned_rice.contents->raw_bits, in FLAC__subframe_add_lpc()
447 subframe->entropy_coding_method.data.partitioned_rice.order, in FLAC__subframe_add_lpc()
448 …/*is_extended=*/subframe->entropy_coding_method.type == FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RI… in FLAC__subframe_add_lpc()
459 FLAC__bool FLAC__subframe_add_verbatim(const FLAC__Subframe_Verbatim *subframe, unsigned samples, u… in FLAC__subframe_add_verbatim() argument
462 const FLAC__int32 *signal = subframe->data; in FLAC__subframe_add_verbatim()