hi_isp_drc_auto_attr
Description
Defines the automatic ISP DRC attribute.
Definition
typedef struct {
hi_u16 strength;
hi_u16 strength_max;
hi_u16 strength_min;
} hi_isp_drc_auto_attr;
Members
Member |
Description |
|---|---|
strength |
DRC strength in automatic mode, which is readable and writable. A larger value indicates greater overall strength. Value range: [0x0, 0x3FF] |
strength_max |
Upper threshold of the effective DRC strength value in automatic mode. Value range: [0x0, 0x3FF] |
strength_min |
Lower threshold of the effective DRC strength value in automatic mode. Value range: [0x0, 0x3FF] |
Restrictions
- Actual effective strength: Strength calculated by the algorithm in automatic mode x strength/512
- The value of strength_max must be greater than or equal to that of strength_min. Otherwise, both parameters do not take effect.
- In linear and automatic WDR modes, the recommended value range of the DRC strength is different, which lead to different values of strength_max and strength_min.
- In automatic linear mode, the recommended value ranges of strength_max and strength_min are [0x0, 0x200]. The default values of strength_max and strength_min are 0x200 and 0x0, respectively.
- In automatic WDR mode, the recommended value ranges of strength_max and strength_min are [0x200, 0x3FF]. The default value of strength_max and strength_min are 0x3FF and 0x200, respectively.
Parent topic: Data Types