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

# hi_mpi_vpss_get_chn_fisheye

#### 产品支持情况

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


#### 功能说明

获取用户前一次调用hi_mpi_vpss_set_chn_fisheye接口设置的VPSS物理通道鱼眼属性。


#### 函数原型

```
hi_s32
hi_mpi_vpss_get_chn_fisheye(
hi_vpss_grp
grp,
hi_vpss_chn
chn,
hi_fisheye_correction_attr
*correction_attr)
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| grp | 输入 | VPSS组ID。 取值范围：[0, 264)。 |
| chn | 输入 | VPSS通道号。 取值范围：[0, 2)。 |
| correction\_attr | 输出 | VPSS物理通道的鱼眼属性结构体指针。 |


#### 返回值说明

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


#### 约束说明

- VPSS组必须已创建，请参见  hi_mpi_vpss_create_grp
接口。
- 必须先设置才能获取，否则会获取失败。
