Lines Matching defs:bits

607                     better = calc->bits < best->bits;
612 ((calc->max_noise * 10 + calc->bits) <=
613 (best->max_noise * 10 + best->bits)));
677 if it is better, and if it uses less bits.
681 better = better && calc->bits < best->bits;
1014 { /* maximum allowed bits */
1041 best_noise_info.bits = cod_info->part2_3_length;
1072 * and VBR mode will try again with more bits.
1093 * and slowly increases until the bits < huff_bits.
1101 /* increase quantizer stepsize until needed bits are below maximum
1124 noise_info.bits = cod_info_w.part2_3_length;
1224 /* best huffman_divide may save some bits too
1260 /* search within round about 40 bits of optimal
1289 /* try with fewer bits
1296 /* try with more bits
1334 * * how many bits are available for analog silent granules
1335 * * how many bits to use for the lowest allowed bitrate
1336 * * how many bits each bitrate would provide
1347 /* always use at least this many bits per granule per channel
1353 /* bits for analog silence
1402 int avg, mxb, bits = 0;
1435 bits += max_bits[gr][ch];
1440 if (bits > frameBits[cfg->vbr_max_bitrate_index] && bits > 0) {
1442 max_bits[gr][ch] /= bits;
1482 * tries to find out how many bits are needed for each granule and channel
1502 int bits;
1514 /* quantize granules with lowest possible number of bits
1548 /* find lowest bitrate able to hold used bits
1562 bits = ResvFrameBegin(gfc, &mean_bits);
1564 if (used_bits <= bits)
1593 int avg, bits = 0;
1625 bits += max_bits[gr][ch];
1630 if (bits > maximum_framebits && bits > 0) {
1632 max_bits[gr][ch] /= bits;
1677 max_bits[gr][ch] = 0; /* silent granule needs no bits */
1682 /* quantize granules with lowest possible number of bits
1690 /* find lowest bitrate able to hold used bits
1761 * calculates target bits for ABR encoding
1798 be used on average. the remaining bits are added to the
1837 /* at most increase bits by 1.5*average */
1864 /* sum target bits
1875 /* repartion target bits if needed
2027 /* calculate needed bits