---
title: hi_isp_saturation_auto
description: "定义自动饱和度属性。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/others/ispdevug/ispdevapi_0249.html
sourcePath: /source/zh/canncommercial/900/others/ispdevug/ispdevapi_0249.html
indexId: d5cba5d2ba8d9dcd3482af5bdfc046f8a8238951c0cbcea45a4a013955340abb65
---
# hi_isp_saturation_auto

#### 说明

定义自动饱和度属性。


#### 定义

```
typedef struct {
hi_u8
sat[HI_ISP_AUTO_ISO_NUM];
} hi_isp_saturation_auto;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| sat[HI\_ISP\_AUTO\_ISO\_NUM] | 自动饱和度值。 推荐配置为递减序列。取值范围：[0x0, 0xFF] \#define HI\_ISP\_AUTO\_ISO\_NUM 16 |


表sat[16]在不同的增益情况下的设置值，以mn34220 为例

| sat | Again\*Dgain\*ISPDgain(倍数) | 推荐设置值 |
| --- | --- | --- |
| sat [0] | 1 | 0x74 |
| sat [1] | 2 | 0x74 |
| sat [2] | 4 | 0x70 |
| sat [3] | 8 | 0x6b |
| sat [4] | 16 | 0x64 |
| sat [5] | 32 | 0x5b |
| sat [6] | 64 | 0x52 |
| sat [7] | 128 | 0x44 |
| sat [8] | 256 | 0x3b |
| sat [9] | 512 | 0x38 |
| sat [10] | 1024 | 0x38 |
| sat [11] | 2048 | 0x38 |
| sat [12] | 4096 | 0x38 |
| sat [13] | 8192 | 0x38 |
| sat [14] | 16384 | 0x38 |
| sat [15] | 32768 | 0x38 |
