FFmpeg
Data Fields
AVDRMDeviceContext Struct Reference

DRM device. More...

#include <hwcontext_drm.h>

Data Fields

int fd
 File descriptor of DRM device. More...
 

Detailed Description

DRM device.

Allocated as AVHWDeviceContext.hwctx.

Definition at line 157 of file hwcontext_drm.h.

Field Documentation

◆ fd

int AVDRMDeviceContext::fd

File descriptor of DRM device.

This is used as the device to create frames on, and may also be used in some derivation and mapping operations.

If no device is required, set to -1.

Definition at line 166 of file hwcontext_drm.h.

Referenced by drm_device_create(), drm_device_free(), vaapi_device_derive(), and vulkan_device_derive().


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