---
title: hi_cover
description: "定义覆盖参数结构体。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/aadgc/aclcppdevg_03_1413.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/aadgc/aclcppdevg_03_1413.html
indexId: 0e54ed84292884aa372c62c47473a7e441fcbbce770816be8ddac647cff1c743105
---
# hi_cover

#### 说明

定义覆盖参数结构体。


#### 定义

```
typedef struct {
hi_cover_type
type;
union {
hi_rect
rect;
hi_quad_cover
quad;
};
hi_u32
color;
} hi_cover;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| type | 覆盖类型。 |
| rect | 覆盖区域。 当图片格式为YUV422SP、YUV420SP时，要求x、y、width、height值均为偶数。 |
| quad | 自定义覆盖区域。 |
| color | 覆盖区域的颜色值，低24位有效。 |
