venc_get_ref_param
产品支持情况
产品 |
是否支持 |
---|---|
x |
|
x |
|
x |
|
√ |
|
√ |
|
x |
功能说明
获取H.264/H.265编码通道高级跳帧参考参数。关于高级跳帧模式的详细说明请参见高级跳帧模式说明。
函数原型
- C函数原型
1
hi_s32 hi_mpi_venc_get_ref_param(hi_venc_chn chn, const hi_venc_ref_param *ref_param)
- python函数
1
ref_param, ret = acl.himpi.venc_get_ref_param(chn)
参数说明
参数名 |
说明 |
---|---|
chn |
int,编码通道号。
|
返回值说明
返回值 |
说明 |
---|---|
ref_param |
dict,H.264/H.265编码通道高级跳帧参考参数字典。参见hi_venc_ref_param。 |
ret |
int,错误码。
|
约束说明
本接口在编码通道创建之后、编码通道销毁之前调用。
父主题: VENC视频/JPEGE图像编码接口