hi_mpi_vo_show_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

Displays a specified channel.

Prototype

hi_s32 hi_mpi_vo_show_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 VO channel and the video layer where the VO channel is located are enabled.
  • By default, a channel is in the display state.
  • The VO module does not support the display of a specified channel in single mode. The interface parameter configuration is invalid, but the display result is not affected.
  • After a channel is enabled, you must correctly destroy all the requested channel resources and VB-related buffer resources when exiting the program. Otherwise, the operation is undefined and subsequent display cannot be ensured.
  • Currently, this API does not support multiple processes.