FFmpeg
|
#include "buffer.h"
#include "common.h"
#include "hwcontext.h"
#include "hwcontext_internal.h"
#include "hwcontext_cuda.h"
#include "mem.h"
#include "pixdesc.h"
#include "pixfmt.h"
Go to the source code of this file.
Data Structures | |
struct | CUDAFramesContext |
Macros | |
#define | CUDA_FRAME_ALIGNMENT 256 |
Functions | |
static void | cuda_buffer_free (void *opaque, uint8_t *data) |
static AVBufferRef * | cuda_pool_alloc (void *opaque, int size) |
static int | cuda_frames_init (AVHWFramesContext *ctx) |
static int | cuda_get_buffer (AVHWFramesContext *ctx, AVFrame *frame) |
static int | cuda_transfer_get_formats (AVHWFramesContext *ctx, enum AVHWFrameTransferDirection dir, enum AVPixelFormat **formats) |
static int | cuda_transfer_data_from (AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src) |
static int | cuda_transfer_data_to (AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src) |
static void | cuda_device_free (AVHWDeviceContext *ctx) |
static int | cuda_device_create (AVHWDeviceContext *ctx, const char *device, AVDictionary *opts, int flags) |
Variables | |
static enum AVPixelFormat | supported_formats [] |
const HWContextType | ff_hwcontext_type_cuda |
#define CUDA_FRAME_ALIGNMENT 256 |
Definition at line 28 of file hwcontext_cuda.c.
Referenced by cuda_frames_init(), and cuda_get_buffer().
Definition at line 40 of file hwcontext_cuda.c.
Referenced by cuda_pool_alloc().
|
static |
Definition at line 54 of file hwcontext_cuda.c.
Referenced by cuda_frames_init().
|
static |
Definition at line 85 of file hwcontext_cuda.c.
|
static |
Definition at line 124 of file hwcontext_cuda.c.
|
static |
Definition at line 167 of file hwcontext_cuda.c.
|
static |
Definition at line 185 of file hwcontext_cuda.c.
|
static |
Definition at line 223 of file hwcontext_cuda.c.
|
static |
Definition at line 261 of file hwcontext_cuda.c.
Referenced by cuda_device_create().
|
static |
Definition at line 267 of file hwcontext_cuda.c.
|
static |
Definition at line 34 of file hwcontext_cuda.c.
Referenced by cuda_frames_init().
const HWContextType ff_hwcontext_type_cuda |
Definition at line 304 of file hwcontext_cuda.c.