FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVDRMLayerDescriptor Struct Reference

DRM layer descriptor. More...

#include <hwcontext_drm.h>

Data Fields

uint32_t format
 Format of the layer (DRM_FORMAT_*). More...
 
int nb_planes
 Number of planes in the layer. More...
 
AVDRMPlaneDescriptor planes [AV_DRM_MAX_PLANES]
 Array of planes in this layer. More...
 

Detailed Description

DRM layer descriptor.

Describes a single layer within a frame. This has the structure defined by its format, and will contain one or more planes.

Definition at line 93 of file hwcontext_drm.h.

Field Documentation

uint32_t AVDRMLayerDescriptor::format

Format of the layer (DRM_FORMAT_*).

Definition at line 97 of file hwcontext_drm.h.

int AVDRMLayerDescriptor::nb_planes

Number of planes in the layer.

This must match the number of planes required by format.

Definition at line 103 of file hwcontext_drm.h.

Referenced by drm_map_frame().

AVDRMPlaneDescriptor AVDRMLayerDescriptor::planes[AV_DRM_MAX_PLANES]

Array of planes in this layer.

Definition at line 107 of file hwcontext_drm.h.

Referenced by drm_map_frame().


The documentation for this struct was generated from the following file: