venc_get_cu_pred
产品支持情况
产品 |
是否支持 |
---|---|
x |
|
x |
|
x |
|
√ |
|
√ |
|
x |
功能说明
获取通道CU/MB的模式选择的倾向性设置。
函数原型
- C函数原型
1
hi_s32 hi_mpi_venc_get_cu_pred(hi_venc_chn chn, hi_venc_cu_prediction *cu_pred)
- python函数
1
cu_pred, ret = acl.himpi.venc_get_cu_pred(chn)
参数说明
参数名 |
说明 |
---|---|
chn |
int,编码通道号。
|
返回值说明
返回值 |
说明 |
---|---|
cu_pred |
dict,CU模式选择的倾向性字典。具体参见hi_venc_cu_prediction。 |
ret |
int,错误码。
|
约束说明
- 本接口用于获取CU模式选择的倾向性配置。
- 本接口在编码通道创建之后,编码通道销毁之前调用。
- 仅H.265/H.264编码通道支持。
父主题: VENC视频/JPEGE图像编码接口