hi_isp_cmos_default

Description

Defines the initialization parameters for the ISP base algorithm library.

Definition

typedefstruct {
    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.

For details about the structure, see ISP Tuning Guide.

*demosaic

Pointer to the Demosaic structure.

For details about the structure, see ISP Tuning Guide.

*pregamma

Pointer to the PreGamma structure.

For details about the structure, see ISP Tuning Guide.

*gamma

Pointer to the Gamma structure.

For details about the structure, see ISP Tuning Guide.

*sharpen

Pointer to the Sharpen structure.

For details about the structure, see ISP Tuning Guide.

*edge_mark

Pointer to the EdgeMark structure.

For details about the structure, see ISP Tuning Guide.

*hlc

Pointer to the HLC structure.

For details about the structure, see ISP Tuning Guide.

*ldci

Pointer to the LDCI structure.

For details about the structure, see ISP Tuning Guide.

*dpc

Pointer to the DPC structure.

For details about the structure, see ISP Tuning Guide.

*lsc

Pointer to the LSC structure.

For details about the structure, see ISP Tuning Guide.

*ge

Pointer to the GE module structure.

For details about the structure, see ISP Tuning Guide.

*anti_false_color

Pointer to the AntiFalse structure.

For details about the structure, see ISP Tuning Guide.

*bayer_nr

Pointer to the BayerNR structure.

For details about the structure, see ISP Tuning Guide.

*ca

Pointer to the CA module structure.

For details about the structure, see ISP Tuning Guide.

*expander

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

For details about the structure, see ISP Tuning Guide.

*clut

Pointer to the CLUT structure.

For details about the structure, see ISP Tuning Guide.

*wdr

Pointer to WDR mode structure.

For details about the structure, see ISP Tuning Guide.

*dehaze

Pointer to the Dehaze structure.

For details about the structure, see ISP Tuning Guide.

*lcac

Pointer to the local CAC structure.

For details about the structure, see ISP Tuning Guide.

*acs

Pointer to the ACS structure.

For details about the structure, see ISP Tuning Guide.

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.