---
title: hi_cover
description: 定义覆盖参数结构体。
url: "https://www.hiascend.com/document/detail/zh/canncommercial/900/API/dvpp/aclcppdevg_03_1102.html"
---

# 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位有效。 |
