hi_isp_cmos_default
Description
Defines the initialization parameters for the ISP basic algorithm library.
Prototype
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, see hi_isp_cmos_drc. |
*demosaic |
Pointer to the Demosaic structure. For details, see hi_isp_cmos_demosaic. |
*pregamma |
Pointer to the PreGamma structure. For details, see hi_isp_cmos_pregamma. |
*gamma |
Pointer to the Gamma structure. For details, see hi_isp_cmos_gamma. |
*sharpen |
Pointer to the Sharpen structure. For details, see hi_isp_cmos_sharpen. |
*edge_mark |
Pointer to the EdgeMark structure. For details, see hi_isp_cmos_edgemark. |
*hlc |
Pointer to the HLC structure. For details, see hi_isp_cmos_hlc. |
*ldci |
Pointer to the LDCI structure. For details, see hi_isp_cmos_ldci. |
*dpc |
Pointer to the DPC structure. For details, see hi_isp_cmos_dpc. |
*lsc |
Pointer to the LSC structure. For details, see hi_isp_cmos_lsc. |
*ge |
Pointer to the GE module structure. For details, see hi_isp_cmos_ge. |
*anti_false_color |
Pointer to the AntiFalse structure. For details, see hi_isp_cmos_afc. |
*bayer_nr |
Pointer to the BayerNR structure. For details, see hi_isp_cmos_bayernr. |
*ca |
Pointer to the CA module structure. For details, see hi_isp_cmos_ca. |
*expander |
Pointer to the Expander structure. This member is valid only in sensor built-in mode. For details, see hi_isp_expander_attr. |
*clut |
Pointer to the CLUT structure. For details, see hi_isp_cmos_clut. |
*wdr |
Pointer to the WDR mode structure. For details, see hi_isp_cmos_wdr. |
*dehaze |
Pointer to the Dehaze structure. For details, see hi_isp_cmos_dehaze. |
*lcac |
Pointer to the local CAC structure. For details, see hi_isp_cmos_lcac. |
*acs |
Pointer to the ACS structure. For details, see hi_isp_cmos_acs. |
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. |
Considerations
- To use the default configuration of the CMOS for each algorithm module of the ISP, set the corresponding flag bit in the call back the pfn_cmos_get_isp_default function 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.