---
title: hi_vpc_histogram_config
description: 存放直方图统计结果的结构体。
url: "https://www.hiascend.com/document/detail/zh/canncommercial/900/API/dvpp/aclcppdevg_03_1063.html"
---

# hi_vpc_histogram_config

#### 说明

存放直方图统计结果的结构体。


#### 定义

```
typedef struct {
hi_u32
histogram_y_or_r[256];
hi_u32
histogram_u_or_g[256];
hi_u32
histogram_v_or_b[256];
} hi_vpc_histogram_config;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| histogram\_y\_or\_r | Y或者R分量，像素分布情况。 |
| histogram\_u\_or\_g | U或者G分量，像素分布情况。 |
| histogram\_v\_or\_b | V或者B分量，像素分布情况。 |
