hi_mpi_vo_unbind_layer

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

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 required that the input value of dev be the ID of the device bound to the layer. Calling this API unbinds the layer.
  • Currently, this API does not support multiple processes.