FFmpeg
|
#include "compat/cuda/dynlink_loader.h"
#include "libavutil/buffer.h"
#include "libavutil/mathematics.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_cuda_internal.h"
#include "libavutil/fifo.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "decode.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | CuvidContext |
struct | CuvidParsedFrame |
Macros | |
#define | CHECK_CU(x) check_cu(avctx, (x), #x) |
#define | OFFSET(x) offsetof(CuvidContext, x) |
#define | VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
#define | DEFINE_CUVID_CODEC(x, X) |
Functions | |
static int | check_cu (AVCodecContext *avctx, CUresult err, const char *func) |
static int CUDAAPI | cuvid_handle_video_sequence (void *opaque, CUVIDEOFORMAT *format) |
static int CUDAAPI | cuvid_handle_picture_decode (void *opaque, CUVIDPICPARAMS *picparams) |
static int CUDAAPI | cuvid_handle_picture_display (void *opaque, CUVIDPARSERDISPINFO *dispinfo) |
static int | cuvid_is_buffer_full (AVCodecContext *avctx) |
static int | cuvid_decode_packet (AVCodecContext *avctx, const AVPacket *avpkt) |
static int | cuvid_output_frame (AVCodecContext *avctx, AVFrame *frame) |
static int | cuvid_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | cuvid_decode_end (AVCodecContext *avctx) |
static int | cuvid_test_capabilities (AVCodecContext *avctx, const CUVIDPARSERPARAMS *cuparseinfo, int probed_width, int probed_height, int bit_depth) |
static av_cold int | cuvid_decode_init (AVCodecContext *avctx) |
static void | cuvid_flush (AVCodecContext *avctx) |
Variables | |
static const AVOption | options [] |
#define CHECK_CU | ( | x | ) | check_cu(avctx, (x), #x) |
Definition at line 117 of file cuvid.c.
Referenced by cuvid_decode_init(), cuvid_handle_picture_decode(), cuvid_output_frame(), and cuvid_test_capabilities().
#define OFFSET | ( | x | ) | offsetof(CuvidContext, x) |
#define VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
|
static |
|
static |
Definition at line 119 of file cuvid.c.
Referenced by cuvid_decode_init().
|
static |
Definition at line 335 of file cuvid.c.
Referenced by cuvid_decode_init().
|
static |
Definition at line 349 of file cuvid.c.
Referenced by cuvid_decode_init().
|
static |
Definition at line 372 of file cuvid.c.
Referenced by cuvid_output_frame().
|
static |
Definition at line 379 of file cuvid.c.
Referenced by cuvid_decode_frame(), and cuvid_output_frame().
|
static |
Definition at line 469 of file cuvid.c.
Referenced by cuvid_decode_frame().
|
static |
|
static |
Definition at line 675 of file cuvid.c.
Referenced by cuvid_decode_init().
|
static |
Definition at line 700 of file cuvid.c.
Referenced by cuvid_decode_init().
|
static |
|
static |
|
static |