hi_mpi_vo_hide_chn

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Description

Hides a specified channel.

Prototype

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

  • Before calling this API, ensure that the channel is enabled.
  • When the VO works with the VPSS, call this API to hide the channel and then call hi_mpi_sys_unbind to unbind the VO from the VPSS during resource release. Otherwise, the HI_ERR_VO_BUSY error may occur.
  • After a channel is hidden, the operations on the channel, such as sending images, pausing, and resuming, are invalid. The channel can display images again only after the channel is resumed and images are sent to the channel again.
  • Currently, this API does not support multiple processes.