venc_get_scene_mode
Applicability
Product |
Supported (√/x) |
|---|---|
x |
|
x |
|
x |
|
√ |
|
√ |
Function Usage
Obtains the scene mode.
Prototype
- C Prototype
1hi_s32 hi_mpi_venc_get_scene_mode(hi_venc_chn chn, hi_venc_scene_mode *scene_mode)
- Python Function
1scene_mode, ret = acl.himpi.venc_get_scene_mode(chn)
Parameter Description
Parameter |
Description |
|---|---|
chn |
Int, encoding channel ID.
|
Return Value Description
Return Value |
Description |
|---|---|
scene_mode |
Int, current scene mode. For details, see hi_venc_scene_mode. |
ret |
Int, error code.
|
Restrictions
Call this API after an encoding channel is created and before the channel is destroyed.
Parent topic: VENC/JPEGE APIs