Lines Matching refs:srcDest
321 OVRL_SRC_DEST srcDest; in SetOverlayViewPort() local
346 srcDest.ulSrcX1 = 0; in SetOverlayViewPort()
347 srcDest.ulSrcY1 = 0; in SetOverlayViewPort()
348 srcDest.ulSrcX2 = ovlWidth - 1; in SetOverlayViewPort()
349 srcDest.ulSrcY2 = ovlHeight - 1; in SetOverlayViewPort()
351 srcDest.ulDstX1 = left; in SetOverlayViewPort()
352 srcDest.ulDstY1 = top; in SetOverlayViewPort()
353 srcDest.ulDstX2 = right; in SetOverlayViewPort()
354 srcDest.ulDstY2 = bottom; in SetOverlayViewPort()
356 srcDest.lDstX1 = srcDest.ulDstX1; in SetOverlayViewPort()
357 srcDest.lDstY1 = srcDest.ulDstY1; in SetOverlayViewPort()
358 srcDest.lDstX2 = srcDest.ulDstX2; in SetOverlayViewPort()
359 srcDest.lDstY2 = srcDest.ulDstY2; in SetOverlayViewPort()
364 ulSrcTop = srcDest.ulSrcY1; in SetOverlayViewPort()
365 ulSrcBottom = srcDest.ulSrcY2; in SetOverlayViewPort()
368 ulDest = srcDest.lDstY2 - srcDest.lDstY1; /* on-screen overlay */ in SetOverlayViewPort()
377 ulFxOffset = (srcDest.lDstY2 - srcDest.ulDstY2) << 11; in SetOverlayViewPort()
383 ulDest = srcDest.ulDstY2 - (srcDest.ulDstY1 - 1); in SetOverlayViewPort()
431 ulSrc = srcDest.ulSrcX2 - srcDest.ulSrcX1; in SetOverlayViewPort()
432 ulDest = srcDest.lDstX2 - srcDest.lDstX1; in SetOverlayViewPort()
434 ulLeft = srcDest.ulDstX1; in SetOverlayViewPort()
435 ulRight = srcDest.ulDstX2; in SetOverlayViewPort()
437 if (srcDest.ulDstX1 > 2) { in SetOverlayViewPort()
438 ulLeft = srcDest.ulDstX1 + 2; in SetOverlayViewPort()
439 ulRight = srcDest.ulDstX2 + 1; in SetOverlayViewPort()
441 ulLeft = srcDest.ulDstX1; in SetOverlayViewPort()
442 ulRight = srcDest.ulDstX2 + 1; in SetOverlayViewPort()
456 ulFxOffset = ulFxScale * ((srcDest.ulDstX1 - srcDest.lDstX1) + ulClipOff); in SetOverlayViewPort()
460 ulSrcLeft = srcDest.ulSrcX1 + ulFxOffset; in SetOverlayViewPort()
463 ulFxOffset = ulFxScale * (srcDest.lDstX2 - srcDest.ulDstX2); in SetOverlayViewPort()
466 ulSrcRight = srcDest.ulSrcX2 - ulFxOffset; in SetOverlayViewPort()
579 tmp = ((ulLeft << 16)) | (srcDest.ulDstY1); in SetOverlayViewPort()
583 tmp = ((ulRight) << 16) | (srcDest.ulDstY2); in SetOverlayViewPort()