FFmpeg
Public Attributes | List of all members
AVDRMObjectDescriptor Struct Reference

DRM object descriptor. More...

#include <hwcontext_drm.h>

Public Attributes

int fd
 DRM PRIME fd for the object.
 
size_t size
 Total size of the object. More...
 
uint64_t format_modifier
 Format modifier applied to the object (DRM_FORMAT_MOD_*). More...
 

Detailed Description

DRM object descriptor.

Describes a single DRM object, addressing it as a PRIME file descriptor.

Member Data Documentation

§ format_modifier

uint64_t AVDRMObjectDescriptor::format_modifier

Format modifier applied to the object (DRM_FORMAT_MOD_*).

If the format modifier is unknown then this should be set to DRM_FORMAT_MOD_INVALID.

§ size

size_t AVDRMObjectDescriptor::size

Total size of the object.

(This includes any parts not which do not contain image data.)


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