hi_isp_cmos_alg_key

Description

Defines whether an ISP algorithm uses the default configuration in CMOS.

Prototype

typedef union {
    hi_u64  key;
    struct {
        hi_u64  bit1_drc              : 1;   /* [0] */
        hi_u64  bit1_demosaic         : 1;   /* [1] */
        hi_u64  bit1_pregamma         : 1;   /* [2] */
        hi_u64  bit1_gamma            : 1;   /* [3] */
        hi_u64  bit1_sharpen          : 1;   /* [4] */
        hi_u64  bit1_edge_mark        : 1;   /* [5] */
        hi_u64  bit1_hlc              : 1;   /* [6] */
        hi_u64  bit1_ldci             : 1;   /* [7] */
        hi_u64  bit1_dpc              : 1;   /* [8] */
        hi_u64  bit1_lsc              : 1;   /* [9] */
        hi_u64  bit1_ge               : 1;   /* [10] */
        hi_u64  bit1_anti_false_color : 1;   /* [11] */
        hi_u64  bit1_bayer_nr         : 1;   /* [12] */
        hi_u64  bit1_detail           : 1;   /* [13] */
        hi_u64  bit1_ca               : 1;   /* [14] */
        hi_u64  bit1_expander         : 1;   /* [15] */
        hi_u64  bit1_clut             : 1;   /* [16] */
        hi_u64  bit1_wdr              : 1;   /* [17] */
        hi_u64  bit1_dehaze           : 1;   /* [18] */
        hi_u64  bit1_lcac             : 1;   /* [19] */
        hi_u64  bit1_acs              : 1;   /* [20] */
        hi_u64  bit44_rsv             : 43;   /* [21:63] */
    };
} hi_isp_cmos_alg_key;

Members

Member

Description

bit1_drc

Whether the DRC module uses the default parameters in CMOS

bit1_demosaic

Whether the demosaic module uses the default parameters in CMOS

bit1_pregamma

Whether the PreGamma module uses the default parameters in CMOS

bit1_gamma

Whether the gamma module uses the default parameters in CMOS

bit1_sharpen

Whether the sharpen module uses the default parameters in CMOS

bit1_edge_mark

Whether the EdgeMark module uses the default parameters in CMOS

bit1_hlc

Whether the HLC module uses the default parameters in CMOS

bit1_ldci

Whether the LDCI module uses the default parameters in CMOS

bit1_dpc

Whether the DPC module uses the default parameters in CMOS

bit1_lsc

Whether the LSC module uses the default parameters in CMOS

bit1_ge

Whether the GE module uses the default parameters in CMOS

bit1_anti_false_color

Whether the anti-false color module uses the default parameters in CMOS

bit1_bayer_nr

Whether the Bayer NR module uses the default parameters in CMOS

bit1_detail

Whether the detail enhance module uses the default parameters in CMOS

bit1_ca

Whether the CA module uses the default parameters in CMOS

bit1_expander

Whether the expander module uses the default parameters in CMOS This member is valid only in sensor built-in mode

bit1_clut

Whether the CLUT module uses the default parameters in CMOS

bit1_wdr

Whether the WDR module uses the default parameters in CMOS

bit1_dehaze

Whether the dehaze module uses the default parameters in CMOS

bit1_lcac

Whether the Local cac module uses the default parameters in CMOS

bit1_acs

Whether the acs module uses the default parameters in CMOS

Considerations

If an algorithm module of the ISP uses the configuration in CMOS, the corresponding flag bit must be 1. Otherwise, the default configuration in the algorithm is used.