hi_mpi_vo_unbind_layer

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Description

Unbinds a video layer or graphics layer from a device.

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.

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