hi_mpi_vo_unbind_layer

Applicable Products

Product

Supported

Ascend 950PR&950DT products

☓

Atlas A3 products

☓

Atlas A2 products

☓

Atlas 200I/500 A2 inference products

√

Atlas inference products

☓

Atlas training products

☓

Function

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.
  • The input formal parameter dev does not necessarily have to be the ID of the device previously bound to the layer. Calling this API is regarded as unbinding a layer.
  • Currently, this API does not support multiple processes.