venc_get_scene_mode
产品支持情况
产品 |
是否支持 |
---|---|
x |
|
x |
|
x |
|
√ |
|
√ |
|
x |
功能说明
获取场景模式。
函数原型
- C函数原型
1
hi_s32 hi_mpi_venc_get_scene_mode(hi_venc_chn chn, hi_venc_scene_mode *scene_mode)
- python函数
1
scene_mode, ret = acl.himpi.venc_get_scene_mode(chn)
参数说明
参数名 |
说明 |
---|---|
chn |
int,解码通道号。
|
返回值说明
返回值 |
说明 |
---|---|
scene_mode |
int,当前场景模式。详情请参见hi_venc_scene_mode。 |
ret |
int,错误码。
|
约束说明
本接口在编码通道创建之后、编码通道销毁之前调用。
父主题: VENC视频/JPEGE图像编码接口