Lines Matching defs:dstY
384 int dstY = c->dstY;
412 DEBUG_BUFFERS("srcSliceY: %d srcSliceH: %d dstY: %d dstH: %d\n",
413 srcSliceY, srcSliceH, dstY, dstH);
447 dstY = 0;
455 lastDstY = dstY;
457 for (; dstY < dstH; dstY++) {
458 const int chrDstY = dstY >> c->chrDstVSubSample;
460 dst[0] + dstStride[0] * dstY,
463 (CONFIG_SWSCALE_ALPHA && alpPixBuf) ? dst[3] + dstStride[3] * dstY : NULL,
468 const int firstLumSrcY = FFMAX(1 - vLumFilterSize, vLumFilterPos[dstY]);
469 const int firstLumSrcY2 = FFMAX(1 - vLumFilterSize, vLumFilterPos[FFMIN(dstY | ((1 << c->chrDstVSubSample) - 1), dstH - 1)]);
487 DEBUG_BUFFERS("dstY: %d\n", dstY);
493 // Do we have enough lines in this slice to output the dstY line
555 break; // we can't output a dstY line so let's try with the next slice
558 updateMMXDitherTables(c, dstY, lumBufIndex, chrBufIndex,
563 c->lumDither8 = ff_dither_8x8_128[dstY & 7];
565 if (dstY >= dstH - 2) {
586 vLumFilter += dstY * vLumFilterSize;
611 if (!((dstY & chrSkipMask) || isGray(dstFormat))) {
647 int chrAlpha = vChrFilterSize == 1 ? 0 : vChrFilter[2 * dstY + 1];
650 dest[0], dstW, chrAlpha, dstY);
653 int lumAlpha = vLumFilter[2 * dstY + 1];
654 int chrAlpha = vChrFilter[2 * dstY + 1];
656 lumMmxFilter[3] = vLumFilter[2 * dstY] * 0x10001;
661 dest[0], dstW, lumAlpha, chrAlpha, dstY);
663 yuv2packedX(c, vLumFilter + dstY * vLumFilterSize,
665 vChrFilter + dstY * vChrFilterSize,
667 alpSrcPtr, dest[0], dstW, dstY);
671 yuv2anyX(c, vLumFilter + dstY * vLumFilterSize,
673 vChrFilter + dstY * vChrFilterSize,
675 alpSrcPtr, dest, dstW, dstY);
681 int height = dstY - lastDstY;
699 c->dstY = dstY;
705 return dstY - lastDstY;