hi_mpi_vo_pause_chn

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Description

Pauses 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 paused. 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 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.

Prototype

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