Lines Matching refs:FFMIN
93 dst[i] = FFMIN(val >> sh, (1 << 19) - 1); in hScale16To19_c()
121 dst[i] = FFMIN(val >> sh, (1 << 15) - 1); in hScale16To15_c()
138 dst[i] = FFMIN(val >> 7, (1 << 15) - 1); // the cubic equation does overflow ... in hScale8To15_c()
155 dst[i] = FFMIN(val >> 3, (1 << 19) - 1); // the cubic equation does overflow ... in hScale8To19_c()
165 dstU[i] = (FFMIN(dstU[i], 30775) * 4663 - 9289992) >> 12; // -264 in chrRangeToJpeg_c()
166 dstV[i] = (FFMIN(dstV[i], 30775) * 4663 - 9289992) >> 12; // -264 in chrRangeToJpeg_c()
183 dst[i] = (FFMIN(dst[i], 30189) * 19077 - 39057361) >> 14; in lumRangeToJpeg_c()
199 dstU[i] = (FFMIN(dstU[i], 30775 << 4) * 4663 - (9289992 << 4)) >> 12; // -264 in chrRangeToJpeg16_c()
200 dstV[i] = (FFMIN(dstV[i], 30775 << 4) * 4663 - (9289992 << 4)) >> 12; // -264 in chrRangeToJpeg16_c()
220 dst[i] = ((int)(FFMIN(dst[i], 30189 << 4) * 4769U - (39057361 << 2))) >> 12; in lumRangeToJpeg16_c()
376 …const int firstLumSrcY2 = FFMAX(1 - vLumFilterSize, vLumFilterPos[FFMIN(dstY | ((1 << c->chrDstVSu… in swscale()
381 int lastLumSrcY = FFMIN(c->srcH, firstLumSrcY + vLumFilterSize) - 1; in swscale()
382 int lastLumSrcY2 = FFMIN(c->srcH, firstLumSrcY2 + vLumFilterSize) - 1; in swscale()
383 int lastChrSrcY = FFMIN(c->chrSrcH, firstChrSrcY + vChrFilterSize) - 1; in swscale()
439 …lastPosY = FFMIN(firstLumSrcY + hout_slice->plane[0].available_lines - 1, srcSliceY + srcSliceH - … in swscale()
448 …lastCPosY = FFMIN(firstChrSrcY + hout_slice->plane[1].available_lines - 1, AV_CEIL_RSHIFT(srcSlice… in swscale()