Lines Matching refs:subframe_bps
147 unsigned subframe_bps,
159 unsigned subframe_bps,
168 unsigned subframe_bps,
179 unsigned subframe_bps,
200 unsigned subframe_bps,
218 unsigned subframe_bps,
322 unsigned subframe_bps[FLAC__MAX_CHANNELS]; /* the effective bits per sample of the input signal (stream bps - wasted bits) */
3183 encoder->private_->subframe_bps[channel] = encoder->protected_->bits_per_sample - w;
3206 encoder->private_->subframe_bps[channel],
3315 left_bps = encoder->private_->subframe_bps [0];
3316 right_bps = encoder->private_->subframe_bps [1];
3319 left_bps = encoder->private_->subframe_bps [0];
3324 right_bps = encoder->private_->subframe_bps [1];
3347 if(!add_subframe_(encoder, frame_header.blocksize, encoder->private_->subframe_bps[channel], &encoder->private_->subframe_workspace[channel][encoder->private_->best_subframe[channel]], encoder->private_->frame)) {
3370 unsigned subframe_bps,
3405 _best_bits = evaluate_verbatim_subframe_(encoder, integer_signal, frame_header->blocksize, subframe_bps, subframe[_best_subframe]);
3430 _candidate_bits = evaluate_constant_subframe_(encoder, integer_signal[0], frame_header->blocksize, subframe_bps, subframe[!_best_subframe]);
3450 if(fixed_residual_bits_per_sample[fixed_order] >= (FLAC__float)subframe_bps)
3454 if(FLAC__fixedpoint_trunc(fixed_residual_bits_per_sample[fixed_order]) >= (int)subframe_bps)
3473 subframe_bps,
3515 subframe_bps + (
3527 if(lpc_residual_bits_per_sample >= (FLAC__double)subframe_bps)
3540 if(subframe_bps <= 16) {
3541 max_qlp_coeff_precision = flac_min(32 - subframe_bps - FLAC__bitmath_ilog2(lpc_order), FLAC__MAX_QLP_COEFF_PRECISION);
3560 subframe_bps,
3591 _best_bits = evaluate_verbatim_subframe_(encoder, integer_signal, frame_header->blocksize, subframe_bps, subframe[_best_subframe]);
3603 unsigned subframe_bps,
3610 if(!FLAC__subframe_add_constant(&(subframe->data.constant), subframe_bps, subframe->wasted_bits, frame)) {
3616 if(!FLAC__subframe_add_fixed(&(subframe->data.fixed), blocksize - subframe->data.fixed.order, subframe_bps, subframe->wasted_bits, frame)) {
3622 if(!FLAC__subframe_add_lpc(&(subframe->data.lpc), blocksize - subframe->data.lpc.order, subframe_bps, subframe->wasted_bits, frame)) {
3628 if(!FLAC__subframe_add_verbatim(&(subframe->data.verbatim), blocksize, subframe_bps, subframe->wasted_bits, frame)) {
3645 unsigned subframe_bps,
3660 ret = add_subframe_(encoder, blocksize, subframe_bps, subframe, frame);
3675 unsigned subframe_bps,
3683 estimate = FLAC__SUBFRAME_ZERO_PAD_LEN + FLAC__SUBFRAME_TYPE_LEN + FLAC__SUBFRAME_WASTED_BITS_FLAG_LEN + subframe->wasted_bits + subframe_bps;
3686 spotcheck_subframe_estimate_(encoder, blocksize, subframe_bps, subframe, estimate);
3701 unsigned subframe_bps,
3736 subframe_bps,
3746 estimate = FLAC__SUBFRAME_ZERO_PAD_LEN + FLAC__SUBFRAME_TYPE_LEN + FLAC__SUBFRAME_WASTED_BITS_FLAG_LEN + subframe->wasted_bits + (order * subframe_bps) + residual_bits;
3749 spotcheck_subframe_estimate_(encoder, blocksize, subframe_bps, subframe, estimate);
3764 unsigned subframe_bps,
3783 if(subframe_bps <= 16) {
3786 qlp_coeff_precision = flac_min(qlp_coeff_precision, 32 - subframe_bps - FLAC__bitmath_ilog2(order));
3793 if(subframe_bps + qlp_coeff_precision + FLAC__bitmath_ilog2(order) <= 32)
3794 if(subframe_bps <= 16 && qlp_coeff_precision <= 16)
3819 subframe_bps,
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;
3835 spotcheck_subframe_estimate_(encoder, blocksize, subframe_bps, subframe, estimate);
3846 unsigned subframe_bps,
3856 estimate = FLAC__SUBFRAME_ZERO_PAD_LEN + FLAC__SUBFRAME_TYPE_LEN + FLAC__SUBFRAME_WASTED_BITS_FLAG_LEN + subframe->wasted_bits + (blocksize * subframe_bps);
3859 spotcheck_subframe_estimate_(encoder, blocksize, subframe_bps, subframe, estimate);