hi_isp_awb_ccm_tab

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_awb_ccm_tab;

Members

Member

Description

color_temp

Color temperature for the current CCM.

Value range: [2000, 10000]

ccm

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. Bit[12], Bit[13], and Bit[14] are invalid. The positive number ranges from 0x0000 to 0x0FFF, and the negative number ranges from 0x8000 to 0x8FFF. These are proper CCM parameters.

Value range: [0x0, 0xFFFF]

HI_ISP_CCM_MATRIX_SIZE defines the number of CCM matrix parameters. The value is 9.