hi_mpi_vo_show_chn
The
The
Description
Displays a specified channel.
Restrictions
- Before calling this API, ensure that the VO channel and the video layer where the VO channel is located are enabled.
- By default, a channel is in the display state.
- The VO module does not support the display of a specified channel in single mode. The interface parameter configuration is invalid, but the display result is not affected.
- After a channel is enabled, you must correctly destroy all the requested channel resources and VB-related buffer resources when exiting the program. Otherwise, the operation is undefined and subsequent display cannot be ensured.
- Currently, this API does not support multiple processes.
Prototype
hi_s32 hi_mpi_vo_show_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