Lines Matching refs:firstChrSrcY
384 const int firstChrSrcY = FFMAX(1 - vChrFilterSize, vChrFilterPos[chrDstY]);
389 int lastChrSrcY = FFMIN(c->chrSrcH, firstChrSrcY + vChrFilterSize) - 1;
408 if (firstChrSrcY > lastInChrBuf) {
410 hasChrHoles = lastInChrBuf != firstChrSrcY - 1;
412 hout_slice->plane[1].sliceY = firstChrSrcY;
413 hout_slice->plane[2].sliceY = firstChrSrcY;
418 lastInChrBuf = firstChrSrcY - 1;
425 firstChrSrcY, lastChrSrcY, lastInChrBuf);
439 av_assert0((lastChrSrcY - firstChrSrcY + 1) <= hout_slice->plane[1].available_lines);
453 firstCPosY = FFMAX(firstChrSrcY, cPosY);
454 lastCPosY = FFMIN(firstChrSrcY + hout_slice->plane[1].available_lines - 1, AV_CEIL_RSHIFT(srcSliceY + srcSliceH, c->chrSrcVSubSample) - 1);