hi_mpi_venc_get_scene_mode

函数功能

获取场景模式。

约束说明

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

函数原型

hi_s32 hi_mpi_venc_get_scene_mode(hi_venc_chn chn, hi_venc_scene_mode *scene_mode)

参数说明

参数名

输入/输出

说明

chn

输入

编码通道号。

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

scene_mode

输出

场景模式指针。

返回值说明