Uint64_t bf_h1_sum [BF_FW_MAX_ROI_REGIONS];
Uint64_t bf_h2_sum [BF_FW_MAX_ROI_REGIONS];
Uint64_t bf_v_sum [BF_FW_MAX_ROI_REGIONS];
Uint64_t bf_h1_sharp [BF_FW_MAX_ROI_REGIONS];
Uint64_t bf_h2_sharp [BF_FW_MAX_ROI_REGIONS];
Uint64_t bf_v_sharp [BF_FW_MAX_ROI_REGIONS];
Uint32_t bf_h1_num [BF_FW_MAX_ROI_REGIONS];
Uint32_t bf_h2_num [BF_FW_MAX_ROI_REGIONS];
Uint32_t bf_v_num [BF_FW_MAX_ROI_REGIONS];
Bf_fw_roi_cfg_t bf_fw_roi_cfg;
} bf_fw_stats_t; To calculate the focus value,
CodePudding user response:
Done in af_port. C, add your own af algorithm, you can refer to the original call process added their own, or your own algorithm programming so library, and then set up the call,