hi_isp_cmos_lsc

Description

Defines the CMOS parameters for lens shading correction (LSC).

Definition

typedef struct {
    hi_u16  mesh_strength;
    hi_u8   mesh_scale;
    hi_isp_lsc_cabli_table lsc_calib_table[HI_ISP_MLSC_GAIN_LUT_NUM];
    hi_isp_bnr_lsc_calib_table bnr_lsc_calib_table;
} hi_isp_cmos_lsc;

Members

Member

Description

mesh_strength

Global mesh shading correction strength after calibration

Value range: [0, 65535]

mesh_scale

Parameter used for controlling the gain precision in a gain table

Value range: [0, 7]

lsc_calib_table

Correction table

#define HI_ISP_MLSC_Y_HALF_GRID_NUM       ((HI_ISP_LSC_GRID_ROW - 1) / 2)

bnr_lsc_calib_table

LSC table used in the Bayer NR module