Lines Matching refs:FFMAX
502 effective_lowband = FFMAX(ff_celt_freq_bands[f->start_band], in ff_celt_quant_bands()
591 quanta = FFMIN(quanta << 3, FFMAX(6 << 3, quanta)); in ff_celt_bitalloc()
612 dynalloc = FFMAX(dynalloc - 1, 2); in ff_celt_bitalloc()
659 threshold[i] = FFMAX(3 * ff_celt_freq_range[i] << duration >> 4, in ff_celt_bitalloc()
679 bandbits = FFMAX(bandbits + trim_offset[i], 0); in ff_celt_bitalloc()
704 bits1[i] = FFMAX(bits1[i] + trim_offset[i], 0); in ff_celt_bitalloc()
706 bits2[i] = FFMAX(bits2[i] + trim_offset[i], 0); in ff_celt_bitalloc()
714 bits2[i] = FFMAX(bits2[i] - bits1[i], 0); in ff_celt_bitalloc()
771 … allocation += FFMAX(remaining - (ff_celt_freq_bands[j] - ff_celt_freq_bands[f->start_band]), 0); in ff_celt_bitalloc()
775 if (allocation >= FFMAX(threshold[j], (f->channels + 1) << 3)) { in ff_celt_bitalloc()
848 extrabits = FFMAX(f->pulses[i] - f->caps[i], 0); in ff_celt_bitalloc()
866 max_bits = FFMAX(max_bits, 0); in ff_celt_bitalloc()
877 extrabits = FFMAX(f->pulses[i] - (f->channels << 3), 0); in ff_celt_bitalloc()