hi_mpi_vo_pause_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

Pauses a specified VO channel.

Prototype

hi_s32 hi_mpi_vo_pause_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

  • This API can be called only after the hi_mpi_vo_enable_chn API is called to enable a channel.
  • 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 paused. 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 must be rotated (that is, two hi_video_frame_info structure variables must be defined). Otherwise, the pause function is invalid.
  • A channel can be paused repeatedly, and no error code indicating failure is returned.
  • Currently, this API does not support multiple processes.