下载
中文
注册

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)

函数功能

获取场景模式。

输入说明

chn:编码通道号。

  • Atlas 200/500 A2推理产品,编码通道号的取值范围:[0, 128),JPEGE功能和VENC功能共用通道,且通道总数最多128。

返回值说明

约束说明

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

参考资源