Home | History | Annotate | Download | only in libFLAC

Lines Matching defs:estimate

3455 	unsigned estimate
3472 if(estimate != actual)
3473 fprintf(stderr, "EST: bad, frame#%u sub#%%d type=%8s est=%u, actual=%u, delta=%d\n", encoder->private_->current_frame_number, FLAC__SubframeTypeString[subframe->type], estimate, actual, (int)actual-(int)estimate);
3487 unsigned estimate;
3491 estimate = FLAC__SUBFRAME_ZERO_PAD_LEN + FLAC__SUBFRAME_TYPE_LEN + FLAC__SUBFRAME_WASTED_BITS_FLAG_LEN + subframe->wasted_bits + subframe_bps;
3494 spotcheck_subframe_estimate_(encoder, blocksize, subframe_bps, subframe, estimate);
3499 return estimate;
3521 unsigned i, residual_bits, estimate;
3554 estimate = FLAC__SUBFRAME_ZERO_PAD_LEN + FLAC__SUBFRAME_TYPE_LEN + FLAC__SUBFRAME_WASTED_BITS_FLAG_LEN + subframe->wasted_bits + (order * subframe_bps) + residual_bits;
3557 spotcheck_subframe_estimate_(encoder, blocksize, subframe_bps, subframe, estimate);
3560 return estimate;
3586 unsigned i, residual_bits, estimate;
3640 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;
3643 spotcheck_subframe_estimate_(encoder, blocksize, subframe_bps, subframe, estimate);
3646 return estimate;
3658 unsigned estimate;
3664 estimate = FLAC__SUBFRAME_ZERO_PAD_LEN + FLAC__SUBFRAME_TYPE_LEN + FLAC__SUBFRAME_WASTED_BITS_FLAG_LEN + subframe->wasted_bits + (blocksize * subframe_bps);
3667 spotcheck_subframe_estimate_(encoder, blocksize, subframe_bps, subframe, estimate);
3672 return estimate;