Lines Matching refs:mean_bits
83 ResvFrameBegin(lame_internal_flags * gfc, int *mean_bits)
115 * mean_bits: target number of bits per granule.
160 gfc->pinfo->mean_bits = meanBits / 2; /* expected bits per channel per granule [is this also right for mono/stereo, MPEG-1/2 ?] */
163 *mean_bits = meanBits;
175 ResvMaxBits(lame_internal_flags * gfc, int mean_bits, int *targ_bits, int *extra_bits, int cbr)
184 ResvSize += mean_bits;
189 targBits = mean_bits;
201 * than FhG. It could simple be mean_bits/15, but this was rigged
203 /* *targ_bits -= (int) (mean_bits/15.2); */
205 targBits -= .1 * mean_bits;
239 ResvFrameEnd(lame_internal_flags * gfc, int mean_bits)
247 esv->ResvSize += mean_bits * cfg->mode_gr;