Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:qlp_coeff_precision

102 	unsigned qlp_coeff_precision;
202 unsigned qlp_coeff_precision,
680 if(encoder->protected_->qlp_coeff_precision == 0) {
684 encoder->protected_->qlp_coeff_precision = flac_max(FLAC__MIN_QLP_COEFF_PRECISION, 2 + encoder->protected_->bits_per_sample / 2);
688 encoder->protected_->qlp_coeff_precision = 7;
690 encoder->protected_->qlp_coeff_precision = 8;
692 encoder->protected_->qlp_coeff_precision = 9;
694 encoder->protected_->qlp_coeff_precision = 10;
696 encoder->protected_->qlp_coeff_precision = 11;
698 encoder->protected_->qlp_coeff_precision = 12;
700 encoder->protected_->qlp_coeff_precision = 13;
704 encoder->protected_->qlp_coeff_precision = FLAC__MAX_QLP_COEFF_PRECISION-2;
706 encoder->protected_->qlp_coeff_precision = FLAC__MAX_QLP_COEFF_PRECISION-1;
708 encoder->protected_->qlp_coeff_precision = FLAC__MAX_QLP_COEFF_PRECISION;
710 FLAC__ASSERT(encoder->protected_->qlp_coeff_precision <= FLAC__MAX_QLP_COEFF_PRECISION);
712 else if(encoder->protected_->qlp_coeff_precision < FLAC__MIN_QLP_COEFF_PRECISION || encoder->protected_->qlp_coeff_precision > FLAC__MAX_QLP_COEFF_PRECISION)
1624 ok &= FLAC__stream_encoder_set_qlp_coeff_precision (encoder, compression_levels_[value].qlp_coeff_precision);
1799 encoder->protected_->qlp_coeff_precision = value;
2093 return encoder->protected_->qlp_coeff_precision;
2322 encoder->protected_->qlp_coeff_precision = 0;
3389 unsigned min_qlp_coeff_precision, max_qlp_coeff_precision, qlp_coeff_precision;
3518 encoder->protected_->qlp_coeff_precision
3548 min_qlp_coeff_precision = max_qlp_coeff_precision = encoder->protected_->qlp_coeff_precision;
3550 for(qlp_coeff_precision = min_qlp_coeff_precision; qlp_coeff_precision <= max_qlp_coeff_precision; qlp_coeff_precision++) {
3562 qlp_coeff_precision,
3766 unsigned qlp_coeff_precision,
3786 qlp_coeff_precision = flac_min(qlp_coeff_precision, 32 - subframe_bps - FLAC__bitmath_ilog2(order));
3789 ret = FLAC__lpc_quantize_coefficients(lp_coeff, order, qlp_coeff_precision, qlp_coeff, &quantization);
3793 if(subframe_bps + qlp_coeff_precision + FLAC__bitmath_ilog2(order) <= 32)
3794 if(subframe_bps <= 16 && qlp_coeff_precision <= 16)
3826 subframe->data.lpc.qlp_coeff_precision = qlp_coeff_precision;
3832 estimate = FLAC__SUBFRAME_ZERO_PAD_LEN + FLAC__SUBFRAME_TYPE_LEN + FLAC__SUBFRAME_WASTED_BITS_FLAG_LEN + subframe->wasted_bits + FLAC__SUBFRAME_LPC_QLP_COEFF_PRECISION_LEN + FLAC__SUBFRAME_LPC_QLP_SHIFT_LEN + (order * (qlp_coeff_precision + subframe_bps)) + residual_bits;