hi_mpi_vo_enable_video_layer

Applicable Products

Product

Supported

Ascend 950PR / Ascend 950DT

☓

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

☓

Function

Enables a video layer.

Prototype

hi_s32 hi_mpi_vo_enable_video_layer(hi_vo_layer layer)

Parameters

Parameter

Input/Output

Description

layer

Input

VO layer ID.

Value range: [0, 9)

Graphics layers and cascade video layers are not supported.

Returns

Restrictions

  • Before enabling a video layer, ensure that the device bound to the video layer is enabled.
  • Before enabling a video layer, ensure that the video layer is configured.
  • Currently, this API does not support multiple processes.

Reference

For the API call sequence, see Video Decoding, Processing, and Display (NVR Scenario).