#include "libavutil/internal.h"
#include "avcodec.h"
#include "internal.h"
#include "nvenc.h"
Go to the source code of this file.
◆ OFFSET
◆ VE
◆ nvenc_old_init()
◆ options
◆ defaults
Initial value:= {
{ "b", "2M" },
{ "qmin", "-1" },
{ "qmax", "-1" },
{ "qdiff", "-1" },
{ "qblur", "-1" },
{ "qcomp", "-1" },
{ "g", "250" },
{ "bf", "0" },
{ "refs", "0" },
}
Definition at line 133 of file nvenc_hevc.c.
◆ nvenc_hevc_class
Initial value:= {
.class_name = "nvenc_hevc",
}
Definition at line 154 of file nvenc_hevc.c.
◆ ff_nvenc_hevc_encoder
Initial value:= {
.name = "nvenc_hevc",
.wrapper_name = "nvenc",
}
Definition at line 161 of file nvenc_hevc.c.
◆ hevc_nvenc_class
Initial value:= {
.class_name = "hevc_nvenc",
}
Definition at line 182 of file nvenc_hevc.c.
◆ ff_hevc_nvenc_encoder
Initial value:= {
.name = "hevc_nvenc",
.wrapper_name = "nvenc",
}
Definition at line 189 of file nvenc_hevc.c.
static const AVClass hevc_nvenc_class
#define AV_CODEC_CAP_HARDWARE
Codec is backed by a hardware implementation.
enum AVPixelFormat ff_nvenc_pix_fmts[]
static const AVClass nvenc_hevc_class
av_cold int ff_nvenc_encode_init(AVCodecContext *avctx)
static enum AVPixelFormat pix_fmts[]
#define LIBAVUTIL_VERSION_INT
static const AVCodecDefault defaults[]
av_cold int ff_nvenc_encode_close(AVCodecContext *avctx)
const char * av_default_item_name(void *ptr)
Return the context name.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
int ff_nvenc_receive_packet(AVCodecContext *avctx, AVPacket *pkt)
static av_cold int nvenc_old_init(AVCodecContext *avctx)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
int ff_nvenc_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
static const AVOption options[]
int ff_nvenc_send_frame(AVCodecContext *avctx, const AVFrame *frame)