Lines Matching defs:dstWidth
457 unsigned long dstWidth =
489 if (srcWidth > dstWidth)
491 * dstWidth / srcWidth);
557 unsigned long dstWidth, unsigned long *pZoomCtl,
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)) {
592 if (dstWidth <= 32) {
593 dstWidth = 33;
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;
635 if (sw1 <= dstWidth)
651 if (sw1 < dstWidth) {
653 *pZoomCtl = sw1 * 0x0800 / dstWidth;*/
654 *pZoomCtl = (sw1 - 2) * 0x0800 / dstWidth;
751 unsigned long srcWidth, unsigned long dstWidth,
788 if (dstWidth >= srcWidth)
791 fetch = (ALIGN_TO(dstWidth << n, 16) >> 4) + 1;
1802 unsigned long srcWidth, srcHeight, dstWidth, dstHeight;
1832 dstWidth = pUpdate->DstRight - pUpdate->DstLeft;
1838 dstWidth *= hfactor;
1841 pVia->swov.overlayRecordV1.dwWidth = dstWidth;
1948 srcWidth, dstWidth, oriSrcWidth, &hqvSrcFetch);
2018 if (!viaOverlayHQVCalcZoomWidth(pVia, videoFlag, srcWidth, dstWidth,