hi_mpi_vo_hide_chn
The
The
Description
Hides a specified channel.
Restrictions
- Before calling this API, ensure that the channel is enabled.
- When the VO works with the VPSS, call this API to hide the channel and then call hi_mpi_sys_unbind to unbind the VO from the VPSS during resource release. Otherwise, the HI_ERR_VO_BUSY error may occur.
- After a channel is hidden, the operations on the channel, such as sending images, pausing, and resuming, are invalid. The channel can display images again only after the channel is resumed and images are sent to the channel again.
- Currently, this API does not support multiple processes.
Prototype
hi_s32 hi_mpi_vo_hide_chn(hi_vo_layer layer, hi_vo_chn chn)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
layer |
Input |
Video layer ID. Value range: [0, 9) This parameter is valid only when layer is set to 0 or 1. |
chn |
Input |
VO channel ID. Value range: [0, 64) |
Returns
- 0: success
- Other values: failure. For details, see VO Return Codes.
Parent topic: VO