hi_isp_cmos_black_level

Description

Defines the black level of the sensor.

Prototype

typedef struct {
    hi_bool update;
    hi_u16  black_level[HI_ISP_BAYER_CHN_NUM];
} hi_isp_cmos_black_level;

Members

Member

Description

update

Whether the black level of the sensor varies according to the gain.

The options are as follows:

  • HI_TRUE: enabled
  • HI_FALSE: disabled

If the black level of the sensor does not vary according to the gain, set update to HI_FALSE.

black_level

Sensor black level array. Value range: [0, 4095].

HI_ISP_BAYER_CHN_NUM defines the number of Bayer data channels. The current value is 4.