Lines Matching refs:targ_bits
1013 const int ch, const int targ_bits)
1029 (void) bin_search_StepSize(gfc, cod_info, targ_bits, ch, xrpow);
1097 huff_bits = targ_bits - cod_info_w.part2_length;
1780 int max_frame_bits=0, analog_silence_bits=0, targ_bits[2][2]={0};
1824 targ_bits[gr][ch] = res_factor * mean_bits;
1830 targ_bits[gr][ch] = res_factor * mean_bits;
1843 targ_bits[gr][ch] += add_bits;
1845 if (targ_bits[gr][ch] > MAX_BITS_PER_CHANNEL) {
1846 targ_bits[gr][ch] = MAX_BITS_PER_CHANNEL;
1848 sum += targ_bits[gr][ch];
1852 targ_bits[gr][ch] *= MAX_BITS_PER_GRANULE;
1853 targ_bits[gr][ch] /= sum;
1860 reduce_side(targ_bits[gr], ms_ener_ratio[gr], mean_bits * cfg->channels_out,
1869 if (targ_bits[gr][ch] > MAX_BITS_PER_CHANNEL)
1870 targ_bits[gr][ch] = MAX_BITS_PER_CHANNEL;
1871 totbits += targ_bits[gr][ch];
1882 targ_bits[gr][ch] *= max_frame_bits;
1883 targ_bits[gr][ch] /= act_totbits;
1884 totbits += targ_bits[gr][ch];
1894 int const gr_ch_bits = targ_bits[gr][ch];
1927 int targ_bits[2][2];
1936 calc_target_bits(gfc, pe, ms_ener_ratio, targ_bits, &analog_silence_bits, &max_frame_bits);
1972 targ_bits[gr][ch] = analog_silence_bits;
1974 (void) outer_loop(gfc, cod_info, l3_xmin, xrpow, ch, targ_bits[gr][ch]);
1978 assert(cod_info->part2_3_length <= targ_bits[gr][ch]);
2016 int targ_bits[2];
2029 max_bits = on_pe(gfc, pe, targ_bits, mean_bits, gr, gr);
2033 reduce_side(targ_bits, ms_ener_ratio[gr], mean_bits, max_bits);
2061 (void) outer_loop(gfc, cod_info, l3_xmin, xrpow, ch, targ_bits[ch]);
2066 assert(cod_info->part2_3_length <= targ_bits[ch]);