|
FFmpeg 7.1.5
|
API-specific header for AV_HWDEVICE_TYPE_DRM. More...
Go to the source code of this file.
Data Structures | |
| struct | AVDRMObjectDescriptor |
| DRM object descriptor. More... | |
| struct | AVDRMPlaneDescriptor |
| DRM plane descriptor. More... | |
| struct | AVDRMLayerDescriptor |
| DRM layer descriptor. More... | |
| struct | AVDRMFrameDescriptor |
| DRM frame descriptor. More... | |
| struct | AVDRMDeviceContext |
| DRM device. More... | |
Enumerations | |
| enum | { AV_DRM_MAX_PLANES = 4 } |
Functions | |
| int | av_hwcontext_drm_v4l2_4cc_test (AVBufferRef *hw_device_ctx, uint32_t fcc) |
| Test if a given V4L2 buffer fourcc is allowed in this DRM hardware device context. | |
API-specific header for AV_HWDEVICE_TYPE_DRM.
Internal frame allocation is not currently supported - all frames must be allocated by the user. Thus AVHWFramesContext is always NULL, though this may change if support for frame allocation is added in future.
Definition in file hwcontext_drm.h.
| anonymous enum |
| Enumerator | |
|---|---|
| AV_DRM_MAX_PLANES | The maximum number of layers/planes in a DRM frame. |
Definition at line 37 of file hwcontext_drm.h.
| int av_hwcontext_drm_v4l2_4cc_test | ( | AVBufferRef * | hw_device_ctx, |
| uint32_t | fcc | ||
| ) |
Test if a given V4L2 buffer fourcc is allowed in this DRM hardware device context.
| hw_device_ctx | AVBufferRef to an AVHWDeviceContext of type AV_HWDEVICE_TYPE_DRM, or NULL (returns 0 if NULL) |
| fcc | V4L2 fourcc pixel format code to test |