#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "amfenc.h"
#include "codec_internal.h"
#include "internal.h"
#include <AMF/components/PreAnalysis.h>
Go to the source code of this file.
◆ OFFSET
◆ VE
◆ amf_encode_init_hevc()
◆ options
◆ defaults
Initial value:= {
{ "refs", "-1" },
{ "aspect", "0" },
{ "b", "2M" },
{ "g", "250" },
{ "slices", "1" },
{ "qmin", "-1" },
{ "qmax", "-1" },
}
Definition at line 424 of file amfenc_hevc.c.
◆ hevc_amf_class
Initial value:= {
.class_name = "hevc_amf",
}
Definition at line 434 of file amfenc_hevc.c.
◆ ff_hevc_amf_encoder
Initial value:= {
.p.name = "hevc_amf",
.p.wrapper_name = "amf",
}
Definition at line 441 of file amfenc_hevc.c.
#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_HARDWARE
Codec is backed by a hardware implementation.
static const AVOption options[]
#define FF_CODEC_CAP_NOT_INIT_THREADSAFE
The codec is not known to be init-threadsafe (i.e.
int av_cold ff_amf_encode_close(AVCodecContext *avctx)
Common encoder termination function.
#define CODEC_LONG_NAME(str)
#define LIBAVUTIL_VERSION_INT
#define FF_CODEC_RECEIVE_PACKET_CB(func)
int ff_amf_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)
Ecoding one frame - common function for all AMF encoders.
const char * av_default_item_name(void *ptr)
Return the context name.
static const FFCodecDefault defaults[]
static av_cold int amf_encode_init_hevc(AVCodecContext *avctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
enum AVPixelFormat ff_amf_pix_fmts[]
Supported formats.
const AVCodecHWConfigInternal *const ff_amfenc_hw_configs[]
static const AVClass hevc_amf_class
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...