search for: subframe_workspace_mid_side

Displaying 1 result from an estimated 1 matches for "subframe_workspace_mid_side".

2011 Sep 26
1
mid-side coding and bits per sample
...FLAC__ASSERT(encoder->protected_->channels == 2); for(channel = 0; channel < 2; channel++) { const unsigned w = get_wasted_bits_(encoder->private_->integer_signal_mid_side[channel], encoder->protected_->blocksize); encoder->private_->subframe_workspace_mid_side[channel][0].wasted_bits = encoder->private_->subframe_workspace_mid_side[channel][1].wasted_bits = w; encoder->private_->subframe_bps_mid_side[channel] = encoder->protected_->bits_per_sample - w + (channel==0? 0:1); } } ++++++++++++++++++++++++ In that pie...