定义 AE 统计信息配置。
typedef struct { hi_isp_ae_switch ae_switch; hi_isp_ae_hist_config hist_config; hi_isp_ae_four_plane_mode four_plane_mode; hi_isp_ae_stat_mode hist_mode; hi_isp_ae_stat_mode aver_mode; hi_isp_ae_stat_mode max_gain_mode; hi_isp_ae_crop crop; hi_u8 weight[HI_ISP_AE_ZONE_ROW][HI_ISP_AE_ZONE_COLUMN]; } hi_isp_ae_stats_cfg;
成员名称 |
描述 |
---|---|
ae_switch |
WDR 合成后 AE 统计模块在 ISP pipeline 的位置,默认值为 1。 |
hist_config |
全局直方图统计时的采样点方式配置。 |
four_plane_mode |
four_plane_mode 使能模式,默认值为 0,使能时 1024 段直方图为BGGR 四通道 256 段直方图。 |
hist_mode |
全局 1024 段直方图开方模式。仅影响BE 直方图统计信息。 |
aver_mode |
均值开方模式,仅影响 BE 均值统计信息。 |
max_gain_mode |
MG 模块开方模式。仅影响 MG 模块统计信息。为了与 AE 分块统计信息进行比较,建议与 aver_mode 配置为同一模式。 |
crop |
AE 输入图像裁剪配置。 |
weight |
15x17 个区间的 AE 权重表,取值范围为[0, 15]。 #define HI_ISP_AE_ZONE_COLUMN 17 #define HI_ISP_AE_ZONE_ROW 15 |