hi_isp_module_ctrl

Description

Defines the control for ISP modules.

Definition

typedef union {
    hi_u64  key;
    struct {
        hi_u64  bit_bypass_isp_d_gain        : 1;   /* RW;[0] */
        hi_u64  bit_bypass_anti_false_color  : 1;   /* RW;[1] */
        hi_u64  bit_bypass_crosstalk_removal : 1;   /* RW;[2] */
        hi_u64  bit_bypass_dpc            : 1;   /* RW;[3] */
        hi_u64  bit_bypass_nr             : 1;   /* RW;[4] */
        hi_u64  bit_bypass_dehaze         : 1;   /* RW;[5] */
        hi_u64  bit_bypass_wb_gain        : 1;   /* RW;[6] */
        hi_u64  bit_bypass_mesh_shading   : 1;   /* RW;[7] */
        hi_u64  bit_bypass_drc            : 1;   /* RW;[8] */
        hi_u64  bit_bypass_demosaic       : 1;   /* RW;[9] */
        hi_u64  bit_bypass_color_matrix   : 1;   /* RW;[10] */
        hi_u64  bit_bypass_gamma          : 1;   /* RW;[11] */
        hi_u64  bit_bypass_fswdr          : 1;   /* RW;[12] */
        hi_u64  bit_bypass_ca             : 1;   /* RW;[13] */
        hi_u64  bit_bypass_csc            : 1;   /* RW;[14] */
        hi_u64  bit_reserved15_1          : 1;   /* H; [15]; 
        hi_u64  bit_bypass_sharpen        : 1;   /* RW;[16] */
        hi_u64  bit_bypass_local_cac      : 1;   /* RW;[17] */
        hi_u64  bit_bypass_global_cac     : 1;   /* RW;[18]; 
        hi_u64  bit2_chn_select           : 2;   /* RW;[19:20] */
        hi_u64  bit_bypass_ldci           : 1;   /* RW;[21] */
        hi_u64  bit_bypass_pregamma       : 1;   /* RW;[22] */
        hi_u64  bit_reserved23_1          : 1;   /* H; [23] */
        hi_u64  bit_bypass_ae_stat_fe     : 1;   /* RW;[24] */
        hi_u64  bit_bypass_ae_stat_be     : 1;   /* RW;[25] */
        hi_u64  bit_bypass_mg_stat        : 1;   /* RW;[26] */
        hi_u64  bit_bypass_de             : 1;   /* RW;[27] */
        hi_u64  bit_bypass_af_stat_fe     : 1;   /* RW;[28] */
        hi_u64  bit_bypass_af_stat_be     : 1;   /* RW;[29] */
        hi_u64  bit_bypass_awb_stat       : 1;   /* RW;[30] */
        hi_u64  bit_bypass_clut           : 1;   /* RW;[31] */
        hi_u64  bit_bypass_hlc            : 1;   /* RW;[32] */
        hi_u64  bit_bypass_edge_mark      : 1;   /* RW;[33] */
            };
        hi_u64  bit_bypass_rgbir          : 1;   /* RW;[34] */
        hi_u64  bit_reserved29            : 29;  /* H; [35:63] */
} hi_isp_module_ctrl;

Members

Member

Description

key

An integer value of the structure enumeration

bit_bypass_isp_d_gain

Bypass digital gain

bit_bypass_anti_false_color

Bypass anti-false color

bit_bypass_crosstalk_removal

Bypass crosstalk removal

bit_bypass_dpc

Bypass defect pixel correction

bit_bypass_nr

Bypass NR

bit_bypass_dehaze

Bypass dehazing

bit_bypass_wb_gain

Bypass white balance gain and offset

bit_bypass_mesh_shading

Bypass lens shading correction

bit_bypass_drc

Bypass dynamic range compression

bit_bypass_demosaic

Bypass demosaic module

bit_bypass_color_matrix

Bypass color matrix

bit_bypass_gamma

Bypass gamma correction

bit_bypass_fswdr

Bypass multi-frame combination WDR

bit_bypass_ca

Bypass color adjustment (CA) module

bit_bypass_csc

Bypass CSC

bit_bypass_sharpen

Bypass sharpening

bit_bypass_local_cac

Bypass local CAC

bit2_chn_select

Data source of the main channel in WDR mode, which is used for debugging after the multi-frame combination WDR is bypassed.

0: from runt frames

1: from short frames

2: from medium frames

3: from long frames

bit_bypass_ldci

Bypass local dynamic contrast improvement (LDCI)

bit_bypass_pregamma

Bypass PreGamma

bit_bypass_ae_stat_fe

Bypass AE statistics in the FE

bit_bypass_ae_stat_be

Bypass AE statistics in the BE

bit_bypass_mg_stat

Bypass MG statistics

bit_bypass_de

Reserved.

bit_bypass_af_stat_fe

Reserved.

bit_bypass_af_stat_be

Bypass AF statistics in the BE

bit_bypass_awb_stat

Bypass AWB statistics

bit_bypass_clut

Bypass CLUT

bit_bypass_hlc

Bypass HLC

bit_bypass_edge_mark

Bypass EDGE_MARK

bit_bypass_rgbir

Reserved.

bit_reserved29

Reserved

Restrictions

In WDR mode, when the WDR module is enabled or disabled, the colors of some frames are abnormal.