hi_mpi_vo_get_video_layer_attr
The
The
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
- 0: success
- Other values: failure. For details, see VO Return Codes.
Parent topic: VO