---
title: hi_isp_awb_stat_1
description: "定义AWB统计信息结构体。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/others/ispdevug/ispdevapi_0151.html
sourcePath: /source/zh/canncommercial/900/others/ispdevug/ispdevapi_0151.html
indexId: caad13a730f034747ab431e3476c36584f049f2c0a6e51351c7ae94fcd974c6c65
---
# hi_isp_awb_stat_1

#### 说明

定义AWB统计信息结构体。


#### 定义

```
typedef struct {
hi_u16
metering_awb_avg_r;
hi_u16
metering_awb_avg_g;
hi_u16
metering_awb_avg_b;
hi_u16
metering_awb_count_all;
} hi_isp_awb_stat_1;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| metering\_awb\_avg\_r | Bayer域全局统计信息中白点的R分量平均值。 R分量均值取值范围为[0, 0xFFFF]。 |
| metering\_awb\_avg\_g | Bayer域全局统计信息中白点的G分量平均值。 G分量均值取值范围为[0, 0xFFFF]。 |
| metering\_awb\_avg\_b | Bayer域全局统计信息中白点的B分量平均值。 B分量均值取值范围为[0, 0xFFFF]。 |
| metering\_awb\_count\_all | Bayer域全局统计信息中白点的个数。已做归一化。白点个数取值范围为[0, 0xFFFF]。 |
