hi_isp_cmos_default

Description

Defines the initialization parameters for the ISP base algorithm library.

Definition

typedef struct {
    hi_isp_cmos_alg_key              key;
    const hi_isp_cmos_drc             *drc;
    const hi_isp_cmos_demosaic        *demosaic;
    const hi_isp_cmos_pregamma        *pregamma;
    const hi_isp_cmos_gamma           *gamma;
    const hi_isp_cmos_sharpen         *sharpen;
    const hi_isp_cmos_edgemark        *edge_mark;
    const hi_isp_cmos_hlc             *hlc;
    const hi_isp_cmos_ldci            *ldci;
    const hi_isp_cmos_dpc             *dpc;
    const hi_isp_cmos_lsc             *lsc;
    const hi_isp_cmos_ge              *ge;
    const hi_isp_cmos_afc             *anti_false_color;
    const hi_isp_cmos_bayernr         *bayer_nr;
    const hi_isp_cmos_ca              *ca;
    const hi_isp_expander_attr        *expander;
    const hi_isp_cmos_clut            *clut;
    const hi_isp_cmos_wdr             *wdr;
    const hi_isp_cmos_dehaze          *dehaze;
    const hi_isp_cmos_lcac            *lcac;
    const hi_isp_cmos_acs             *acs;
    hi_isp_cmos_noise_calibration     noise_calibration;
    hi_isp_cmos_sensor_max_resolution sensor_max_resolution;
    hi_isp_cmos_sensor_mode           sensor_mode;
    hi_isp_cmos_wdr_switch_attr       wdr_switch_attr;
} hi_isp_cmos_default;

Members

Member

Description

key

Whether an algorithm uses the default key in CMOS.

*drc

Pointer to the DRC structure.

*demosaic

Pointer to the Demosaic structure.

*pregamma

Pointer to the PreGamma structure.

*gamma

Pointer to the Gamma structure.

*sharpen

Pointer to the Sharpen structure.

*edge_mark

Pointer to the EdgeMark structure.

*hlc

Pointer to the HLC structure.

*ldci

Pointer to the LDCI structure.

*dpc

Pointer to the DPC structure.

*lsc

Pointer to the LSC structure.

*ge

Pointer to the GE module structure.

*anti_false_color

Pointer to the AntiFalse structure.

*bayer_nr

Pointer to the BayerNR structure.

*ca

Pointer to the CA module structure.

*expander

Pointer to the Expander structure. This member is valid only in sensor built-in mode.

*clut

Pointer to the CLUT structure.

*wdr

Pointer to WDR mode structure.

*dehaze

Pointer to the Dehaze structure.

*lcac

Pointer to the local CAC structure.

*acs

Pointer to the ACS structure.

noise_calibration

Noise calibration structure.

sensor_max_resolution

Maximum width and height structure of the sensor.

sensor_mode

Sensor mode structure.

wdr_switch_attr

WDR switching attribute.

Restrictions

  • To use the default configuration of the CMOS for each algorithm module of the ISP, set the corresponding flag bit in the callback function pfn_cmos_get_isp_default to 1 and assign a value to the pointer to the CMOS structure of the algorithm module. If the default CMOS value is invalid, the algorithm fails to be initialized and cannot be properly adjusted after running.