hi_mpi_vo_bind_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

Binds a video layer or graphics layer to a device. Video layer binding is not supported in the current version.

Prototype

hi_s32 hi_mpi_vo_bind_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

  • If a graphics layer is bound, you cannot repeatedly bind it. You need to unbind the graphics layer and then bind it again.
  • If a graphics layer is enabled, you cannot bind it by calling this API.
  • For graphics layers, only G2, G3, and G4 can call this API. G0 and G1 are fixedly bound and cannot be modified.
  • Graphics layer G2 and G3 can be bound to DHD0 or DHD1. G4 can be bound to DHD1 or not. G3 and G4 cannot be bound to DHD1 at the same time.
  • Currently, this API does not support multiple processes.