hi_isp_color_matrix_param
Description
Defines automatic CCM coefficients at different color temperatures.
Definition
typedef struct {
hi_u16 color_temp;
hi_u16 ccm[HI_ISP_CCM_MATRIX_SIZE];
} hi_isp_color_matrix_param;
Members
Member |
Description |
|---|---|
color_temp |
Color temperature for the current CCM Value range: [500, 30000] |
ccm[HI_ISP_CCM_MATRIX_SIZE] |
CCM (8-bit decimal precision) at different color temperatures. Bit 15 is a sign bit. 0 indicates a positive number, and 1 indicates a negative number. For example, 0x8010 indicates −16. Bits 12, 13, and 14 are invalid. That is, positive number ranging from 0x0000 to 0x0FFF and negative number ranging from 0x8000 to 0x8FFF are proper CCM parameters. Value range: [0x0, 0xFFFF] #define HI_ISP_CCM_MATRIX_SIZE 9 |
Restrictions
- The data format of the CCM must be the same as that of the correction tool.
- When the saturation is automatically adjusted, the actual effective CCM parameters are related to the current color temperature value and automatic saturation parameters provided by the AWB algorithm. When the saturation is manually adjusted, the actual effective CCM parameters are related to the current color temperature provided by the AWB algorithm.
Parent topic: Data Types