hi_isp_pregamma_attr

Description

Defines the PreGamma attribute.

Definition

typedef struct {
     hi_bool enable;
     hi_u32  table[HI_ISP_PREGAMMA_NODE_NUM];
} hi_isp_pregamma_attr;

Members

Member

Description

enable

PreGamma enable.

The value can be HI_FALSE (disabled) and HI_TRUE (enabled).

table[HI_ISP_PREGAMMA_NODE_NUM]

LUT, used to indicate the PreGamma output values

Value range: [0x0, 0xFFFFF]

#define HI_ISP_PREGAMMA_NODE_NUM        257

Restrictions

The PreGamma module is coupled with the DRC module. The PreGamma module takes effect only when the DRC module is enabled.