📄 drvace.h
字号:
////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2006-2007 MStar Semiconductor, Inc.
// All rights reserved.
//
// Unless otherwise stipulated in writing, any and all information contained
// herein regardless in any format shall remain the sole proprietary of
// MStar Semiconductor Inc. and be kept in strict confidence
// (¨MStar Confidential Information〃) by the recipient.
// Any unauthorized act including without limitation unauthorized disclosure,
// copying, use, reproduction, sale, distribution, modification, disassembling,
// reverse engineering and compiling of the contents of MStar Confidential
// Information is unlawful and strictly prohibited. MStar hereby reserves the
// rights to any and all damages, losses, costs and expenses resulting therefrom.
//
////////////////////////////////////////////////////////////////////////////////
#ifndef DRV_ACE_H
#define DRV_ACE_H
#include "DataType.h"
#include "Analog_Reg.h"
#include "drvGlobal.h"
#include "board.h"
#include "Panel.h"
#ifdef DRV_ACE_C
#define INTERFACE
#else
#define INTERFACE extern
#endif
/******************************************************************************/
/* Function Prototypes */
/******************************************************************************/
INTERFACE U8 MDrv_ACE_GetVersion();
INTERFACE void MDrv_ACE_EnableICC(BOOLEAN bEnable);
INTERFACE void MDrv_ACE_Init( void );
INTERFACE void MDrv_ACE_Init_Variable( void );
INTERFACE void MDrv_ACE_Set_Matrix(short s16SRGB[3][3], short s16ColorCorrection[3][3]);
INTERFACE void MDrv_ACE_AdjustPCContrast( U8 u8Contrast );
INTERFACE void MDrv_ACE_AdjustVideoContrast( U8 u8Contrast );
INTERFACE void MDrv_ACE_AdjustPCRGB( U8 u8Red, U8 u8Green, U8 u8Blue );
INTERFACE void MDrv_ACE_AdjustVideoRGB( U8 u8Red, U8 u8Green, U8 u8Blue );
INTERFACE void MDrv_ACE_AdjustVideoHue( U8 u8Hue );
INTERFACE void MDrv_ACE_AdjustVideoSaturation( U8 u8Saturation );
INTERFACE void MDrv_ACE_AdjustHSC( U8 u8Hue, U8 u8Saturation, U8 u8Contrast );
INTERFACE void MDrv_ACE_AdjustSharpness( U8 u8Sharpness );
INTERFACE void MDrv_ACE_Set_GammaTbl( U16 *pGammaR, U16 *pGammaG, U16 *pGammaB );
INTERFACE void MDrv_ACE_Get_GammaTbl( U16 *pGammaR, U16 *pGammaG, U16 *pGammaB );
INTERFACE void MDrv_ACE_Set_Gamma( BOOLEAN bEnable );
INTERFACE void MDrv_ACE_GammaOnOff( BOOLEAN bOnOff );
INTERFACE void MDrv_ACE_PCForceYUVtoRGB( BOOLEAN bEnable );
INTERFACE void MDrv_ACE_PCUsesRGB( BOOLEAN bEnable );
// sRGB matrix for PC
// this variable must pointer to a array[3][3]
INTERFACE S16 * pSrgbMatrix;
// Color correction matrix for Video
// this variable must pointer to a array[3][3]
INTERFACE S16 * pColorCorrectionMatrix;
#undef INTERFACE
extern code MS_REG_TYPE astVIDEO_ACE_Setting[];
extern code MS_REG_TYPE astTV_ACE_Setting[];
extern code MS_REG_TYPE astYPBPR_ACE_Setting[];
extern code MS_REG_TYPE astDTV_ACE_Setting[];
extern code MS_REG_TYPE astHDTV_ACE_Setting[];
extern code MS_REG_TYPE astSDTV_ACE_Setting[] ;
#endif // DRV_ACE_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -