venc_set_scene_mode
产品支持情况
产品  | 
是否支持  | 
|---|---|
x  | 
|
x  | 
|
x  | 
|
√  | 
|
√  | 
|
x  | 
使用说明
c函数原型  | 
hi_s32 hi_mpi_venc_set_scene_mode(hi_venc_chn chn, const hi_venc_scene_mode scene_mode);  | 
|---|---|
Python函数  | 
ret = acl.himpi.venc_set_scene_mode(chn, scene_mode)  | 
函数功能  | 
设置场景模式。  | 
输入说明  | 
chn:int,编码通道号。 
 scene_mode:int,场景模式,具体请参见hi_venc_scene_mode。  | 
返回值说明  | 
ret:int,错误码。 
  | 
约束说明  | 
  | 
父主题: VENC视频/JPEGE图像编码接口