#include "libavutil/internal.h"
#include "avcodec.h"
#include "internal.h"
#include "nvenc.h"
Go to the source code of this file.
◆ OFFSET
◆ VE
◆ options
◆ defaults
Initial value:= {
{ "b", "2M" },
{ "qmin", "-1" },
{ "qmax", "-1" },
{ "qdiff", "-1" },
{ "qblur", "-1" },
{ "qcomp", "-1" },
{ "g", "250" },
{ "bf", "-1" },
{ "refs", "0" },
}
Definition at line 202 of file nvenc_h264.c.
◆ h264_nvenc_class
Initial value:= {
.class_name = "h264_nvenc",
}
Definition at line 215 of file nvenc_h264.c.
◆ ff_h264_nvenc_encoder
const AVCodec ff_h264_nvenc_encoder |
Initial value:= {
.name = "h264_nvenc",
.wrapper_name = "nvenc",
}
Definition at line 222 of file nvenc_h264.c.
#define AV_CODEC_CAP_HARDWARE
Codec is backed by a hardware implementation.
static const AVCodecDefault defaults[]
enum AVPixelFormat ff_nvenc_pix_fmts[]
av_cold void ff_nvenc_encode_flush(AVCodecContext *avctx)
#define AV_CODEC_CAP_ENCODER_FLUSH
This encoder can be flushed using avcodec_flush_buffers().
static const AVClass h264_nvenc_class
av_cold int ff_nvenc_encode_init(AVCodecContext *avctx)
static enum AVPixelFormat pix_fmts[]
#define LIBAVUTIL_VERSION_INT
av_cold int ff_nvenc_encode_close(AVCodecContext *avctx)
const char * av_default_item_name(void *ptr)
Return the context name.
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
const AVCodecHWConfigInternal *const ff_nvenc_hw_configs[]
static const AVOption options[]
int ff_nvenc_receive_packet(AVCodecContext *avctx, AVPacket *pkt)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...