hi_mpi_venc_get_scene_mode
产品支持情况
产品  | 
是否支持  | 
|---|---|
x  | 
|
x  | 
|
√  | 
|
√  | 
|
x  | 
|
x  | 
功能说明
获取场景模式。
本接口在编码通道创建之后、编码通道销毁之前调用。
函数原型
hi_s32 hi_mpi_venc_get_scene_mode(hi_venc_chn chn, hi_venc_scene_mode *scene_mode)
参数说明
参数名  | 
输入/输出  | 
说明  | 
|---|---|---|
chn  | 
输入  | 
编码通道号。  | 
scene_mode  | 
输出  | 
场景模式指针。  | 
返回值说明
- 0:成功
 - 非0:失败,参见VENC视频编码/JPEGE图片编码返回码