#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_h264()
Color Range (Partial/TV/MPEG or Full/PC/JPEG)
VBV Buffer
Maximum Access Unit Size
Definition at line 189 of file amfenc_h264.c.
◆ options
◆ defaults
Initial value:= {
{ "refs", "-1" },
{ "aspect", "0" },
{ "qmin", "-1" },
{ "qmax", "-1" },
{ "b", "2M" },
{ "g", "250" },
{ "slices", "1" },
{ "flags", "+loop"},
}
Definition at line 507 of file amfenc_h264.c.
◆ h264_amf_class
Initial value:= {
.class_name = "h264_amf",
}
Definition at line 519 of file amfenc_h264.c.
◆ ff_h264_amf_encoder
Initial value:= {
.p.name = "h264_amf",
.p.wrapper_name = "amf",
}
Definition at line 526 of file amfenc_h264.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.
#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.
static const AVClass h264_amf_class
#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 av_cold int amf_encode_init_h264(AVCodecContext *avctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
static const FFCodecDefault defaults[]
enum AVPixelFormat ff_amf_pix_fmts[]
Supported formats.
const AVCodecHWConfigInternal *const ff_amfenc_hw_configs[]
static const AVOption options[]
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...