hi_mpi_vo_unbind_layer

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

Unbinds a video layer or graphics layer from a device.

Prototype

hi_s32 hi_mpi_vo_unbind_layer(hi_vo_layer layer, hi_vo_dev dev)

Parameters

Parameter

Input/Output

Description

layer

Input

Video/Graphics layer ID.

Value range: [0,9)

dev

Input

VO device ID.

Value range: [0, 2)

Returns

Restrictions

  • Before unbinding a video layer or graphics layer from a device, you must disable the video layer or graphics layer.
  • A code indicating success is returned when this API is repeatedly called.
  • It is not mandatory that the input parameter dev must be the ID of the device bound to the previous layer. Calling this API unbinds a layer.
  • Currently, this API does not support multiple processes.