#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 122 of file nvenc_hevc.c.
◆ nvenc_hevc_class
Initial value:= {
.class_name = "nvenc_hevc",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
static const AVOption options[]
Definition at line 143 of file nvenc_hevc.c.
◆ ff_nvenc_hevc_encoder
Initial value:= {
.name = "nvenc_hevc",
.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 AVCodecDefault defaults[]
static av_cold int nvenc_old_init(AVCodecContext *avctx)
int ff_nvenc_receive_packet(AVCodecContext *avctx, AVPacket *pkt)
#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. ...
static const AVClass nvenc_hevc_class
int ff_nvenc_send_frame(AVCodecContext *avctx, const AVFrame *frame)
int ff_nvenc_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
static enum AVPixelFormat pix_fmts[]
Definition at line 150 of file nvenc_hevc.c.
◆ hevc_nvenc_class
Initial value:= {
.class_name = "hevc_nvenc",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
static const AVOption options[]
Definition at line 171 of file nvenc_hevc.c.
◆ ff_hevc_nvenc_encoder
Initial value:= {
.name = "hevc_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 AVCodecDefault defaults[]
int ff_nvenc_receive_packet(AVCodecContext *avctx, AVPacket *pkt)
#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. ...
static const AVClass hevc_nvenc_class
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 178 of file nvenc_hevc.c.