#include "buffer.h"
#include "common.h"
#include "hwcontext.h"
#include "hwcontext_internal.h"
#include "hwcontext_cuda_internal.h"
#include "cuda_check.h"
#include "mem.h"
#include "pixdesc.h"
#include "pixfmt.h"
#include "imgutils.h"
Go to the source code of this file.
|
static int | cuda_frames_get_constraints (AVHWDeviceContext *ctx, const void *hwconfig, AVHWFramesConstraints *constraints) |
|
static void | cuda_buffer_free (void *opaque, uint8_t *data) |
|
static AVBufferRef * | cuda_pool_alloc (void *opaque, size_t 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 (AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src) |
|
static void | cuda_device_uninit (AVHWDeviceContext *device_ctx) |
|
static int | cuda_device_init (AVHWDeviceContext *ctx) |
|
static int | cuda_context_init (AVHWDeviceContext *device_ctx, int flags) |
|
static int | cuda_flags_from_opts (AVHWDeviceContext *device_ctx, AVDictionary *opts, int *flags) |
|
static int | cuda_device_create (AVHWDeviceContext *device_ctx, const char *device, AVDictionary *opts, int flags) |
|
static int | cuda_device_derive (AVHWDeviceContext *device_ctx, AVHWDeviceContext *src_ctx, AVDictionary *opts, int flags) |
|
◆ CHECK_CU
◆ cuda_frames_get_constraints()
◆ cuda_buffer_free()
static void cuda_buffer_free |
( |
void * |
opaque, |
|
|
uint8_t * |
data |
|
) |
| |
|
static |
◆ cuda_pool_alloc()
static AVBufferRef* cuda_pool_alloc |
( |
void * |
opaque, |
|
|
size_t |
size |
|
) |
| |
|
static |
◆ cuda_frames_init()
◆ cuda_get_buffer()
◆ cuda_transfer_get_formats()
◆ cuda_transfer_data()
◆ cuda_device_uninit()
◆ cuda_device_init()
◆ cuda_context_init()
◆ cuda_flags_from_opts()
◆ cuda_device_create()
◆ cuda_device_derive()
◆ supported_formats
◆ ff_hwcontext_type_cuda
static int cuda_device_derive(AVHWDeviceContext *device_ctx, AVHWDeviceContext *src_ctx, AVDictionary *opts, int flags)
static int cuda_transfer_get_formats(AVHWFramesContext *ctx, enum AVHWFrameTransferDirection dir, enum AVPixelFormat **formats)
static int cuda_device_init(AVHWDeviceContext *ctx)
static int cuda_transfer_data(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src)
static void cuda_device_uninit(AVHWDeviceContext *device_ctx)
This struct is allocated as AVHWDeviceContext.hwctx.
static int cuda_device_create(AVHWDeviceContext *device_ctx, const char *device, AVDictionary *opts, int flags)
static int cuda_get_buffer(AVHWFramesContext *ctx, AVFrame *frame)
static int cuda_frames_get_constraints(AVHWDeviceContext *ctx, const void *hwconfig, AVHWFramesConstraints *constraints)
static int cuda_frames_init(AVHWFramesContext *ctx)