hi_isp_af_peak_mode

Description

Defines the peak mode, which determines whether the peak value of the zoned statistics is calculated.

Definition

typedef enum {
    HI_ISP_AF_STA_NORM         = 0,
    HI_ISP_AF_STA_PEAK,
    HI_ISP_AF_STA_BUTT
} hi_isp_af_peak_mode;

Members

Member

Description

HI_ISP_AF_STA_NORM

  • When square_mode is HI_ISP_AF_STA_SUM_NORM, the sum of the output value of each pixel in zones is the zoned statistics.
  • When square_mode is HI_ISP_AF_STA_SUM_SQUARE, the sum of squares of the filter output value of each pixel in zones is the zoned statistics.

HI_ISP_AF_STA_PEAK

  • When square_mode is HI_ISP_AF_STA_SUM_NORM, the sum of maximum values of filter output values of each pixel in each line in zones is the zoned statistics.
  • When square_mode is HI_ISP_AF_STA_SUM_SQUARE, the sum of squares of maximum values of filter output values of each pixel in each line in zones is the zoned statistics.