Lines Matching refs:pOverlay
642 SetOverlayReg(XGIPtr pXGI, XGIOverlayPtr pOverlay)
655 top = pOverlay->dstBox.y1;
656 bottom = pOverlay->dstBox.y2;
661 left = pOverlay->dstBox.x1;
662 right = pOverlay->dstBox.x2;
676 SetVideoRegMask(pXGI, Index_VI_Contrast_Enh_Ctrl, pOverlay->dwContrastFactor << 6, 0xc0);
677 SetVideoReg(pXGI, Index_VI_Contrast_Factor, pOverlay->SamplePixel);
682 SetMergeLineBufReg(pXGI, pOverlay->pitch > pPriv->linebufMergeLimit);
685 SetVideoFormatReg(pXGI, pOverlay->pixelFormat);
688 SetVideoReg(pXGI, Index_VI_Line_Buffer_Size, LOBYTE(LOWORD(pOverlay->lineBufSize)));
689 SetVideoReg(pXGI, Index_VI_Line_Buffer_Size_Ext, HIBYTE(LOWORD(pOverlay->lineBufSize)));
692 SetVideoRegMask (pXGI, Index_VI_Key_Overlay_OP, pOverlay->keyOP, 0x0f);
696 SetVideoReg (pXGI, Index_VI_Hor_Post_Up_Scale_Low, LOBYTE(pOverlay->HUSF));
697 SetVideoReg (pXGI, Index_VI_Hor_Post_Up_Scale_High, HIBYTE(pOverlay->HUSF));
699 SetVideoReg (pXGI, Index_VI_Ver_Up_Scale_Low, LOBYTE(pOverlay->VUSF));
700 SetVideoReg (pXGI, Index_VI_Ver_Up_Scale_High, HIBYTE(pOverlay->VUSF));
702 SetVideoRegMask (pXGI, Index_VI_Scale_Control, (pOverlay->IntBit << 3)|(pOverlay->wHPre), 0x7f);
705 SetDDAReg(pXGI, pOverlay->f_scale);
708 SetVideoRegMask(pXGI, Index_VI_Control_Misc1, pOverlay->bobEnable, 0x1a);
711 PSY = pOverlay->PSY >>1; /* in unit of word */
717 tmpYPitch = pOverlay->pitch >> 1 ; /* in unit of word */
719 if ((pOverlay->pixelFormat == PIXEL_FMT_YV12) ||
720 (pOverlay->pixelFormat == PIXEL_FMT_NV12) ||
721 (pOverlay->pixelFormat == PIXEL_FMT_NV21))
727 if(pOverlay->pixelFormat == PIXEL_FMT_YV12)
738 PSU = pOverlay->PSU >> 1; /* in unit of word; */
739 PSV = pOverlay->PSV >> 1; /* in unit of word;; */
752 tmpYPitch = pOverlay->pitch >> 1; /* in unit of word */
768 /* SetVideoRegMask(pXGI, Index_VI_Contrast_Enh_Ctrl, pOverlay->contrastCtrl<<6, 0xc0); */
769 /* SetVideoReg (pXGI, Index_VI_Contrast_Factor, pOverlay->contrastFactor); */