hi_mpi_vo_enable_video_layer
Applicability
|
Product |
Supported |
|---|---|
|
|
☓ |
|
|
☓ |
|
|
√ |
|
|
☓ |
|
|
☓ |
Description
Enables a video layer.
Prototype
hi_s32 hi_mpi_vo_enable_video_layer(hi_vo_layer layer)
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
layer |
Input |
VO layer ID. Value range: [0, 9) Graphics layers and cascade video layers are not supported. |
Returns
- 0: success
- Other values: failure. For details, see VO Return Codes.
Restrictions
- The device bound to a video layer must be enabled before the video layer is enabled.
- Before enabling a video layer, ensure that the video layer is configured.
- Currently, this API does not support multiple processes.
Parent topic: VO