acl.himpi.venc_get_scene_mode

c函数原型

hi_s32 hi_mpi_venc_get_scene_mode(hi_venc_chn chn, hi_venc_scene_mode *scene_mode)

Python函数

scene_mode, ret = acl.himpi.venc_get_scene_mode(chn)

函数功能

获取场景模式。

Atlas 200/300/500 推理产品,不支持该接口。

Atlas 训练系列产品,不支持该接口。

Atlas A2训练系列产品,不支持该接口。

输入说明

chn:编码通道号。

编码通道号的取值范围:[0, 256),JPEGE功能和VENC功能共用通道,且通道总数最多256。

返回值说明

注意事项

约束说明

本接口在编码通道创建之后、编码通道销毁之前调用。

参考资源