hi_mpi_vo_resume_chn

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function Description

Resumes a specified VO channel.

Prototype

hi_s32 hi_mpi_vo_resume_chn(hi_vo_layer layer, hi_vo_chn chn)

Parameters

Parameter

Input/Output

Description

layer

Input

VO 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

Restrictions

  • If the split 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 restored. In this case, the parameters set by calling this API are invalid, but the video display result is not affected.
  • When the hi_mpi_vo_send_frame interface is called to send video images to a specified output channel for display, at least two image frames need to be rotated (that is, two hi_video_frame_info structure variables need to be defined). Otherwise, the recovery 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.