hi_mpi_vo_disable_chn
The
The
Description
Disables a specified VO channel.
Restrictions
- A VO channel can be disabled repeatedly, and no failure is returned.
- If an HD device channel is bound to the VPSS, you are advised to call this API to disable the channel, and then unbind the VO channel from the VPSS channel. Otherwise, a timeout error HI_ERR_VO_BUSY occurs.
- Currently, this API does not support multiple processes.
Prototype
hi_s32 hi_mpi_vo_disable_chn(hi_vo_layer layer, hi_vo_chn chn)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
layer |
Input |
Video layer ID. Value range: [0, 9) Graphics layers and cascade video layers are not supported. |
chn |
Input |
VO channel ID. Value range: [0, 64) |
Returns
- 0: success
- Other values: failure. For details, see VO Return Codes.
Parent topic: VO