Lines Matching defs:vChrFilterSize
359 const int vChrFilterSize = c->vChrFilterSize;
414 DEBUG_BUFFERS("vLumFilterSize: %d vLumBufSize: %d vChrFilterSize: %d vChrBufSize: %d\n",
415 vLumFilterSize, vLumBufSize, vChrFilterSize, vChrBufSize);
471 const int firstChrSrcY = FFMAX(1 - vChrFilterSize, vChrFilterPos[chrDstY]);
476 int lastChrSrcY = FFMIN(c->chrSrcH, firstChrSrcY + vChrFilterSize) - 1;
587 vChrFilter += chrDstY * vChrFilterSize;
614 vChrFilterSize, chrUSrcPtr, chrVSrcPtr,
616 } else if (vChrFilterSize == 1) {
621 vChrFilterSize, chrUSrcPtr, dest[1],
624 vChrFilterSize, chrVSrcPtr, dest[2],
644 av_assert1(chrUSrcPtr + vChrFilterSize - 1 < (const int16_t **)chrUPixBuf + vChrBufSize * 2);
646 vChrFilterSize <= 2) { // unscaled RGB
647 int chrAlpha = vChrFilterSize == 1 ? 0 : vChrFilter[2 * dstY + 1];
652 vChrFilterSize == 2) { // bilinear upscale RGB
665 vChrFilter + dstY * vChrFilterSize,
666 chrUSrcPtr, chrVSrcPtr, vChrFilterSize,
673 vChrFilter + dstY * vChrFilterSize,
674 chrUSrcPtr, chrVSrcPtr, vChrFilterSize,