⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 color_au07_at.h

📁 mstar 776 开发的车载dvd
💻 H
字号:

#ifndef _COLOR_AU07_AT_H_
#define _COLOR_AU07_AT_H_

#ifndef ENABLE_GAMMA
#define ENABLE_GAMMA DISABLE
#endif
//------------------------------------------------------------------------------
// Color Register Version
//------------------------------------------------------------------------------
#define COLOR_REGISTER_VERSION  COLOR_REGISTER_VER_02

//------------------------------------------------------------------------------
// Color Temperature
//------------------------------------------------------------------------------
#define INIT_PC_COLOR_TEMP_NORMAL_R     0x70
#define INIT_PC_COLOR_TEMP_NORMAL_G     0x6E
#define INIT_PC_COLOR_TEMP_NORMAL_B     0x80

#define INIT_PC_COLOR_TEMP_WARM_R       0x7A
#define INIT_PC_COLOR_TEMP_WARM_G       0x76
#define INIT_PC_COLOR_TEMP_WARM_B       0x78

#define INIT_PC_COLOR_TEMP_COOL_R       0x6E
#define INIT_PC_COLOR_TEMP_COOL_G       0x68
#define INIT_PC_COLOR_TEMP_COOL_B       0x80

#define INIT_PC_COLOR_TEMP_SRGB_R       0x80
#define INIT_PC_COLOR_TEMP_SRGB_G       0x80
#define INIT_PC_COLOR_TEMP_SRGB_B       0x80

#define INIT_PC_COLOR_TEMP_USER_R       0x80
#define INIT_PC_COLOR_TEMP_USER_G       0x80
#define INIT_PC_COLOR_TEMP_USER_B       0x80

#define INIT_VIDEO_COLOR_TEMP_COOL_R    0x82
#define INIT_VIDEO_COLOR_TEMP_COOL_G    0x80
#define INIT_VIDEO_COLOR_TEMP_COOL_B    0x84

#define INIT_VIDEO_COLOR_TEMP_NORMAL_R  0x75
#define INIT_VIDEO_COLOR_TEMP_NORMAL_G  0x74
#define INIT_VIDEO_COLOR_TEMP_NORMAL_B  0x80

#define INIT_VIDEO_COLOR_TEMP_WARM_R    0x79
#define INIT_VIDEO_COLOR_TEMP_WARM_G    0x76
#define INIT_VIDEO_COLOR_TEMP_WARM_B    0x78

#define INIT_VIDEO_COLOR_TEMP_USER_R    0x80
#define INIT_VIDEO_COLOR_TEMP_USER_G    0x80
#define INIT_VIDEO_COLOR_TEMP_USER_B    0x80

#define INIT_VIDEO_COLOR_BRIGHTNESS_COOL_R  0x80
#define INIT_VIDEO_COLOR_BRIGHTNESS_COOL_G  0x80
#define INIT_VIDEO_COLOR_BRIGHTNESS_COOL_B  0x80

#define INIT_VIDEO_COLOR_BRIGHTNESS_NORMAL_R    0x80
#define INIT_VIDEO_COLOR_BRIGHTNESS_NORMAL_G    0x80
#define INIT_VIDEO_COLOR_BRIGHTNESS_NORMAL_B    0x80

#define INIT_VIDEO_COLOR_BRIGHTNESS_WARM_R  0x80
#define INIT_VIDEO_COLOR_BRIGHTNESS_WARM_G  0x80
#define INIT_VIDEO_COLOR_BRIGHTNESS_WARM_B  0x80

#define INIT_VIDEO_COLOR_BRIGHTNESS_USER_R  0x80
#define INIT_VIDEO_COLOR_BRIGHTNESS_USER_G  0x80
#define INIT_VIDEO_COLOR_BRIGHTNESS_USER_B  0x80

//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// Default Contrast & Saturation & Hue & Sharpness Value
//------------------------------------------------------------------------------

// Sharpness
#define ACE_Sharpness_DefaultValue_HDTV         24
#define ACE_Sharpness_DefaultValue_SDTV         24
#define ACE_Sharpness_DefaultValue_ATV          44
#define ACE_Sharpness_DefaultValue_AV           44
#define ACE_Sharpness_DefaultValue_SV           32
#define ACE_Sharpness_DefaultValue_YPBPR_HD     31
#define ACE_Sharpness_DefaultValue_YPBPR_SD     32
#define ACE_Sharpness_DefaultValue_HDMI_HD      24
#define ACE_Sharpness_DefaultValue_HDMI_SD      24
#define ACE_Sharpness_DefaultValue_VGA_DVI		24

