35 #ifndef __HAL_DISPLAY_COLOR_H__ 36 #define __HAL_DISPLAY_COLOR_H__ 38 #include "hal_platform.h" 40 #ifdef HAL_DISPLAY_COLOR_MODULE_ENABLED The display color saturation setting.
Definition: hal_display_color.h:165
hal_display_color_sharpness_t sharpness
Sharpness.
Definition: hal_display_color.h:174
uint16_t ctrl_point
Control point for saturation enhancement.
Definition: hal_display_color.h:166
The display color contrast setting.
Definition: hal_display_color.h:156
Invalid parameter.
Definition: hal_display_color.h:120
hal_display_color_contrast_t contrast
Contrast.
Definition: hal_display_color.h:175
uint8_t gain1
The gain of segment 1 of contrast enhancement.
Definition: hal_display_color.h:160
hal_display_color_mode_t
The display color mode options.
Definition: hal_display_color.h:126
Default mode.
Definition: hal_display_color.h:127
uint8_t contrast
Contrast index.
Definition: hal_display_color.h:143
hal_display_color_status_t hal_display_color_set_mode(hal_display_color_mode_t mode)
This function sets the color mode.
uint8_t saturation
Saturation index.
Definition: hal_display_color.h:144
hal_display_color_status_t hal_display_color_set_color_engine(bool enable)
This function enables or disables the color engine.
hal_display_color_status_t hal_display_color_set_saturation(hal_display_color_saturation_t *saturation)
This function sets the saturation settings to color settings.
hal_display_color_saturation_t saturation
Saturation.
Definition: hal_display_color.h:176
The color engine power configuration has failed.
Definition: hal_display_color.h:121
uint8_t coef_a
Coefficient A for saturation enhancement.
Definition: hal_display_color.h:167
hal_display_color_status_t hal_display_color_apply_color(uint32_t src_width)
This function applies the color settings to color hardware engine.
uint8_t gain
The gain of sharpness enhancement.
Definition: hal_display_color.h:149
uint8_t gain
The gain for saturation enhancement.
Definition: hal_display_color.h:168
The display color customization.
Definition: hal_display_color.h:141
uint8_t gain0
The gain of segment 0 of contrast enhancement.
Definition: hal_display_color.h:159
uint8_t point0
The control point 0 for contrast enhancement.
Definition: hal_display_color.h:157
hal_display_color_status_t hal_display_color_init(void)
This function initializes the display color settings.
uint8_t bypass_config
Bypass the display color engine.
Definition: hal_display_color.h:177
uint8_t sharpness
Sharpness index.
Definition: hal_display_color.h:142
Successful.
Definition: hal_display_color.h:122
Initialization has failed.
Definition: hal_display_color.h:119
hal_display_color_status_t hal_display_color_set_sharpness(hal_display_color_sharpness_t *sharpness)
This function sets the sharpness settings to color settings.
uint8_t soft_ratio
The soft ratio of sharpness enhancement.
Definition: hal_display_color.h:150
hal_display_color_status_t hal_display_color_set_bypass(bool bypass)
This function sets the bypass settings to color settings.
hal_display_color_status_t hal_display_color_get_color_engine(bool *enable)
This function gets the color engine status (disable or enable), it then returns the bypass configurat...
uint8_t limit
The limit of sharpness enhancement.
Definition: hal_display_color.h:151
hal_display_color_mode_t mode
Mode setting.
Definition: hal_display_color.h:173
uint8_t point1
The control point 1 for contrast enhancement.
Definition: hal_display_color.h:158
The color parameters.
Definition: hal_display_color.h:172
Camera mode.
Definition: hal_display_color.h:128
uint8_t gain2
The gain of segment 2 of contrast enhancement.
Definition: hal_display_color.h:161
hal_display_color_status_t hal_display_color_set_contrast(hal_display_color_contrast_t *contrast)
This function sets the contrast settings to color settings.
hal_display_color_status_t
The return status of display color API.
Definition: hal_display_color.h:118
The display color sharpness setting.
Definition: hal_display_color.h:148
uint8_t bound
The bound of sharpness enhancement.
Definition: hal_display_color.h:152
The number of color modes.
Definition: hal_display_color.h:129