Home | History | Annotate | Download | only in celt

Lines Matching refs:IMIN

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