hi_mpi_vo_hide_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

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 and VPSS are used together, you are advised to call this API to hide the channel and then call the hi_mpi_sys_unbind API to unbind the VO from the VPSS when releasing resources. 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.