hi_isp_fpn_frame_info

Description

Defines the black frame information for FPN removal calibration.

Definition

typedef struct
{
    hi_u32              iso;
    hi_u32              offset[HI_ISP_STRIPING_MAX_NUM];
    hi_u32              frm_size;
    hi_video_frame_info fpn_frame;
} hi_isp_fpn_frame_info;

Members

Member

Description

iso

Output of the calibration and input for the correction.

The ISO value must be greater than 0.

offset[HI_ISP_STRIPING_MAX_NUM]

Average value of all pixels of the black frame. The source is the offset stored during the calibration.

Value range: [0, 0xFFF]

#define HI_ISP_STRIPING_MAX_NUM       5

frm_size

Frame size. The source is the black frame size stored during the calibration.

fpn_frame

Black frame information. Allocate the memory, read the calibrated black frames from the external memory to the internal memory, and assign a value to this member.

Restrictions

Generally, the offset is close to the black level of the sensor. If the difference is large, color cast occurs. In this case, you need to locate the cause. You can query the offset in the /proc/umap/isp file.