---
title: hi_isp_cmos_alg_key
description: "定义ISP的各算法是否采用cmos中的默认配置的标志位。"
url: https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/latest/others/ispdevug/ispdevapi_0043.html
sourcePath: /source/zh/CANNCommunityEdition/920beta1/others/ispdevug/ispdevapi_0043.html
indexId: d73e39ceeda562bc63286b9dbd6eff9b7aec9a210528747ee68a7d255712d43e76
---
# hi_isp_cmos_alg_key

#### 说明

定义ISP的各算法是否采用cmos中的默认配置的标志位。


#### 定义

```
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;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| bit1\_drc | drc模块是否采用cmos默认配置的标志位。 |
| bit1\_demosaic | demosaic模块是否采用cmos默认配置的标志位。 |
| bit1\_pregamma | pregamma模块是否采用cmos默认配置的标志位。 |
| bit1\_gamma | gamma模块是否采用cmos默认配置的标志位。 |
| bit1\_sharpen | sharpen模块是否采用cmos默认配置的标志位。 |
| bit1\_edge\_mark | edge mark模块是否采用cmos默认配置的标志位 |
| bit1\_hlc | hlc模块是否采用cmos默认配置的标志位。 |
| bit1\_ldci | ldci模块是否采用cmos默认配置的标志位。 |
| bit1\_dpc | dpc模块是否采用cmos默认配置的标志位。 |
| bit1\_lsc | lsc模块是否采用cmos默认配置的标志位。 |
| bit1\_ge | ge模块是否采用cmos默认配置的标志位。 |
| bit1\_anti\_false\_color | anti false color模块是否采用cmos默认配置的标志位。 |
| bit1\_bayer\_nr | bayer nr模块是否采用cmos默认配置的标志位。 |
| bit1\_detail | detail enhance模块是否采用cmos默认配置的标志位 |
| bit1\_ca | ca模块是否采用cmos默认配置的标志位。 |
| bit1\_expander | expander模块是否采用cmos默认配置的标志位。 仅sensor built\-in模式有效。 |
| bit1\_clut | clut模块是否采用cmos默认配置的标志位。 |
| bit1\_wdr | wdr模块是否采用cmos默认配置的标志位。 |
| bit1\_dehaze | dehaze模块是否采用cmos默认配置的标志位。 |
| bit1\_lcac | Local cac模块是否采用cmos默认配置的标志位。 |
| bit1\_acs | acs模块是否采用cmos默认配置的标志位。 |


#### 注意事项

如果ISP的某个算法模块要使用cmos中的配置，要将对应的标志位置为1，否则采用的是算法内部的默认配置。
