#include "config.h"
#include <fcntl.h>
#include <sys/mman.h>
#include <unistd.h>
#include <drm.h>
#include <xf86drm.h>
#include "avassert.h"
#include "hwcontext.h"
#include "hwcontext_drm.h"
#include "hwcontext_internal.h"
#include "imgutils.h"
#include "mem.h"
Go to the source code of this file.
|
static void | drm_device_free (AVHWDeviceContext *hwdev) |
|
static int | drm_device_create (AVHWDeviceContext *hwdev, const char *device, AVDictionary *opts, int flags) |
|
static int | drm_get_buffer (AVHWFramesContext *hwfc, AVFrame *frame) |
|
static void | drm_unmap_frame (AVHWFramesContext *hwfc, HWMapDescriptor *hwmap) |
|
static int | drm_map_frame (AVHWFramesContext *hwfc, AVFrame *dst, const AVFrame *src, int flags) |
|
static int | drm_transfer_get_formats (AVHWFramesContext *ctx, enum AVHWFrameTransferDirection dir, enum AVPixelFormat **formats) |
|
static int | drm_transfer_data_from (AVHWFramesContext *hwfc, AVFrame *dst, const AVFrame *src) |
|
static int | drm_transfer_data_to (AVHWFramesContext *hwfc, AVFrame *dst, const AVFrame *src) |
|
static int | drm_map_from (AVHWFramesContext *hwfc, AVFrame *dst, const AVFrame *src, int flags) |
|
◆ drm_device_free()
◆ drm_device_create()
◆ drm_get_buffer()
◆ drm_unmap_frame()
◆ drm_map_frame()
◆ drm_transfer_get_formats()
◆ drm_transfer_data_from()
◆ drm_transfer_data_to()
◆ drm_map_from()
◆ ff_hwcontext_type_drm
static int drm_device_create(AVHWDeviceContext *hwdev, const char *device, AVDictionary *opts, int flags)
static int drm_transfer_get_formats(AVHWFramesContext *ctx, enum AVHWFrameTransferDirection dir, enum AVPixelFormat **formats)
static int drm_transfer_data_to(AVHWFramesContext *hwfc, AVFrame *dst, const AVFrame *src)
static int drm_get_buffer(AVHWFramesContext *hwfc, AVFrame *frame)
static int drm_map_from(AVHWFramesContext *hwfc, AVFrame *dst, const AVFrame *src, int flags)
static int drm_transfer_data_from(AVHWFramesContext *hwfc, AVFrame *dst, const AVFrame *src)