hi_isp_clut_attr
Description
Defines CLUT gains.
Definition
typedef struct {
hi_bool enable;
hi_u32 gain_r;
hi_u32 gain_g;
hi_u32 gain_b;
} hi_isp_clut_attr;
Members
Member |
Description |
|---|---|
enable |
CLUT enable. The value can be HI_FALSE (disabled) and HI_TRUE (enabled). |
gain_r |
R channel gain. The value range is [0, 4095]. |
gain_g |
G channel gain. The value range is [0, 4095]. |
gain_b |
B channel gain. The value range is [0, 4095]. |
Restrictions
If the gain value is set to 512, the final gain of 1.0 is obtained after normalization. The actual adjustment value is obtained by multiplying the gain by the adjustment value obtained from the LUT. The output RGB value is obtained by adding the actual adjustment value and the input RGB value.
Parent topic: Data Types