Lines Matching refs:mbits
973 int mbits, sbits, delta; in quant_partition() local
1011 mbits = IMAX(0, IMIN(b, (b-delta)/2)); in quant_partition()
1012 sbits = b-mbits; in quant_partition()
1019 if (mbits >= sbits) in quant_partition()
1021 cm = quant_partition(ctx, X, N, mbits, B, lowband, LM, in quant_partition()
1023 rebalance = mbits - (rebalance-ctx->remaining_bits); in quant_partition()
1033 mbits += rebalance - (3<<BITRES); in quant_partition()
1034 cm |= quant_partition(ctx, X, N, mbits, B, lowband, LM, in quant_partition()
1245 int mbits, sbits, delta; in quant_band_stereo() local
1287 mbits = b; in quant_band_stereo()
1292 mbits -= sbits; in quant_band_stereo()
1312 cm = quant_band(ctx, x2, N, mbits, B, lowband, LM, lowband_out, Q15ONE, in quant_band_stereo()
1336 mbits = IMAX(0, IMIN(b, (b-delta)/2)); in quant_band_stereo()
1337 sbits = b-mbits; in quant_band_stereo()
1341 if (mbits >= sbits) in quant_band_stereo()
1345 cm = quant_band(ctx, X, N, mbits, B, lowband, LM, lowband_out, Q15ONE, in quant_band_stereo()
1347 rebalance = mbits - (rebalance-ctx->remaining_bits); in quant_band_stereo()
1360 mbits += rebalance - (3<<BITRES); in quant_band_stereo()
1363 cm |= quant_band(ctx, X, N, mbits, B, lowband, LM, lowband_out, Q15ONE, in quant_band_stereo()