hi_isp_fpn_calibrate_attr

Description

Defines the calibration attribute of the FPN removal module.

Definition

typedef struct {
    hi_u32                 threshold;
    hi_u32                 frame_num;
    hi_isp_fpn_type        fpn_type;
    hi_isp_fpn_frame_info  fpn_cali_frame;
} hi_isp_fpn_calibrate_attr;

Members

Member

Description

threshold

Calibration threshold. If the pixel value is above the threshold during calibration, this pixel is considered as a defect pixel and is excluded from calibration.

Value range: [0x1, 0xFFF]

frame_num

Number of frames to be calibrated

The value range is {1, 2, 4, 8, 16}, that is, an integral power of 2.

fpn_type

Calibration type. Currently, only the frame type is supported.

fpn_cali_frame

Information about calibrated black frames

Restrictions

The threshold is related to the number of bits of the stored black frames during the calibration. Assume that the number of bits is N. Then the threshold is generally (2^N)>>2.