19 #ifndef AVUTIL_HWCONTEXT_DRM_H 20 #define AVUTIL_HWCONTEXT_DRM_H struct AVDRMObjectDescriptor AVDRMObjectDescriptor
DRM object descriptor.
The maximum number of layers/planes in a DRM frame.
Definition: hwcontext_drm.h:39
struct AVDRMFrameDescriptor AVDRMFrameDescriptor
DRM frame descriptor.
struct AVDRMPlaneDescriptor AVDRMPlaneDescriptor
DRM plane descriptor.
int nb_objects
Number of DRM objects making up this frame.
Definition: hwcontext_drm.h:137
DRM frame descriptor.
Definition: hwcontext_drm.h:133
size_t size
Total size of the object.
Definition: hwcontext_drm.h:58
DRM plane descriptor.
Definition: hwcontext_drm.h:74
int fd
DRM PRIME fd for the object.
Definition: hwcontext_drm.h:52
int nb_layers
Number of layers in the frame.
Definition: hwcontext_drm.h:145
DRM layer descriptor.
Definition: hwcontext_drm.h:96
int object_index
Index of the object containing this plane in the objects array of the enclosing frame descriptor...
Definition: hwcontext_drm.h:79
ptrdiff_t pitch
Pitch (linesize) of this plane.
Definition: hwcontext_drm.h:87
DRM object descriptor.
Definition: hwcontext_drm.h:48
int nb_planes
Number of planes in the layer.
Definition: hwcontext_drm.h:106
struct AVDRMLayerDescriptor AVDRMLayerDescriptor
DRM layer descriptor.
uint64_t format_modifier
Format modifier applied to the object (DRM_FORMAT_MOD_*).
Definition: hwcontext_drm.h:65
struct AVDRMDeviceContext AVDRMDeviceContext
DRM device.
int fd
File descriptor of DRM device.
Definition: hwcontext_drm.h:166
uint32_t format
Format of the layer (DRM_FORMAT_*).
Definition: hwcontext_drm.h:100
ptrdiff_t offset
Offset within that object of this plane.
Definition: hwcontext_drm.h:83
DRM device.
Definition: hwcontext_drm.h:157