---
title: hi_mpi_vpss_get_grp_param
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/dvpp/aclcppdevg_03_0563.html
sourcePath: /source/zh/canncommercial/900/API/dvpp/aclcppdevg_03_0563.html
indexId: a8f609792c17a13a22f3524effac524a46f3dd7a809b28bfc3c1989d751ab67662
---
# hi_mpi_vpss_get_grp_param

#### 产品支持情况

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


#### 功能说明

获取VPSS组参数。


#### 函数原型

```
hi_s32
hi_mpi_vpss_get_grp_param(
hi_vpss_grp
grp,
hi_vpss_grp_param
*grp_param)
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| grp | 输入 | VPSS组ID。 取值范围：[256, 268) |
| grp\_param | 输入&输出 | 组参数设置。 grp\_param参数作为输入时，需要指定该参数结构体内的nrx\_param.nr\_version，否则会返回报错。 |


#### 返回值说明

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


#### 约束说明

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