hi_isp_cmos_hlc

Description

Defines the CMOS parameters of HLC.

Definition

typedef struct {
    hi_bool enable;        
    hi_u8   luma_thr;       
    hi_u8   luma_target;    
} hi_isp_cmos_hlc;

Members

Member

Description

enable

HLC enable

  • HI_FALSE: disabled
  • HI_TRUE: enabled

luma_thr

HLC threshold. If the luminance value is greater than the value of this parameter, the luma_target value takes precedence. Generally, this parameter is set to a large value. Otherwise, many regions of the image are grayed.

Value range: [0, 255]

luma_target

Target value of HLC. If the luminance value of a region is greater than the value of luma_thr, the luma_target value takes precedence. That is, the luminance of the region is reduced obviously. Generally, this parameter is set to a small value to reduce the stimulation of the highlight source to human eyes.

Value range: [0, 255]