#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 143 of file nvenc_h264.c.
◆ h264_nvenc_class
Initial value:= {
.class_name = "h264_nvenc",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
static const AVOption options[]
Definition at line 223 of file nvenc_h264.c.
◆ ff_h264_nvenc_encoder
Initial value:= {
.name = "h264_nvenc",
.wrapper_name = "nvenc",
}
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
av_cold int ff_nvenc_encode_close(AVCodecContext *avctx)
#define AV_CODEC_CAP_HARDWARE
Codec is backed by a hardware implementation.
static const AVClass h264_nvenc_class
int ff_nvenc_receive_packet(AVCodecContext *avctx, AVPacket *pkt)
static const AVCodecDefault defaults[]
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
enum AVPixelFormat ff_nvenc_pix_fmts[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
int ff_nvenc_send_frame(AVCodecContext *avctx, const AVFrame *frame)
av_cold int ff_nvenc_encode_init(AVCodecContext *avctx)
int ff_nvenc_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
static enum AVPixelFormat pix_fmts[]
Definition at line 230 of file nvenc_h264.c.