Lines Matching refs:bWindow

321 WORD msACE_GetInfo(void* pInstance, BOOL bWindow, EnuACEInfoType ucInfoType )  in msACE_GetInfo()  argument
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()
491 MDrv_ACE_GetIHC(pInstance, bWindow, eIHC, &u8Val); in msACE_GetInfo()
569 MDrv_ACE_GetICC(pInstance, bWindow, eICC, &u8Val); in msACE_GetInfo()
646 MDrv_ACE_GetIBC(pInstance, bWindow, eIBC, &u8Val); in msACE_GetInfo()
715 BOOL msACE_GetMatrix(void* pInstance, BOOL bWindow, BYTE ucMatrixId, WORD* pwBuf, BYTE ucBufLen) in msACE_GetMatrix() argument
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()
767 void msACESelectYUVtoRGBMatrix(void* pInstance, BOOL bWindow, BYTE ucMatrix, short* psUserYUVtoRGBM… in msACESelectYUVtoRGBMatrix() argument
773 s_AceInfo[bWindow].ucYUVtoRGBMatrixSel = ucMatrix; in msACESelectYUVtoRGBMatrix()
780 …memcpy(s_AceInfo[bWindow].psYVUtoRGBMatrix,psUserYUVtoRGBMatrix,sizeof(s_AceInfo[bWindow].psYVUtoR… in msACESelectYUVtoRGBMatrix()
787 if(bWindow==0) // 0: main, 1:sub 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()
836 void msACESetColorCorrectionTable(void* pInstance, BOOL bWindow, short* psColorCorrectionTable ) in msACESetColorCorrectionTable() argument
841 memcpy(s_AceInfo[bWindow].psColorCorrectionMatrix,psColorCorrectionTable,sizeof(MS_S16)*32); in msACESetColorCorrectionTable()
851 stAceOSDControl.u8Win = (bWindow==TRUE)?1:0; in msACESetColorCorrectionTable()
1394 static void SetVideoSatHueMatrix(void *pInstance, BOOL bWindow ) in SetVideoSatHueMatrix() argument
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()
1414 …nfo[bWindow].sVideoSatHueMatrix[0][1] = s_AceInfo[bWindow].sVideoSatHueMatrix[1][0] = s_AceInfo[bW… in SetVideoSatHueMatrix()
1417 static void SetVideoContrastMatrix(void *pInstance, BOOL bWindow ) in SetVideoContrastMatrix() argument
1420 …s_AceInfo[bWindow].sContrastRGBMatrix[0][0] = ( (DWORD)s_AceInfo[bWindow].wRCon * (s_AceInfo[bWind… in SetVideoContrastMatrix()
1421 …s_AceInfo[bWindow].sContrastRGBMatrix[1][1] = ( (DWORD)s_AceInfo[bWindow].wGCon * (s_AceInfo[bWind… in SetVideoContrastMatrix()
1422 …s_AceInfo[bWindow].sContrastRGBMatrix[2][2] = ( (DWORD)s_AceInfo[bWindow].wBCon * (s_AceInfo[bWind… in SetVideoContrastMatrix()
1442 static void msWriteColorMatrix(void *pInstance, BOOL bWindow, short* psMatrix ) in msWriteColorMatrix() argument
1453 if( bWindow == MAIN_WINDOW ) in msWriteColorMatrix()
1763 static void SetPCConRGBMatrix(void *pInstance, BOOL bWindow ) in SetPCConRGBMatrix() argument
1766 …s_AceInfo[bWindow].sContrastRGBMatrix[0][0] = ( (DWORD)s_AceInfo[bWindow].wRCon * (s_AceInfo[bWind… in SetPCConRGBMatrix()
1767 …s_AceInfo[bWindow].sContrastRGBMatrix[1][1] = ( (DWORD)s_AceInfo[bWindow].wGCon * (s_AceInfo[bWind… in SetPCConRGBMatrix()
1768 …s_AceInfo[bWindow].sContrastRGBMatrix[2][2] = ( (DWORD)s_AceInfo[bWindow].wBCon * (s_AceInfo[bWind… in SetPCConRGBMatrix()