hi_mpi_vo_bind_layer

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

The Atlas Training Series Product does not support this API.

Description

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

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.

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