Lines Matching refs:IMIN
349 id = IMAX(0,IMIN(127,MULT16_32_Q15(tmp[i],norm))); /* Do not round to nearest */ in transient_analysis()
351 id = IMAX(0,IMIN(127,(int)floor(64*norm*tmp[i]))); /* Do not round to nearest */ in transient_analysis()
649 curr0 = IMIN(cost0, cost1 + lambda); in tf_analysis()
650 curr1 = IMIN(cost0 + lambda, cost1); in tf_analysis()
654 cost0 = IMIN(cost0, cost1); in tf_analysis()
1096 qg = IMAX(0, IMIN(7, qg)); in run_prefilter()
1153 coded_bins += eBands[IMIN(intensity, coded_bands)]<<LM; in compute_vbr()
1168 coded_stereo_bands = IMIN(intensity, coded_bands); in compute_vbr()
1215 target = IMIN(target, floor_depth); in compute_vbr()
1237 amount = MULT16_16_Q15(QCONST16(.0000031f, 30), IMAX(0, IMIN(32000, 96000-bitrate))); in compute_vbr()
1243 target = IMIN(2*base_target, target); in compute_vbr()
1379 nbCompressedBytes = IMIN(nbCompressedBytes,1275); in celt_encode_with_ec()
1398 nbCompressedBytes = IMAX(2, IMIN(nbCompressedBytes, in celt_encode_with_ec()
1426 max_allowed = IMIN(IMAX(tell==1?2:0, in celt_encode_with_ec()
1466 effectiveBytes=nbCompressedBytes=IMIN(nbCompressedBytes, nbFilledBytes+2); in celt_encode_with_ec()
1554 bandE[i] = IMIN(bandE[i], MULT16_32_Q15(QCONST16(1e-4f,15),bandE[0])); in celt_encode_with_ec()
1768 offsets[0] = IMIN(8, effectiveBytes/3); in celt_encode_with_ec()
1785 quanta = IMIN(width<<BITRES, IMAX(6<<BITRES, width)); in celt_encode_with_ec()
1821 st->intensity = IMIN(st->end,IMAX(st->start, st->intensity)); in celt_encode_with_ec()
1848 nbCompressedBytes = IMIN(nbCompressedBytes,1275>>(3-LM)); in celt_encode_with_ec()
1871 nbAvailableBytes = IMIN(nbCompressedBytes,nbAvailableBytes+nbFilledBytes) - nbFilledBytes; in celt_encode_with_ec()
1918 nbCompressedBytes = IMIN(nbCompressedBytes,nbAvailableBytes+nbFilledBytes); in celt_encode_with_ec()
1957 st->lastCodedBands = IMIN(st->lastCodedBands+1,IMAX(st->lastCodedBands-1,codedBands)); in celt_encode_with_ec()
2241 value = IMIN(value, 260000*st->channels); in opus_custom_encoder_ctl()