// Contrast
#define ACE_Contrast_DefaultValue_HDTV          128
#define ACE_Contrast_DefaultValue_SDTV          128
#define ACE_Contrast_DefaultValue_ATV           128
#define ACE_Contrast_DefaultValue_AV            128
#define ACE_Contrast_DefaultValue_SV            128

#define ACE_Contrast_DefaultValue_YPBPR_HD      128
#define ACE_Contrast_DefaultValue_YPBPR_SD      128

#define ACE_Contrast_DefaultValue_HDMI_HD       128
#define ACE_Contrast_DefaultValue_HDMI_SD       128
#define ACE_Contrast_DefaultValue_VGA_DVI		128

// Saturation
#define ACE_Saturation_DefaultValue_HDTV        128
#define ACE_Saturation_DefaultValue_SDTV        128
#define ACE_Saturation_DefaultValue_ATV         128
#define ACE_Saturation_DefaultValue_AV          128
#define ACE_Saturation_DefaultValue_SV          128

#define ACE_Saturation_DefaultValue_YPBPR_HD    128
#define ACE_Saturation_DefaultValue_YPBPR_SD    128

#define ACE_Saturation_DefaultValue_HDMI_HD     128
#define ACE_Saturation_DefaultValue_HDMI_SD     128
#define ACE_Saturation_DefaultValue_VGA_DVI		128

// Hue
#define ACE_Hue_DefaultValue_HDTV               50
#define ACE_Hue_DefaultValue_SDTV               50
#define ACE_Hue_DefaultValue_ATV                50
#define ACE_Hue_DefaultValue_AV                 50
#define ACE_Hue_DefaultValue_SV                 50
#define ACE_Hue_DefaultValue_YPBPR              50
#define ACE_Hue_DefaultValue_HDMI               50
#define ACE_Hue_DefaultValue_VGA_DVI			50

// AV Black Level
#define ACE_AV_BLACK_LEVEL_HIGH_CONTRAST        0x70
#define ACE_AV_BLACK_LEVEL_HIGH_BRIGHTNESS      0x92

#define ACE_AV_BLACK_LEVEL_LOW_CONTRAST         0x78
#define ACE_AV_BLACK_LEVEL_LOW_BRIGHTNESS       0x92

//ATV Mode
#define ACE_ATV_CONTRAST        0x98
#define ACE_ATV_BRIGHTNESS        0x88

// HDMI Black Level
#define ACE_HDMI_BLACK_LEVEL_HIGH_YC_OFFSET     0x00F0
#define ACE_HDMI_BLACK_LEVEL_HIGH_YC_GAIN       0x403B

#define ACE_HDMI_BLACK_LEVEL_LOW_YC_OFFSET      0x00E0
#define ACE_HDMI_BLACK_LEVEL_LOW_YC_GAIN        0x4045

/////////////////////////////////////////////////////////////
// Define color init value
/////////////////////////////////////////////////////////////

//PC
#define PC_STANDARD_BRI             35
#define PC_STANDARD_CON             40
#define PC_STANDARD_SHARP           50

#define PC_DYNAMIC_BRI              45
#define PC_DYNAMIC_CON              50
#define PC_DYNAMIC_SHARP		    60

#define PC_SOFT_BRI                 25
#define PC_SOFT_CON                 30
#define PC_SOFT_SHARP			    40

#define PC_USER_BRI                 45
#define PC_USER_CON                 50
#define PC_USER_SHARP			    60

//ATV
#define ATV_STANDARD_BRI     26
#define ATV_STANDARD_CON     75//85
#define ATV_STANDARD_HUE     50
#define ATV_STANDARD_SAT     84//50
#define ATV_STANDARD_SHARP   50//50

#define ATV_DYNAMIC_BRI      36
#define ATV_DYNAMIC_CON      85
#define ATV_DYNAMIC_HUE      50
#define ATV_DYNAMIC_SAT      84//50
#define ATV_DYNAMIC_SHARP    60//50

#define ATV_SOFT_BRI         16
#define ATV_SOFT_CON       	 65//85
#define ATV_SOFT_HUE       	 50
#define ATV_SOFT_SAT       	 84//50
#define ATV_SOFT_SHARP     	 40//50

#define ATV_USER_BRI         36
#define ATV_USER_CON       	 85
#define ATV_USER_HUE       	 50
#define ATV_USER_SAT       	 84//50
#define ATV_USER_SHARP     	 60//50

//DTV
#define DTV_STANDARD_BRI     26
#define DTV_STANDARD_CON     75//85
#define DTV_STANDARD_HUE     50
#define DTV_STANDARD_SAT     84//50
#define DTV_STANDARD_SHARP   50//50

