vdec_get_chn_param
产品支持情况
产品 |
是否支持 |
---|---|
|
√ |
|
√ |
|
x |
|
√ |
|
√ |
|
x |
功能说明
修改通道参数前可先调用此接口获取通道参数。
函数原型
- C函数原型
1
hi_s32 hi_mpi_vdec_get_chn_param(hi_vdec_chn chn, hi_vdec_chn_param *chn_param);
- python函数
1
chn_param, ret = acl.himpi.vdec_get_chn_param(chn)
参数说明
参数名 |
说明 |
---|---|
chn |
int,解码通道号。
|
返回值说明
返回值 |
说明 |
---|---|
chn_param |
dict,解码通道参数字典,具体请参见hi_vdec_chn_param。 |
ret |
int,错误码。
|
约束说明
必须保证通道已创建,否则会返回错误码“HI_ERR_VDEC_UNEXIST”。
父主题: VDEC视频解码/JPEGD图像解码接口