hi_mpi_vpss_get_chn_attr
产品支持情况
产品  | 
是否支持  | 
|---|---|
x  | 
|
x  | 
|
√  | 
|
x  | 
|
x  | 
|
x  | 
功能说明
获取VPSS物理通道属性。
函数原型
hi_s32 hi_mpi_vpss_get_chn_attr(hi_vpss_grp grp, hi_vpss_chn chn, hi_vpss_chn_attr *chn_attr)
参数说明
参数名  | 
输入/输出  | 
说明  | 
|---|---|---|
grp  | 
输入  | 
VPSS组ID。 取值范围:[0, 264)。如果通过hi_mpi_vpss_create_grp接口的hi_vpss_grp_attr.nr_en参数开启3DNR功能,则VPSS组ID的取值范围为:[256, 268)。  | 
chn  | 
输入  | 
VPSS通道号。 取值范围:[0, 2)  | 
chn_attr  | 
输出  | 
VPSS通道属性。  | 
返回值说明
- 0:成功
 - 非0:失败,参见6.10.7-VPSS视频处理子系统返回码
 
约束说明
VPSS组必须已创建,请参见hi_mpi_vpss_create_grp接口。
父主题: VPSS视频处理功能