#include "libavutil/internal.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "amfenc.h"
#include "codec_internal.h"
#include <AMF/components/PreAnalysis.h>
Go to the source code of this file.
◆ OFFSET
◆ VE
◆ amf_encode_init_hevc()
Color Range (Support for older Drivers)
Color Depth
Color Transfer Characteristics (AMF matches ISO/IEC)
Color Primaries (AMF matches ISO/IEC)
Definition at line 157 of file amfenc_hevc.c.
◆ options
◆ defaults
Initial value:= {
{ "refs", "-1" },
{ "aspect", "0" },
{ "b", "0" },
{ "g", "-1" },
{ "slices", "1" },
{ "qmin", "-1" },
{ "qmax", "-1" },
{ "flags", "+loop"},
}
Definition at line 507 of file amfenc_hevc.c.
◆ hevc_amf_class
Initial value:= {
.class_name = "hevc_amf",
}
Definition at line 518 of file amfenc_hevc.c.
◆ ff_hevc_amf_encoder
Initial value:= {
.p.name = "hevc_amf",
.p.wrapper_name = "amf",
}
Definition at line 525 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.
@ AVCOL_RANGE_JPEG
Full range content.
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[]
@ AVCOL_RANGE_MPEG
Narrow or limited range content.
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...