hi_isp_awb_ccm

Function

Defines the color correction matrix (CCM) attributes.

Definition

typedef struct {
    hi_u16  ccm_tab_num;
    hi_isp_awb_ccm_tab ccm_tab[HI_ISP_CCM_MATRIX_NUM];
} hi_isp_awb_ccm;

For details about basic data type hi_u16, see Basic Data Types.

Members

Member

Description

ccm_tab_num

Number of current CCM groups.

Value range: [3, 7]

ccm_tab

CCM and color temperature values under different color temperatures. For details, see hi_isp_awb_ccm_tab.

HI_ISP_CCM_MATRIX_NUM defines the number of configurable CCM groups for the AWB. The value is 7.

Precautions

If three CCM groups are selected, it is recommended that the high color temperature CCM be calibrated under the D50 illuminant, the medium color temperature CCM be calibrated under the TL84 illuminant, and the low color temperature CCM be calibrated under the A illuminant.