Atlas 200/300/500 推理产品,不支持该接口。
Atlas 训练系列产品,不支持该接口。
Atlas A2 训练系列产品/Atlas 800I A2 推理产品,不支持该接口。
获取场景模式。
本接口在编码通道创建之后、编码通道销毁之前调用。
hi_s32 hi_mpi_venc_get_scene_mode(hi_venc_chn chn, hi_venc_scene_mode *scene_mode)
参数名
输入/输出
说明
chn
输入
编码通道号。
Atlas 推理系列产品,编码通道号的取值范围:[0, 256),JPEGE功能和VENC功能共用通道,且通道总数最多256。
Atlas 200I/500 A2 推理产品,编码通道号的取值范围:[0, 128),JPEGE功能和VENC功能共用通道,且通道总数最多128。
scene_mode
输出
场景模式指针。