Lines Matching defs:pXGI
361 set_maxencoding(XGIPtr pXGI, XGIPortPrivPtr pPriv)
370 XGIPtr pXGI = XGIPTR(pScrn);
373 XGIUpdateXvGamma(pXGI, pPriv);
390 XGIPtr pXGI = XGIPTR(pScrn);
445 pXGI->v4l_devnum = 0; //::::test 93-4-1
446 sprintf(pPriv->devname, "/dev/video%d", pXGI->v4l_devnum);
496 pXGI->adaptor = adapt;
497 pXGI->xvBrightness = MAKE_ATOM(xgixvbrightness);
498 pXGI->xvContrast = MAKE_ATOM(xgixvcontrast);
499 pXGI->xvColorKey = MAKE_ATOM(xgixvcolorkey);
500 pXGI->xvSaturation = MAKE_ATOM(xgixvsaturation);
501 pXGI->xvHue = MAKE_ATOM(xgixvhue);
502 pXGI->xvGammaRed = MAKE_ATOM(xgixvgammared);
503 pXGI->xvGammaGreen = MAKE_ATOM(xgixvgammagreen);
504 pXGI->xvGammaBlue = MAKE_ATOM(xgixvgammablue);
510 if(pXGI->VBFlags) {
512 SetSRRegMask(pXGI, Index_SR_Graphic_Mode, 0x00, 0xc0); /* Only ovelray in CRT1*/
513 SetSRRegMask(pXGI, Index_SR_Ext_Clock_Sel, 0x00, 0xc0);
517 SetSRRegMask(pXGI, Index_SR_Graphic_Mode, 0x00, 0xc0);
518 SetSRRegMask(pXGI, Index_SR_Ext_Clock_Sel, 0x00, 0xc0);
521 set_maxencoding(pXGI, pPriv);
525 pXGI->ResetXv = XGIResetVideo;
526 pXGI->ResetXvGamma = XGIResetXvGamma;
540 XGIPtr pXGI = XGIPTR(pScrn);
544 if (attribute == pXGI->xvBrightness) {
549 SetVideoBrightnessReg(pXGI, value);
551 else if (attribute == pXGI->xvContrast) {
556 SetVideoContrastReg(pXGI, value);
558 else if (attribute == pXGI->xvSaturation){
563 SetVideoSaturationReg(pXGI, value);
565 else if (attribute == pXGI->xvHue){
570 SetVideoHueReg(pXGI, value);
572 else if (attribute == pXGI->xvColorKey) {
575 } else if(attribute == pXGI->xvGammaRed) {
579 pXGI->XvGammaRed = value;
580 XGIUpdateXvGamma(pXGI, pPriv);
581 } else if(attribute == pXGI->xvGammaGreen) {
585 pXGI->XvGammaGreen = value;
586 XGIUpdateXvGamma(pXGI, pPriv);
587 } else if(attribute == pXGI->xvGammaBlue) {
591 pXGI->XvGammaBlue = value;
592 XGIUpdateXvGamma(pXGI, pPriv);
648 XGIPtr pXGI = XGIPTR(pScrn);
650 if (attribute == pXGI->xvBrightness) {
653 else if (attribute == pXGI->xvContrast) {
656 else if (attribute == pXGI->xvSaturation) {
659 else if (attribute == pXGI->xvHue) {
662 } else if(attribute == pXGI->xvGammaRed) {
663 *value = pXGI->XvGammaRed;
665 } else if(attribute == pXGI->xvGammaGreen) {
666 *value = pXGI->XvGammaGreen;
668 } else if(attribute == pXGI->xvGammaBlue) {
669 *value = pXGI->XvGammaBlue;
672 else if (attribute == pXGI->xvColorKey) {
825 set_contrast_factor(XGIPtr pXGI, XGIOverlayPtr pOverlay)
827 ScrnInfoPtr pScrn = pXGI->pScrn;
917 XGIPtr pXGI = XGIPTR(pScrn);
1013 set_contrast_factor(pXGI, &overlay);
1015 SetSelectOverlayReg(pXGI, 0x00);
1017 SetColorkeyReg(pXGI, pPriv->colorKey);
1020 SetOverlayReg(pXGI, &overlay);
1023 SetEnableOverlayReg(pXGI, TRUE);
1031 XGIPtr pXGI = XGIPTR(pScrn);
1038 SetEnableOverlayReg(pXGI, FALSE);
1050 EnableCaptureAutoFlip(pXGI, FALSE);
1087 XGIPtr pXGI = XGIPTR(pScrn);
1093 /* int depth = pXGI->CurrentLayout.bitsPerPixel >> 3; */
1190 if((pXGI->XvUseMemcpy) || (totalSize < 16)) {
1192 memcpy(pXGI->FbBase + pPriv->bufAddr[pPriv->currentBuf], buf, totalSize);
1203 Y = (BYTE *)(pXGI->FbBase + pPriv->bufAddr[pPriv->currentBuf]);
1295 Y = (BYTE *)(pXGI->FbBase + pPriv->bufAddr[pPriv->currentBuf]);
1374 BYTE *Base = (BYTE *)(pXGI->FbBase + pPriv->bufAddr[pPriv->currentBuf]);
1411 memcpy(pXGI->FbBase + pPriv->bufAddr[pPriv->currentBuf], buf, totalSize);
1421 BYTE *Base = (BYTE *)(pXGI->FbBase + pPriv->bufAddr[pPriv->currentBuf]);
1434 Y = (BYTE *)(pXGI->FbBase + pPriv->bufAddr[pPriv->currentBuf]);
1487 Y = (BYTE *)(pXGI->FbBase + pPriv->bufAddr[pPriv->currentBuf]);
1530 BYTE *Base = (BYTE *)(pXGI->FbBase + pPriv->bufAddr[pPriv->currentBuf]);
1550 BYTE *Base = (BYTE *)(pXGI->FbBase + pPriv->bufAddr[pPriv->currentBuf]);
1662 /* XGIPtr pXGI = XGIPTR(pScrn); */
1672 //EnableCaptureAutoFlip(pXGI, TRUE);