---
title: hi_vpc_make_border_info
description: "VPC图像填充需要用的信息。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/aadgc/aclcppdevg_03_1373.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/aadgc/aclcppdevg_03_1373.html
indexId: ba979aacbcc833b3d3eae382468834a4193617380d994d0c5f2f7fff5748b388105
---
# 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的时候有效，指定填充的像素值。 |
