FFmpeg  4.0
Data Fields
AVDRMLayerDescriptor Struct Reference

DRM layer descriptor. More...

#include <libavutil/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 96 of file hwcontext_drm.h.

Field Documentation

◆ format

uint32_t AVDRMLayerDescriptor::format

Format of the layer (DRM_FORMAT_*).

Definition at line 100 of file hwcontext_drm.h.

Referenced by vaapi_map_to_memory().

◆ nb_planes

int AVDRMLayerDescriptor::nb_planes

Number of planes in the layer.

This must match the number of planes required by format.

Definition at line 106 of file hwcontext_drm.h.

Referenced by drm_map_frame(), opencl_map_frame(), opencl_mem_flags_for_mapping(), and vaapi_map_to_memory().

◆ planes

AVDRMPlaneDescriptor AVDRMLayerDescriptor::planes[AV_DRM_MAX_PLANES]

Array of planes in this layer.

Definition at line 110 of file hwcontext_drm.h.

Referenced by drm_map_frame(), opencl_map_frame(), opencl_mem_flags_for_mapping(), and vaapi_map_to_memory().


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