Lines Matching defs:srcWidth

455     unsigned long srcWidth =
489 if (srcWidth > dstWidth)
491 * dstWidth / srcWidth);
556 unsigned long videoFlag, unsigned long srcWidth,
576 if (srcWidth == dstWidth) { /* No zoom */
578 } else if (srcWidth < dstWidth) { /* Zoom in */
580 tmp = srcWidth * 0x800 / dstWidth;
587 } else { /* srcWidth > dstWidth - Zoom out */
589 if (srcWidth > (dstWidth << 3)) {
595 if (srcWidth > (dstWidth << 5)) {
598 tmp = (dstWidth * 0x1000) / srcWidth;
602 } else if (srcWidth == (dstWidth << 3)) {
604 tmp = ((dstWidth - 1) * 0x1000) / srcWidth;
606 } else if (srcWidth > (dstWidth << 2)) {
608 tmp = (srcWidth * 0x1000) / dstWidth;
613 tmp = (srcWidth * 0x2000) / ((dstWidth << 1) + 1);
622 * //tmp = dstWidth*0x0800 / srcWidth; */
623 tmp = dstWidth * 0x800 * 0x400 / srcWidth;
632 sw1 = srcWidth;
751 unsigned long srcWidth, unsigned long dstWidth,
788 if (dstWidth >= srcWidth)
789 fetch = (ALIGN_TO(srcWidth << n, 16) >> 4) + 1;
794 fetch = (ALIGN_TO(srcWidth, 32) >> 4);
796 fetch = (ALIGN_TO(srcWidth << n, 16) >> 4) + 1;
1506 unsigned long miniCtl, unsigned long srcWidth)
1519 if (srcWidth <= 80) { /* Fetch count <= 5 */
1536 if (srcWidth <= 8)
1553 if (srcWidth <= 80) { /* Fetch count <= 5 */
1570 if (srcWidth <= 8)
1682 unsigned long srcWidth, unsigned long srcHeight)
1692 DisplayCount = srcWidth - 1;
1694 DisplayCount = srcWidth - pVia->swov.overlayRecordV1.dwminifyH;
1802 unsigned long srcWidth, srcHeight, dstWidth, dstHeight;
1844 srcWidth = (unsigned long)pUpdate->SrcRight - pUpdate->SrcLeft;
1846 DBG_DD(ErrorF("===srcWidth= %ld \n", srcWidth));
1948 srcWidth, dstWidth, oriSrcWidth, &hqvSrcFetch);
2018 if (!viaOverlayHQVCalcZoomWidth(pVia, videoFlag, srcWidth, dstWidth,
2055 SetDisplayCount(pVia, videoFlag, srcWidth, srcHeight);
2066 SetupFIFOs(pVia, videoFlag, miniCtl, srcWidth);
2087 if (srcWidth >= pVia->swov.maxWInterp)