FFmpeg
3.3.9
|
#include "compat/nvenc/nvEncodeAPI.h"
#include "config.h"
#include "compat/cuda/dynlink_loader.h"
#include "libavutil/fifo.h"
#include "libavutil/opt.h"
#include "avcodec.h"
Go to the source code of this file.
Data Structures | |
struct | NvencSurface |
struct | NvencDynLoadFunctions |
struct | NvencContext |
Macros | |
#define | MAX_REGISTERED_FRAMES 64 |
Enumerations | |
enum | { PRESET_DEFAULT = 0, PRESET_SLOW, PRESET_MEDIUM, PRESET_FAST, PRESET_HP, PRESET_HQ, PRESET_BD, PRESET_LOW_LATENCY_DEFAULT, PRESET_LOW_LATENCY_HQ, PRESET_LOW_LATENCY_HP, PRESET_LOSSLESS_DEFAULT, PRESET_LOSSLESS_HP } |
enum | { NV_ENC_H264_PROFILE_BASELINE, NV_ENC_H264_PROFILE_MAIN, NV_ENC_H264_PROFILE_HIGH, NV_ENC_H264_PROFILE_HIGH_444P } |
enum | { NV_ENC_HEVC_PROFILE_MAIN, NV_ENC_HEVC_PROFILE_MAIN_10, NV_ENC_HEVC_PROFILE_REXT } |
enum | { NVENC_LOWLATENCY = 1, NVENC_LOSSLESS = 2, NVENC_ONE_PASS = 4, NVENC_TWO_PASSES = 8 } |
enum | { LIST_DEVICES = -2, ANY_DEVICE } |
Functions | |
int | ff_nvenc_encode_init (AVCodecContext *avctx) |
int | ff_nvenc_encode_close (AVCodecContext *avctx) |
int | ff_nvenc_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) |
Variables | |
enum AVPixelFormat | ff_nvenc_pix_fmts [] |
#define MAX_REGISTERED_FRAMES 64 |
Definition at line 32 of file nvenc.h.
Referenced by nvenc_recalc_surfaces().
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
int ff_nvenc_encode_init | ( | AVCodecContext * | avctx | ) |
Definition at line 1329 of file nvenc.c.
Referenced by nvenc_old_init().
int ff_nvenc_encode_close | ( | AVCodecContext * | avctx | ) |
Definition at line 1256 of file nvenc.c.
Referenced by nvenc_old_init().
int ff_nvenc_encode_frame | ( | AVCodecContext * | avctx, |
AVPacket * | pkt, | ||
const AVFrame * | frame, | ||
int * | got_packet | ||
) |
Definition at line 1764 of file nvenc.c.
Referenced by nvenc_old_init().
enum AVPixelFormat ff_nvenc_pix_fmts[] |
Definition at line 39 of file nvenc.c.
Referenced by nvenc_old_init().