hi_isp_wb_stitch_stats

Description

Defines WB statistics in stitching mode.

Definition

typedef struct {
    hi_u16  zone_row; 
    hi_u16  zone_col;
    hi_u16  zone_avg_r[HI_ISP_AWB_ZONE_STITCH_MAX];
    hi_u16  zone_avg_g[HI_ISP_AWB_ZONE_STITCH_MAX]; 
    hi_u16  zone_avg_b[HI_ISP_AWB_ZONE_STITCH_MAX];
    hi_u16  zone_count_all[HI_ISP_AWB_ZONE_STITCH_MAX];
} hi_isp_wb_stitch_stats;

Members

Member

Description

zone_row

Number of block lines for stitching statistics. The value range is [0x0, 0x20].

zone_col

Number of block columns for stitching statistics. The value range is [0x0, 0x80].

zone_avg_r[HI_ISP_AWB_ZONE_STITCH_MAX]

Average value of the R component in zoned statistics for the Bayer domain. The value range is [0x0, 0xFFFF].

#define HI_ISP_AWB_ZONE_STITCH_MAX  (HI_ISP_AWB_ZONE_NUM * HI_ISP_MAX_STITCH_NUM)

zone_avg_r[HI_ISP_AWB_ZONE_STITCH_MAX]

Average value of the G component in zoned statistics for the Bayer domain. The value range is [0x0, 0xFFFF].

#define HI_ISP_AWB_ZONE_STITCH_MAX  (HI_ISP_AWB_ZONE_NUM * HI_ISP_MAX_STITCH_NUM)

zone_avg_b[HI_ISP_AWB_ZONE_STITCH_MAX]

Average value of the B component in zoned statistics for the Bayer domain. The value range is [0x0, 0xFFFF].

#define HI_ISP_AWB_ZONE_STITCH_MAX  (HI_ISP_AWB_ZONE_NUM * HI_ISP_MAX_STITCH_NUM)

zone_count_all[HI_ISP_AWB_ZONE_STITCH_MAX]

Number of pixels in the gray region of the square in zoned statistics, which has been normalized. The value range is [0x0, 0xFFFF].

#define HI_ISP_AWB_ZONE_STITCH_MAX  (HI_ISP_AWB_ZONE_NUM * HI_ISP_MAX_STITCH_NUM)