hi_isp_awb_result

说明

定义AWB库返回给ISP的配置寄存器结构体。

定义

typedef struct {
    hi_u32  white_balance_gain[HI_ISP_BAYER_CHN_NUM];
    hi_u16  color_matrix[HI_ISP_CCM_MATRIX_SIZE];
    hi_u32  color_temp;
    hi_u8   saturation;
    hi_isp_awb_raw_stat_attr raw_stat_attr;
} hi_isp_awb_result;

成员

成员名称

描述

white_balance_gain

白平衡算法得出的 R、Gr、 Gb、B 颜色通道的增益,16bit 精度表示。

#define HI_ISP_BAYER_CHN_NUM 4

color_matrix

色彩还原矩阵,8bit 精度表示。

#define HI_ISP_CCM_MATRIX_NUM    7

color_temp

AWB当前的色温。

saturation

当前的饱和度。

raw_stat_attr

定义AWB库返回给ISP的配置寄存器结构体。

注意事项