---
title: hi_isp_af_raw_cfg
description: "AF模块Bayer域配置。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/others/ispdevug/ispdevapi_0490.html
sourcePath: /source/zh/canncommercial/900/others/ispdevug/ispdevapi_0490.html
indexId: ca036802f66c2a36cdad3fc59186b2f5cc82d99e93d174f177afe81fd583ece065
---
# hi_isp_af_raw_cfg

#### 说明

AF模块Bayer域配置。


#### 定义

```
typedef struct {
hi_u8
gamma_gain_limit;
hi_u8
gamma_value;
hi_isp_bayer_format bayer_format;
} hi_isp_af_raw_cfg;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| gamma\_gain\_limit | AF模块gamma限制。取值范围：[0x0, 0x5]。 |
| gamma\_value | AF模块gamma类型。取值范围：[0x0, 0x6]。 |
| bayer\_format | 设置Bayer pattern，支持BAYER\_RGGB，BAYER\_GRBG， BAYER\_GBRG，BAYER\_BGGR四种。 |
