hi_isp_af_fv_param

Description

Defines the output format for the AF statistical results.

Definition

typedef struct { 
    hi_u16 acc_shift_y; 
    hi_u16 acc_shift_h[HI_ISP_ACC_SHIFT_H_NUM]; 
    hi_u16 acc_shift_v[HI_ISP_ACC_SHIFT_V_NUM]; 
    hi_u16 hl_cnt_shift;
} hi_isp_af_fv_param;

Members

Member

Description

acc_shift_y

Shift of luminance Y statistics. The value range is [0, 0xF].

acc_shift_h[HI_ISP_ACC_SHIFT_H_NUM]

Shift of horizontal IIR filtering statistics. The value range is [0, 0xF].

acc_shift_v[HI_ISP_ACC_SHIFT_V_NUM]

Shift of vertical FIR filtering statistics. The value range is [0, 0xF].

hl_cnt_shift

Shift of highlight counter statistics. The value range is [0, 0xF].

Restrictions

The FV value is a 16-bit unsigned number. When there are many details or noise in a scenario, the FV value may overflow. In this case, the output needs to be shifted rightwards to ensure that the output falls within the valid range. You can adjust the shift value as required.