#define DTV_DYNAMIC_BRI      36
#define DTV_DYNAMIC_CON      85
#define DTV_DYNAMIC_HUE      50
#define DTV_DYNAMIC_SAT      84//50
#define DTV_DYNAMIC_SHARP    60//50

#define DTV_SOFT_BRI         16
#define DTV_SOFT_CON       	 65//85
#define DTV_SOFT_HUE       	 50
#define DTV_SOFT_SAT       	 84//50
#define DTV_SOFT_SHARP     	 40//50

#define DTV_USER_BRI         36
#define DTV_USER_CON       	 85
#define DTV_USER_HUE       	 50
#define DTV_USER_SAT       	 84//50
#define DTV_USER_SHARP     	 60//50

//YPBPR
#define YPBPR_STANDARD_BRI     26
#define YPBPR_STANDARD_CON     75//85
#define YPBPR_STANDARD_HUE     50
#define YPBPR_STANDARD_SAT     72//50
#define YPBPR_STANDARD_SHARP   65//50

#define YPBPR_DYNAMIC_BRI      36
#define YPBPR_DYNAMIC_CON      85
#define YPBPR_DYNAMIC_HUE      50
#define YPBPR_DYNAMIC_SAT      72//50
#define YPBPR_DYNAMIC_SHARP    75//50

#define YPBPR_SOFT_BRI         16
#define YPBPR_SOFT_CON         65//85
#define YPBPR_SOFT_HUE         50
#define YPBPR_SOFT_SAT         72//50
#define YPBPR_SOFT_SHARP       55//50

#define USER_YPBPR_BRI         36
#define USER_YPBPR_CON         85
#define USER_YPBPR_HUE         50
#define USER_YPBPR_SAT         72//50
#define USER_YPBPR_SHARP       75//50

//HDMI
#define HDMI_STANDARD_BRI     26
#define HDMI_STANDARD_CON     75//85
#define HDMI_STANDARD_HUE     50
#define HDMI_STANDARD_SAT     72//50
#define HDMI_STANDARD_SHARP   65//50

#define HDMI_DYNAMIC_BRI      36
#define HDMI_DYNAMIC_CON      85
#define HDMI_DYNAMIC_HUE      50
#define HDMI_DYNAMIC_SAT      72//50
#define HDMI_DYNAMIC_SHARP    75//50

#define HDMI_SOFT_BRI         16
#define HDMI_SOFT_CON         65//85
#define HDMI_SOFT_HUE         50
#define HDMI_SOFT_SAT         72//50
#define HDMI_SOFT_SHARP       55//50

#define HDMI_USER_BRI         36
#define HDMI_USER_CON         85
#define HDMI_USER_HUE         50
#define HDMI_USER_SAT         72//50
#define HDMI_USER_SHARP       75//50

//SV
#define SV_STANDARD_BRI     26
#define SV_STANDARD_CON     75//85
#define SV_STANDARD_HUE     50
#define SV_STANDARD_SAT     84//50
#define SV_STANDARD_SHARP   50//50

#define SV_DYNAMIC_BRI      36
#define SV_DYNAMIC_CON      85
#define SV_DYNAMIC_HUE      50
#define SV_DYNAMIC_SAT      84//50
#define SV_DYNAMIC_SHARP    60//50

#define SV_SOFT_BRI         16
#define SV_SOFT_CON         65//85
#define SV_SOFT_HUE         50
#define SV_SOFT_SAT         84//50
#define SV_SOFT_SHARP       40//50

#define SV_USER_BRI         36
#define SV_USER_CON         85
#define SV_USER_HUE         50
#define SV_USER_SAT         84//50
#define SV_USER_SHARP       60//50

//AV
#define AV_STANDARD_BRI     26
#define AV_STANDARD_CON     75//85
#define AV_STANDARD_HUE     50
#define AV_STANDARD_SAT     84//50
#define AV_STANDARD_SHARP   50//50

#define AV_DYNAMIC_BRI      36
#define AV_DYNAMIC_CON      85
#define AV_DYNAMIC_HUE      50
#define AV_DYNAMIC_SAT      84//50
#define AV_DYNAMIC_SHARP    60//50

#define AV_SOFT_BRI         16
#define AV_SOFT_CON         65//85
#define AV_SOFT_HUE         50
#define AV_SOFT_SAT         84//50
#define AV_SOFT_SHARP       40//50

#define AV_USER_BRI         36
#define AV_USER_CON         85
#define AV_USER_HUE         50
#define AV_USER_SAT         84//50
#define AV_USER_SHARP       60//50

#endif /* _COLOR_AU07_AT_H_ */



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -