FFmpeg
|
#include "config.h"
#include "config_components.h"
#include "libavutil/common.h"
#include "libavutil/error.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_cuda_internal.h"
#include "libavutil/cuda_check.h"
#include "libavutil/pixdesc.h"
#include "libavutil/pixfmt.h"
#include "avcodec.h"
#include "decode.h"
#include "nvdec.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | NVDECDecoder |
struct | NVDECFramePool |
Macros | |
#define | cudaVideoSurfaceFormat_YUV444 2 |
#define | cudaVideoSurfaceFormat_YUV444_16Bit 3 |
#define | CHECK_CU(x) FF_CUDA_CHECK_DL(logctx, decoder->cudl, x) |
#define CHECK_CU | ( | x | ) | FF_CUDA_CHECK_DL(logctx, decoder->cudl, x) |
Definition at line 63 of file nvdec.c.
Referenced by ff_nvdec_decode_init(), and ff_nvdec_frame_params().
|
static |
Definition at line 83 of file nvdec.c.
Referenced by ff_nvdec_decode_init(), and ff_nvdec_frame_params().
|
static |
Definition at line 102 of file nvdec.c.
Referenced by nvdec_decoder_create().
|
static |
Definition at line 162 of file nvdec.c.
Referenced by nvdec_decoder_create().
|
static |
Definition at line 182 of file nvdec.c.
Referenced by ff_nvdec_decode_init().
|
static |
Definition at line 246 of file nvdec.c.
Referenced by ff_nvdec_decode_init().
int ff_nvdec_decode_uninit | ( | AVCodecContext * | avctx | ) |
Definition at line 263 of file nvdec.c.
Referenced by ff_nvdec_decode_init().
|
static |
Definition at line 282 of file nvdec.c.
Referenced by nvdec_init_hwframes().
|
static |
Definition at line 287 of file nvdec.c.
Referenced by nvdec_init_hwframes().
|
static |
Definition at line 292 of file nvdec.c.
Referenced by ff_nvdec_decode_init().
int ff_nvdec_decode_init | ( | AVCodecContext * | avctx | ) |
Definition at line 331 of file nvdec.c.
Referenced by nvdec_hevc_decode_init().
|
static |
Definition at line 443 of file nvdec.c.
Referenced by ff_nvdec_start_frame(), and ff_nvdec_start_frame_sep_ref().
|
static |
Definition at line 457 of file nvdec.c.
Referenced by nvdec_retrieve_data().
Definition at line 481 of file nvdec.c.
Referenced by ff_nvdec_start_frame().
int ff_nvdec_start_frame | ( | AVCodecContext * | avctx, |
AVFrame * | frame | ||
) |
Definition at line 560 of file nvdec.c.
Referenced by ff_nvdec_start_frame_sep_ref(), nvdec_h264_start_frame(), nvdec_hevc_start_frame(), nvdec_mjpeg_start_frame(), nvdec_mpeg12_start_frame(), nvdec_mpeg4_start_frame(), nvdec_vc1_start_frame(), nvdec_vp8_start_frame(), and nvdec_vp9_start_frame().
int ff_nvdec_start_frame_sep_ref | ( | AVCodecContext * | avctx, |
AVFrame * | frame, | ||
int | has_sep_ref | ||
) |
Definition at line 602 of file nvdec.c.
Referenced by nvdec_av1_start_frame().
int ff_nvdec_end_frame | ( | AVCodecContext * | avctx | ) |
Definition at line 636 of file nvdec.c.
Referenced by ff_nvdec_simple_end_frame().
int ff_nvdec_simple_end_frame | ( | AVCodecContext * | avctx | ) |
int ff_nvdec_simple_decode_slice | ( | AVCodecContext * | avctx, |
const uint8_t * | buffer, | ||
uint32_t | size | ||
) |
Definition at line 674 of file nvdec.c.
Referenced by nvdec_mjpeg_start_frame(), and nvdec_mpeg4_start_frame().
int ff_nvdec_frame_params | ( | AVCodecContext * | avctx, |
AVBufferRef * | hw_frames_ctx, | ||
int | dpb_size, | ||
int | supports_444 | ||
) |
Definition at line 696 of file nvdec.c.
Referenced by nvdec_av1_frame_params(), nvdec_h264_frame_params(), nvdec_hevc_frame_params(), nvdec_mjpeg_frame_params(), nvdec_mpeg12_frame_params(), nvdec_mpeg4_frame_params(), nvdec_vc1_frame_params(), nvdec_vp8_frame_params(), and nvdec_vp9_frame_params().
Definition at line 748 of file nvdec.c.
Referenced by nvdec_av1_start_frame(), nvdec_mpeg12_start_frame(), nvdec_mpeg4_start_frame(), nvdec_vc1_start_frame(), nvdec_vp9_start_frame(), and safe_get_ref_idx().