# hi_mpi_vpss_get_chn_fisheye

#### 函数功能

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


#### 约束说明

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


#### 函数原型

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视频处理子系统返回码
