hi_mpi_vo_disable_video_layer
Applicability
|
Product |
Supported |
|---|---|
|
|
☓ |
|
|
☓ |
|
|
√ |
|
|
☓ |
|
|
☓ |
Description
Disables a video layer.
Prototype
hi_s32 hi_mpi_vo_disable_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
- Before disabling a video layer, ensure that all channels at the video layer are disabled.
- When a video layer is disabled in non-passthrough mode, if you do not release image buffers obtained from the VO, the error code HI_ERR_VO_BUSY is returned, indicating that the VB resources created by the VO are not released. This problem usually occurs when the obtained images on the screen are not released.
- Before disabling a video layer, ensure that the write-back function of the device is disabled.
- Currently, this API does not support multiple processes.
Parent topic: VO