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

# hi_mpi_vpss_set_grp_param

#### 产品支持情况

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


#### 功能说明

设置VPSS组参数。


#### 函数原型

```
hi_s32
hi_mpi_vpss_set_grp_param(
hi_vpss_grp
grp, const
hi_vpss_grp_param
*grp_param)
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| grp | 输入 | VPSS组ID。 取值范围：[256, 268) |
| grp\_param | 输入 | 组参数设置。 |


#### 返回值说明

- 0：成功
- 非0：失败，参见  6.10.7-VPSS视频处理子系统返回码


#### 约束说明

- VPSS组必须已创建，请参见  hi_mpi_vpss_create_grp
接口。

- 请务必先调用  hi_mpi_vpss_get_grp_param
获取当前参数，再进行设置操作。


#### 参考资源

接口调用流程，参见Camera场景视频数据获取和处理(https://www.hiascend.com/document/detail/zh/canncommercial/900/programug/acldevg/aclcppdevg_000064.html)。
