#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, 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_uninit (AVHWDeviceContext *device_ctx) |
|
static int | cuda_device_init (AVHWDeviceContext *ctx) |
|
static int | cuda_device_create (AVHWDeviceContext *device_ctx, const char *device, AVDictionary *opts, int flags) |
|
◆ CUDA_FRAME_ALIGNMENT
#define CUDA_FRAME_ALIGNMENT 256 |
◆ CHECK_CU
◆ cuda_frames_get_constraints()
◆ cuda_buffer_free()
static void cuda_buffer_free |
( |
void * |
opaque, |
|
|
uint8_t * |
data |
|
) |
| |
|
static |
◆ cuda_pool_alloc()
◆ cuda_frames_init()
◆ cuda_get_buffer()
◆ cuda_transfer_get_formats()
◆ cuda_transfer_data_from()
◆ cuda_transfer_data_to()
◆ cuda_device_uninit()
◆ cuda_device_init()
◆ cuda_device_create()
◆ supported_formats
◆ ff_hwcontext_type_cuda
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_from(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_transfer_data_to(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src)
static int cuda_frames_get_constraints(AVHWDeviceContext *ctx, const void *hwconfig, AVHWFramesConstraints *constraints)
static int cuda_frames_init(AVHWFramesContext *ctx)