FFmpeg
|
#include "libavutil/buffer.h"
#include "libavutil/mathematics.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_cuda.h"
#include "libavutil/fifo.h"
#include "libavutil/log.h"
#include "avcodec.h"
#include "internal.h"
#include <nvcuvid.h>
Go to the source code of this file.
Data Structures | |
struct | CuvidContext |
Macros | |
#define | MAX_FRAME_COUNT 20 |
#define | CHECK_CU(x) check_cu(avctx, (x), #x) |
#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_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | cuvid_decode_end (AVCodecContext *avctx) |
static void | cuvid_ctx_free (AVHWDeviceContext *ctx) |
static int | cuvid_test_dummy_decoder (AVCodecContext *avctx, CUVIDPARSERPARAMS *cuparseinfo) |
static av_cold int | cuvid_decode_init (AVCodecContext *avctx) |
#define MAX_FRAME_COUNT 20 |
Definition at line 34 of file cuvid.c.
Referenced by cuvid_decode_init(), cuvid_handle_video_sequence(), and cuvid_test_dummy_decoder().
#define CHECK_CU | ( | x | ) | check_cu(avctx, (x), #x) |
Definition at line 75 of file cuvid.c.
Referenced by cuvid_decode_init(), cuvid_handle_picture_decode(), cuvid_handle_video_sequence(), and cuvid_test_dummy_decoder().
#define DEFINE_CUVID_CODEC | ( | x, | |
X | |||
) |
|
static |
Definition at line 77 of file cuvid.c.
Referenced by cuvid_decode_init().
Definition at line 180 of file cuvid.c.
Referenced by cuvid_decode_init().
|
static |
Definition at line 194 of file cuvid.c.
Referenced by cuvid_decode_init().
|
static |
|
static |
Definition at line 392 of file cuvid.c.
Referenced by cuvid_decode_init().
|
static |
Definition at line 413 of file cuvid.c.
Referenced by cuvid_decode_init().
|
static |
Definition at line 419 of file cuvid.c.
Referenced by cuvid_decode_init().
|
static |