hi_mpi_vo_get_video_layer_attr

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

The Atlas Training Series Product does not support this API.

Description

Obtains the attributes of a video layer.

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.

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

Video 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