Lines Matching refs:subframe
367 FLAC__bool FLAC__subframe_add_constant(const FLAC__Subframe_Constant *subframe, unsigned subframe_b… in FLAC__subframe_add_constant() argument
374 FLAC__bitwriter_write_raw_int32(bw, subframe->value, subframe_bps) in FLAC__subframe_add_constant()
380 FLAC__bool FLAC__subframe_add_fixed(const FLAC__Subframe_Fixed *subframe, unsigned residual_samples… in FLAC__subframe_add_fixed() argument
384 …if(!FLAC__bitwriter_write_raw_uint32(bw, FLAC__SUBFRAME_TYPE_FIXED_BYTE_ALIGNED_MASK | (subframe->… in FLAC__subframe_add_fixed()
390 for(i = 0; i < subframe->order; i++) in FLAC__subframe_add_fixed()
391 if(!FLAC__bitwriter_write_raw_int32(bw, subframe->warmup[i], subframe_bps)) in FLAC__subframe_add_fixed()
394 if(!add_entropy_coding_method_(bw, &subframe->entropy_coding_method)) in FLAC__subframe_add_fixed()
396 switch(subframe->entropy_coding_method.type) { in FLAC__subframe_add_fixed()
401 subframe->residual, in FLAC__subframe_add_fixed()
403 subframe->order, in FLAC__subframe_add_fixed()
404 subframe->entropy_coding_method.data.partitioned_rice.contents->parameters, in FLAC__subframe_add_fixed()
405 subframe->entropy_coding_method.data.partitioned_rice.contents->raw_bits, in FLAC__subframe_add_fixed()
406 subframe->entropy_coding_method.data.partitioned_rice.order, in FLAC__subframe_add_fixed()
407 …/*is_extended=*/subframe->entropy_coding_method.type == FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RI… in FLAC__subframe_add_fixed()
418 FLAC__bool FLAC__subframe_add_lpc(const FLAC__Subframe_LPC *subframe, unsigned residual_samples, un… in FLAC__subframe_add_lpc() argument
422 …if(!FLAC__bitwriter_write_raw_uint32(bw, FLAC__SUBFRAME_TYPE_LPC_BYTE_ALIGNED_MASK | ((subframe->o… in FLAC__subframe_add_lpc()
428 for(i = 0; i < subframe->order; i++) in FLAC__subframe_add_lpc()
429 if(!FLAC__bitwriter_write_raw_int32(bw, subframe->warmup[i], subframe_bps)) in FLAC__subframe_add_lpc()
432 …if(!FLAC__bitwriter_write_raw_uint32(bw, subframe->qlp_coeff_precision-1, FLAC__SUBFRAME_LPC_QLP_C… in FLAC__subframe_add_lpc()
434 …if(!FLAC__bitwriter_write_raw_int32(bw, subframe->quantization_level, FLAC__SUBFRAME_LPC_QLP_SHIFT… in FLAC__subframe_add_lpc()
436 for(i = 0; i < subframe->order; i++) in FLAC__subframe_add_lpc()
437 if(!FLAC__bitwriter_write_raw_int32(bw, subframe->qlp_coeff[i], subframe->qlp_coeff_precision)) in FLAC__subframe_add_lpc()
440 if(!add_entropy_coding_method_(bw, &subframe->entropy_coding_method)) in FLAC__subframe_add_lpc()
442 switch(subframe->entropy_coding_method.type) { in FLAC__subframe_add_lpc()
447 subframe->residual, in FLAC__subframe_add_lpc()
449 subframe->order, in FLAC__subframe_add_lpc()
450 subframe->entropy_coding_method.data.partitioned_rice.contents->parameters, in FLAC__subframe_add_lpc()
451 subframe->entropy_coding_method.data.partitioned_rice.contents->raw_bits, in FLAC__subframe_add_lpc()
452 subframe->entropy_coding_method.data.partitioned_rice.order, in FLAC__subframe_add_lpc()
453 …/*is_extended=*/subframe->entropy_coding_method.type == FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RI… in FLAC__subframe_add_lpc()
464 FLAC__bool FLAC__subframe_add_verbatim(const FLAC__Subframe_Verbatim *subframe, unsigned samples, u… in FLAC__subframe_add_verbatim() argument
467 const FLAC__int32 *signal = subframe->data; in FLAC__subframe_add_verbatim()