hi_mpi_vo_resume_chn
The
The
Description
Resumes a specified VO channel.
Restrictions
- This API can be called only after the channel is enabled by calling hi_mpi_vo_enable_chn.
- If the partition mode of the video layer is set to HI_VO_PARTITION_MODE_SINGLE by calling hi_mpi_vo_set_video_layer_attr, the specified channel cannot be resumed. In this case, the parameters set by calling this API are invalid, but the video display result is not affected.
- When video images are sent to a specified output channel for display by calling hi_mpi_vo_send_frame, at least two frames need to be rotated (that is, two hi_video_frame_info structure variables need to be defined). Otherwise, the resume function is invalid.
- A channel can be resumed repeatedly, and no error code indicating failure is returned.
- Currently, this API does not support multiple processes.
Prototype
hi_s32 hi_mpi_vo_resume_chn(int layer, int 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