Lines Matching +full:video +full:- +full:scaler

2  *  linux/drivers/video/kyro/STG4000OverlayDevice.c
57 /*clipped on-screen pixel position of overlay */
69 /* on-screen pixel position of overlay */
152 return -EINVAL; in CreateOverlaySurface()
155 /* Stride in 16 byte words - 16Bpp */ in CreateOverlaySurface()
226 * Make sure that LUT not used - ?????? in CreateOverlaySurface()
280 return -EINVAL; in SetOverlayBlendMode()
296 /* Set video stream control */ in EnableOverlayPlane()
298 tmp |= SET_BIT(1); /* video stream */ in EnableOverlayPlane()
309 ulBits--; in Overlap()
348 srcDest.ulSrcX2 = ovlWidth - 1; in SetOverlayViewPort()
349 srcDest.ulSrcY2 = ovlHeight - 1; in SetOverlayViewPort()
367 ulSrc = ulSrcBottom - ulSrcTop; in SetOverlayViewPort()
368 ulDest = srcDest.lDstY2 - srcDest.lDstY1; /* on-screen overlay */ in SetOverlayViewPort()
371 return -EINVAL; in SetOverlayViewPort()
377 ulFxOffset = (srcDest.lDstY2 - srcDest.ulDstY2) << 11; in SetOverlayViewPort()
379 ulSrcBottom = ulSrcBottom - (ulFxOffset / ulFxScale); in SetOverlayViewPort()
380 ulSrc = ulSrcBottom - ulSrcTop; in SetOverlayViewPort()
383 ulDest = srcDest.ulDstY2 - (srcDest.ulDstY1 - 1); in SetOverlayViewPort()
388 ulDecimate = ulSrc - ulDest; in SetOverlayViewPort()
401 ulSrc = ulSrc - ulDecimated; /* the number number of lines that will go into the scaler */ in SetOverlayViewPort()
405 …ulVertDecFactor = (63 - ulBits) / (32 - ulBits); /* vertical decimation factor scaled up to neares… in SetOverlayViewPort()
410 ulDacYScale = ((ulSrc - 1) * 2048) / (ulDest + 1); in SetOverlayViewPort()
431 ulSrc = srcDest.ulSrcX2 - srcDest.ulSrcX1; in SetOverlayViewPort()
432 ulDest = srcDest.lDstX2 - srcDest.lDstX1; in SetOverlayViewPort()
450 return -EINVAL; in SetOverlayViewPort()
453 ulFxScale = ((ulSrc - 1) << 11) / (ulDest); in SetOverlayViewPort()
456 ulFxOffset = ulFxScale * ((srcDest.ulDstX1 - srcDest.lDstX1) + ulClipOff); in SetOverlayViewPort()
463 ulFxOffset = ulFxScale * (srcDest.lDstX2 - srcDest.ulDstX2); in SetOverlayViewPort()
466 ulSrcRight = srcDest.ulSrcX2 - ulFxOffset; in SetOverlayViewPort()
474 /* shift fxscale until it is in the range of the scaler */ in SetOverlayViewPort()
476 ulScale = (((ulSrcRight - ulSrcLeft) - 1) << (11 - ulhDecim)) / (ulRight - ulLeft + 2); in SetOverlayViewPort()
480 ulScale = (((ulSrcRight - ulSrcLeft) - 1) << (11 - ulhDecim)) / (ulRight - ulLeft + 2); in SetOverlayViewPort()
485 * src/dwdest for the scale factor, then we move onto src-1 in SetOverlayViewPort()
510 ulWidth = ulSrcRight - ulSrcLeft; in SetOverlayViewPort()
522 /* input pixels to scaler; */ in SetOverlayViewPort()
526 return -EINVAL; in SetOverlayViewPort()
528 ulExcessPixels = ((((ulScaleLeft - ulSrcLeft)) << (11 - ulhDecim)) / ulScale); in SetOverlayViewPort()
531 ulClip -= (ulRight - ulLeft); in SetOverlayViewPort()
535 ulClip--; in SetOverlayViewPort()
569 (((ulWidth / 8) - 1) << 23)); in SetOverlayViewPort()
573 (((ulWidth / 32) - 1) << 23)); in SetOverlayViewPort()
578 /* Set Video Window Start */ in SetOverlayViewPort()
582 /* Set Video Window End */ in SetOverlayViewPort()