Lines Matching refs:s_AceInfo

274 static StruAceInfo s_AceInfo[XC_ACE_EX_MAX_DEVICE_NUM][2];
277 #define s_AceInfo psACEResPri->stdrvACE.s_AceInfo macro
332 wReturnValue = s_AceInfo[bWindow].wContrast; in msACE_GetInfo()
341 wReturnValue = s_AceInfo[bWindow].wRCon; in msACE_GetInfo()
344 wReturnValue = s_AceInfo[bWindow].wGCon; in msACE_GetInfo()
347 wReturnValue = s_AceInfo[bWindow].wBCon; in msACE_GetInfo()
350 wReturnValue = s_AceInfo[bWindow].ucSaturation; in msACE_GetInfo()
353 wReturnValue = s_AceInfo[bWindow].ucHue; in msACE_GetInfo()
356 if( s_AceInfo[bWindow].psColorCorrectionMatrix != NULL ) in msACE_GetInfo()
358 wReturnValue = s_AceInfo[bWindow].psColorCorrectionMatrix[26]*-1; in msACE_GetInfo()
365 if( s_AceInfo[bWindow].psColorCorrectionMatrix != NULL ) in msACE_GetInfo()
367 wReturnValue = s_AceInfo[bWindow].psColorCorrectionMatrix[27]; in msACE_GetInfo()
374 if( s_AceInfo[bWindow].psColorCorrectionMatrix != NULL ) in msACE_GetInfo()
376 wReturnValue = s_AceInfo[bWindow].psColorCorrectionMatrix[28]*-1; in msACE_GetInfo()
383 if( s_AceInfo[bWindow].psColorCorrectionMatrix != NULL ) in msACE_GetInfo()
385 …wReturnValue = _TransferColorCorrectionOffsetValue(s_AceInfo[bWindow].psColorCorrectionMatrix[29]); in msACE_GetInfo()
391 if( s_AceInfo[bWindow].psColorCorrectionMatrix != NULL ) in msACE_GetInfo()
393 …wReturnValue = _TransferColorCorrectionOffsetValue(s_AceInfo[bWindow].psColorCorrectionMatrix[30]); in msACE_GetInfo()
399 if( s_AceInfo[bWindow].psColorCorrectionMatrix != NULL ) in msACE_GetInfo()
401 …wReturnValue = _TransferColorCorrectionOffsetValue(s_AceInfo[bWindow].psColorCorrectionMatrix[31]); in msACE_GetInfo()
416 wReturnValue = s_AceInfo[bWindow].ucYUVtoRGBMatrixSel; in msACE_GetInfo()
729 if( s_AceInfo[bWindow].ucYUVtoRGBMatrixSel == ACE_YUV_TO_RGB_MATRIX_SDTV ) in msACE_GetMatrix()
733 else if( s_AceInfo[bWindow].ucYUVtoRGBMatrixSel == ACE_YUV_TO_RGB_MATRIX_HDTV ) in msACE_GetMatrix()
737 else if( s_AceInfo[bWindow].ucYUVtoRGBMatrixSel == ACE_YUV_TO_RGB_MATRIX_USER ) in msACE_GetMatrix()
739 if( s_AceInfo[bWindow].psYVUtoRGBMatrix == NULL ) in msACE_GetMatrix()
741 CopyMatrix( (WORD*)s_AceInfo[bWindow].psYVUtoRGBMatrix, pwBuf, ucCopyLen ); in msACE_GetMatrix()
745 if( s_AceInfo[bWindow].psColorCorrectionMatrix == NULL) in msACE_GetMatrix()
747 CopyMatrix( (WORD*)s_AceInfo[bWindow].psColorCorrectionMatrix, pwBuf, ucCopyLen ); in msACE_GetMatrix()
751 if( s_AceInfo[bWindow].psPCsRGBMatrix == NULL) in msACE_GetMatrix()
753 CopyMatrix( (WORD*)s_AceInfo[bWindow].psPCsRGBMatrix, pwBuf, ucCopyLen ); in msACE_GetMatrix()
763 s_AceInfo[bWin].bForceYUVtoRGB = 1; in msACEPCForceYUVtoRGB()
765 s_AceInfo[bWin].bForceYUVtoRGB = 0; in msACEPCForceYUVtoRGB()
773 s_AceInfo[bWindow].ucYUVtoRGBMatrixSel = ucMatrix; in msACESelectYUVtoRGBMatrix()
780 …memcpy(s_AceInfo[bWindow].psYVUtoRGBMatrix,psUserYUVtoRGBMatrix,sizeof(s_AceInfo[bWindow].psYVUtoR… in msACESelectYUVtoRGBMatrix()
795 …memcpy(s_AceInfo[bWindow].psYVUtoRGBMatrix,(short*)tSDTVYuv2rgb,sizeof(s_AceInfo[bWindow].psYVUtoR… in msACESelectYUVtoRGBMatrix()
802 …memcpy(s_AceInfo[bWindow].psYVUtoRGBMatrix,(short*)tHDTVYuv2rgb,sizeof(s_AceInfo[bWindow].psYVUtoR… in msACESelectYUVtoRGBMatrix()
813 …memcpy(s_AceInfo[bWindow].psYVUtoRGBMatrix,(short*)tSDTVYuv2rgb,sizeof(s_AceInfo[bWindow].psYVUtoR… in msACESelectYUVtoRGBMatrix()
820 …memcpy(s_AceInfo[bWindow].psYVUtoRGBMatrix,(short*)tHDTVYuv2rgb,sizeof(s_AceInfo[bWindow].psYVUtoR… in msACESelectYUVtoRGBMatrix()
830 …memcpy(s_AceInfo[bWindow].psYVUtoRGBMatrix,(short*)tSDTVYuv2rgb,sizeof(s_AceInfo[bWindow].psYVUtoR… in msACESelectYUVtoRGBMatrix()
841 memcpy(s_AceInfo[bWindow].psColorCorrectionMatrix,psColorCorrectionTable,sizeof(MS_S16)*32); in msACESetColorCorrectionTable()
901 s_AceInfo[bWin].psPCsRGBMatrix = psPCsRGBTable; in msACESetPCsRGBTable()
911 s_AceInfo[i].wRCon = 1024; in InitACEVar()
912 s_AceInfo[i].wGCon = 1024; in InitACEVar()
913 s_AceInfo[i].wBCon = 1024; in InitACEVar()
914 s_AceInfo[i].wContrast = 1024; in InitACEVar()
915 s_AceInfo[i].ucSaturation = 0x80; in InitACEVar()
916 s_AceInfo[i].ucHue = 50; in InitACEVar()
918 s_AceInfo[i].sContrastRGBMatrix[0][0] = in InitACEVar()
919 s_AceInfo[i].sContrastRGBMatrix[1][1] = in InitACEVar()
920 s_AceInfo[i].sContrastRGBMatrix[2][2] = 1024; in InitACEVar()
921 s_AceInfo[i].sContrastRGBMatrix[0][1] = in InitACEVar()
922 s_AceInfo[i].sContrastRGBMatrix[1][0] = in InitACEVar()
923 s_AceInfo[i].sContrastRGBMatrix[2][0] = in InitACEVar()
924 s_AceInfo[i].sContrastRGBMatrix[0][2] = in InitACEVar()
925 s_AceInfo[i].sContrastRGBMatrix[1][2] = in InitACEVar()
926 s_AceInfo[i].sContrastRGBMatrix[2][1] = 0; in InitACEVar()
928 s_AceInfo[i].sVideoSatHueMatrix[0][0] = in InitACEVar()
929 s_AceInfo[i].sVideoSatHueMatrix[1][1] = in InitACEVar()
930 s_AceInfo[i].sVideoSatHueMatrix[2][2] = 1024; in InitACEVar()
931 s_AceInfo[i].sVideoSatHueMatrix[0][1] = in InitACEVar()
932 s_AceInfo[i].sVideoSatHueMatrix[1][0] = in InitACEVar()
933 s_AceInfo[i].sVideoSatHueMatrix[2][0] = in InitACEVar()
934 s_AceInfo[i].sVideoSatHueMatrix[0][2] = in InitACEVar()
935 s_AceInfo[i].sVideoSatHueMatrix[1][2] = in InitACEVar()
936 s_AceInfo[i].sVideoSatHueMatrix[2][1] = 0; in InitACEVar()
940 s_AceInfo[i].psColorCorrectionMatrix[0] = 0x400; in InitACEVar()
941 s_AceInfo[i].psColorCorrectionMatrix[4] = 0x400; in InitACEVar()
942 s_AceInfo[i].psColorCorrectionMatrix[8] = 0x400; in InitACEVar()
1401 u16Hue = s_AceInfo[bWindow].ucHue; in SetVideoSatHueMatrix()
1403 …u16Hue = ((s_AceInfo[bWindow].ucHue <= 50) ? (50 - s_AceInfo[bWindow].ucHue) : (360-(s_AceInfo[bWi… in SetVideoSatHueMatrix()
1406 sTmp = ((short)s_AceInfo[bWindow].ucSaturation * 8); in SetVideoSatHueMatrix()
1408 s_AceInfo[bWindow].sVideoSatHueMatrix[2][2] = ((((long)cosine(u16Hue) * sTmp))>>10); in SetVideoSatHueMatrix()
1409 s_AceInfo[bWindow].sVideoSatHueMatrix[0][0] = ((( (long)cosine(u16Hue)* sTmp))>>10); in SetVideoSatHueMatrix()
1410 s_AceInfo[bWindow].sVideoSatHueMatrix[2][0] = ((((long)sine(u16Hue) * sTmp))>>10); in SetVideoSatHueMatrix()
1411 s_AceInfo[bWindow].sVideoSatHueMatrix[0][2] = (((-(long)sine(u16Hue) * sTmp))>>10); in SetVideoSatHueMatrix()
1413 s_AceInfo[bWindow].sVideoSatHueMatrix[1][1] = 1024; in SetVideoSatHueMatrix()
1414s_AceInfo[bWindow].sVideoSatHueMatrix[0][1] = s_AceInfo[bWindow].sVideoSatHueMatrix[1][0] = s_AceI… in SetVideoSatHueMatrix()
1420s_AceInfo[bWindow].sContrastRGBMatrix[0][0] = ( (DWORD)s_AceInfo[bWindow].wRCon * (s_AceInfo[bWind… in SetVideoContrastMatrix()
1421s_AceInfo[bWindow].sContrastRGBMatrix[1][1] = ( (DWORD)s_AceInfo[bWindow].wGCon * (s_AceInfo[bWind… in SetVideoContrastMatrix()
1422s_AceInfo[bWindow].sContrastRGBMatrix[2][2] = ( (DWORD)s_AceInfo[bWindow].wBCon * (s_AceInfo[bWind… in SetVideoContrastMatrix()
1529 ColorMatrix_1[i][j]=*(s_AceInfo[bScalerWin].psYVUtoRGBMatrix +(i*3)+j);; in msSetVideoColorMatrix()
1530 ColorMatrix_2[i][j]= s_AceInfo[bScalerWin].sVideoSatHueMatrix[i][j]; in msSetVideoColorMatrix()
1539 …if(( NULL != s_AceInfo[bScalerWin].psColorCorrectionMatrix )&&(DISABLE==g_ACEinitParameters.bHDREn… in msSetVideoColorMatrix()
1546 ColorMatrix_1[i][j]=*(s_AceInfo[bScalerWin].psColorCorrectionMatrix +(i*3)+j); in msSetVideoColorMatrix()
1553 ArrayMultiply( s_AceInfo[bScalerWin].sContrastRGBMatrix, sResultTmp2, sResultTmp1 ); in msSetVideoColorMatrix()
1560 ArrayMultiply( s_AceInfo[bScalerWin].sContrastRGBMatrix, sResultTmp1, sResultTmp2 ); in msSetVideoColorMatrix()
1595 s_AceInfo[bScalerWin].ucSaturation = ucSaturation; in msAdjustHSC()
1596 s_AceInfo[bScalerWin].wContrast = (WORD)ucContrast<<3; in msAdjustHSC()
1597 s_AceInfo[bScalerWin].ucHue = ucHue; in msAdjustHSC()
1619 stAceOSDControl.u16Contrast = s_AceInfo[bScalerWin].wContrast; in msAdjustCFDOSDInfo()
1621 stAceOSDControl.u16Hue = s_AceInfo[bScalerWin].ucHue; in msAdjustCFDOSDInfo()
1623 stAceOSDControl.u16Saturation = s_AceInfo[bScalerWin].ucSaturation; in msAdjustCFDOSDInfo()
1624 if(s_AceInfo[bScalerWin].psYVUtoRGBMatrix != NULL) in msAdjustCFDOSDInfo()
1627 …memcpy(stAceOSDControl.s16YVUtoRGBMatrix, s_AceInfo[bScalerWin].psYVUtoRGBMatrix, sizeof(short)*9); in msAdjustCFDOSDInfo()
1632 stAceOSDControl.u16R = s_AceInfo[bScalerWin].wRCon; in msAdjustCFDOSDInfo()
1633 stAceOSDControl.u16G = s_AceInfo[bScalerWin].wGCon; in msAdjustCFDOSDInfo()
1634 stAceOSDControl.u16B = s_AceInfo[bScalerWin].wBCon; in msAdjustCFDOSDInfo()
1715 s_AceInfo[bScalerWin].wContrast = (WORD)ucContrast<<3; in msAdjustVideoContrast()
1723 s_AceInfo[bScalerWin].wContrast = wContrast<<1; in msAdjustVideoContrast_10Bits()
1732 s_AceInfo[bScalerWin].ucSaturation = ucSaturation; in msAdjustVideoSaturation()
1740 s_AceInfo[bScalerWin].ucHue = ucHue; in msAdjustVideoHue()
1747 s_AceInfo[bScalerWin].wRCon = (WORD)ucRCon<<3; in msAdjustVideoRGB()
1748 s_AceInfo[bScalerWin].wGCon = (WORD)ucGCon<<3; in msAdjustVideoRGB()
1749 s_AceInfo[bScalerWin].wBCon = (WORD)ucBCon<<3; in msAdjustVideoRGB()
1756 s_AceInfo[bScalerWin].wRCon = wRCon<<1; in msAdjustVideoRGB_10Bits()
1757 s_AceInfo[bScalerWin].wGCon = wGCon<<1; in msAdjustVideoRGB_10Bits()
1758 s_AceInfo[bScalerWin].wBCon = wBCon<<1; in msAdjustVideoRGB_10Bits()
1766s_AceInfo[bWindow].sContrastRGBMatrix[0][0] = ( (DWORD)s_AceInfo[bWindow].wRCon * (s_AceInfo[bWind… in SetPCConRGBMatrix()
1767s_AceInfo[bWindow].sContrastRGBMatrix[1][1] = ( (DWORD)s_AceInfo[bWindow].wGCon * (s_AceInfo[bWind… in SetPCConRGBMatrix()
1768s_AceInfo[bWindow].sContrastRGBMatrix[2][2] = ( (DWORD)s_AceInfo[bWindow].wBCon * (s_AceInfo[bWind… in SetPCConRGBMatrix()
1793 psOutTab = (short*)s_AceInfo[bScalerWin].sContrastRGBMatrix; in msSetPCColorMatrix()
1796 if( (s_AceInfo[bScalerWin].bForceYUVtoRGB) || (bScalerWin == SUB_WINDOW) ) in msSetPCColorMatrix()
1803 ColorMatrix_1[i][j]=*(s_AceInfo[bScalerWin].psYVUtoRGBMatrix +(i*3)+j);; in msSetPCColorMatrix()
1806 ArrayMultiply( s_AceInfo[bScalerWin].sContrastRGBMatrix, ColorMatrix_1, sResultTmp1 ); in msSetPCColorMatrix()
1820 if( s_AceInfo[bScalerWin].psPCsRGBMatrix != NULL ) in msSetPCColorMatrix()
1827 ColorMatrix_1[i][j]=*(s_AceInfo[bScalerWin].psPCsRGBMatrix +(i*3)+j);; in msSetPCColorMatrix()
1866 s_AceInfo[bScalerWin].wContrast = (WORD)ucContrast<<3; in msAdjustPCContrast()
1873 s_AceInfo[bScalerWin].wContrast = wContrast<<1; in msAdjustPCContrast_10Bits()
1881 s_AceInfo[bScalerWin].wRCon = (WORD)ucRed<<3; in msAdjustPCRGB()
1882 s_AceInfo[bScalerWin].wGCon = (WORD)ucGreen<<3; in msAdjustPCRGB()
1883 s_AceInfo[bScalerWin].wBCon = (WORD)ucBlue<<3; in msAdjustPCRGB()
1890 s_AceInfo[bScalerWin].wRCon = wRed<<1; in msAdjustPCRGB_10Bits()
1891 s_AceInfo[bScalerWin].wGCon = wGreen<<1; in msAdjustPCRGB_10Bits()
1892 s_AceInfo[bScalerWin].wBCon = wBlue<<1; in msAdjustPCRGB_10Bits()
2075 CopyMatrix( u16Regs,(WORD*)s_AceInfo[MAIN_WINDOW].psYVUtoRGBMatrix ,ucCopyLen ); in msACE_HDR_YUV2RGBGen()
2090 CopyMatrix( s16PreRegs,(WORD*)s_AceInfo[MAIN_WINDOW].psYVUtoRGBMatrix ,ucCopyLen ); in msACE_HDR_Set3x3Gen()
2106 CopyMatrix( (WORD*)s_AceInfo[MAIN_WINDOW].psYVUtoRGBMatrix,s16PreRegs ,ucCopyLen ); in msACE_HDR_Set3x3Gen()