Lines Matching defs:srcHeight
459 unsigned long srcHeight =
483 if (srcHeight > dstHeight)
485 * dstHeight / srcHeight) * srcPitch;
536 unsigned long srcHeight)
542 YCbCr.dwCB = startAddr + srcPitch * srcHeight;
543 YCbCr.dwCR = (startAddr + srcPitch * srcHeight
544 + srcPitch * (srcHeight >> 2));
547 YCbCr.dwCB = startAddr + srcPitch * srcHeight + UVoffset;
548 YCbCr.dwCR = (startAddr + srcPitch * srcHeight + UVoffset
549 + srcPitch * (srcHeight >> 2));
671 unsigned long srcHeight, unsigned long dstHeight,
691 if (srcHeight == dstHeight) { /* No zoom */
693 } else if (srcHeight < dstHeight) { /* Zoom in */
695 tmp = srcHeight * 0x400 / dstHeight - 1;
701 } else { /* srcHeight > dstHeight - Zoom out */
704 tmp = srcHeight * 0x2000 / ((dstHeight << 1) + 1);
713 * //tmp = dstHeight*0x0800 / srcHeight; */
714 tmp = dstHeight * 0x0800 * 0x400 / srcHeight;
720 sh1 = srcHeight;
1651 SetHQVFetch(VIAPtr pVia, CARD32 srcFetch, unsigned long srcHeight)
1665 ((srcFetch - 1) << 16) | (srcHeight - 1));
1682 unsigned long srcWidth, unsigned long srcHeight)
1698 (srcHeight << 16) | DisplayCount);
1802 unsigned long srcWidth, srcHeight, dstWidth, dstHeight;
1845 srcHeight = (unsigned long)pUpdate->SrcBottom - pUpdate->SrcTop;
1847 DBG_DD(ErrorF("===srcHeight= %ld \n", srcHeight));
2036 srcHeight /= 2;
2045 srcHeight <<= 1;
2055 SetDisplayCount(pVia, videoFlag, srcWidth, srcHeight);
2057 if (!viaOverlayHQVCalcZoomHeight(pVia, srcHeight, dstHeight, &zoomCtl,
2078 if (srcHeight >= pVia->swov.maxHInterp)
2099 if (srcHeight == dstHeight)