---
title: hi_vpc_make_border_info
description: VPC图像填充需要用的信息。
url: "https://www.hiascend.com/document/detail/zh/canncommercial/900/API/dvpp/aclcppdevg_03_1062.html"
---

# hi_vpc_make_border_info

#### 说明

VPC图像填充需要用的信息。


#### 定义

```
typedef struct {
hi_u32
top;
hi_u32
bottom;
hi_u32
left;
hi_u32
right;
hi_vpc_bord_type
border_type;
hi_vpc_scalar
scalar_value;
} hi_vpc_make_border_info;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| top | 顶部填充像素数。 |
| bottom | 底部填充像素数。 |
| left | 左侧填充像素数。 |
| right | 右侧填充像素数。 |
| border\_type | 扩充边缘像素的类型。 |
| scalar\_value | 仅在填充类型为HI\_BORDER\_CONSTANT的时候有效，指定填充的像素值。 |
