hi_isp_af_h_param
Description
Defines the IIR parameter configuration of the horizontal filter for AF statistics.
Definition
typedef struct {
hi_bool narrow_band_en;
hi_bool iir_en[HI_ISP_IIR_EN_NUM];
hi_u8 iir_shift;
hi_s16 iir_gain[HI_ISP_IIR_GAIN_NUM];
hi_u16 iir_shift_lut[HI_ISP_IIR_SHIFT_NUM];
hi_isp_af_level_depend level_depend;
hi_isp_af_coring coring;
} hi_isp_af_h_param;
Members
Member |
Description |
|---|---|
narrow_band_en |
Narrow bandwidth enable for the IIR filter |
iir_en |
Cascaded IIR enable |
iir_shift |
Overall shift of the IIR filter. The value range is [0, 63]. |
iir_gain |
IIR filter coefficient, for controlling the frequency response of the IIR filter. Value range: Gain0: [0, 255]; others: [-511, 511]. |
iir_shift_lut |
IIR filter shift adjustment. The value range is [0, 0x7]. |
level_depend |
Configuration of the LDG module of the IIR filter. |
coring |
Configuration of the coring module of the IIR filter. |
Restrictions
iir_gain[0] is an 8-bit unsigned number. iir_gain[1] to iir_gain [6] are signed 10-bit numbers and cannot be −512. iir_en, narrow_band_en, iir_gain, and iir_shift can be generated by using the PQ Tools. You can adjust the LDG and coring modules as required to obtain the optimal FV statistics output.