---
title: hi_mpi_vpc_set_roundview_stitching_param
description: "| 产品 | 是否支持 |"
url: "https://www.hiascend.com/document/detail/zh/canncommercial/900/API/dvpp/aclcppdevg_03_0657.html"
---

# hi_mpi_vpc_set_roundview_stitching_param

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas 350 加速卡 | ☓ |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | ☓ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | ☓ |
| Atlas 200I/500 A2 推理产品 | ☓ |
| Atlas 推理系列产品 | ☓ |
| Atlas 训练系列产品 | ☓ |


#### 功能说明

设置环视拼接参数，包括拼接表参数、增益补偿参数。


#### 函数原型

```
hi_s32
hi_mpi_vpc_set_roundview_stitching_param(
hi_vpc_chn
chn, const
hi_roundview_stitching_param
*stitch_param)
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| chn | 输入 | 图片处理通道号。 |
| stitch\_param | 输入 | 环视拼接参数信息，包括拼接表参数、增益补偿参数。 |


#### 返回值说明

- 0：成功
- 非0：失败，参见  VPC图像处理返回码


#### 约束说明

- 输入、输出图片宽高必须准确配置，分辨率为[10, 6]到[4096,4096]。
- 针对一个通道，可以调用多次本接口设置环视拼接参数，但输出分辨率（dest_pic_width和dest_pic_height）、拼接表类型（stitch_table_type）、小型化类型（mini_order）不能修改。
- 设置拼接参数时，拼接表中的图片编号需设置成功，否则可能出现拼接后的输出图片异常，具体图片编号的设置请参见  hi_stiching_ipm_table
。
