hi_mpi_vo_get_video_layer_attr

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

☓

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

☓

Function

Obtains the attributes of a video layer.

Prototype

hi_s32 hi_mpi_vo_get_video_layer_attr(hi_vo_layer layer, hi_vo_video_layer_attr *layer_attr)

Parameters

Parameter

Input/Output

Description

layer

Input

VO layer ID.

Value range: [0, 9)

Graphics layers and cascade video layers are not supported.

layer_attr

Output

Pointer to the structure of the attributes of a video layer.

Returns

Restrictions

  • You are advised to obtain the attributes of a video layer by calling this API before setting the attributes.
  • Currently, this API does not support multiple processes.