hi_mpi_vo_unbind_layer
The
The
Description
Unbinds a video layer or graphics layer from a device.
Restrictions
- Before unbinding a video layer or graphics layer from a device, you must disable the video layer or graphics layer.
- A code indicating success is returned when this API is repeatedly called.
- It is not required that the input value of dev be the ID of the device bound to the layer. Calling this API unbinds the layer.
- Currently, this API does not support multiple processes.
Prototype
hi_s32 hi_mpi_vo_unbind_layer(hi_vo_layer layer, hi_vo_dev dev)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
layer |
Input |
Video/Graphics layer ID. Value range: [0,9) |
dev |
Input |
VO device ID. Value range: [0, 2) |
Returns
- 0: success
- Other values: failure. For details, see VO Return Codes.
Parent topic: VO