Go to the documentation of this file.
19 #ifndef AVCODEC_AMFENC_H
20 #define AVCODEC_AMFENC_H
22 #include <AMF/core/Factory.h>
24 #include <AMF/components/ColorSpace.h>
25 #include <AMF/components/VideoEncoderVCE.h>
26 #include <AMF/components/VideoEncoderHEVC.h>
27 #include <AMF/components/VideoEncoderAV1.h>
34 #define MAX_LOOKAHEAD_DEPTH 41
134 enum AMF_VIDEO_ENCODER_AV1_ALIGNMENT_MODE_ENUM
align;
135 enum AMF_VIDEO_ENCODER_AV1_AQ_MODE_ENUM
aq_mode;
185 #define AMF_RETURN_IF_FALSE(avctx, exp, ret_value, ...) \
187 av_log(avctx, AV_LOG_ERROR, __VA_ARGS__); \
191 #endif //AVCODEC_AMFENC_H
AVPixelFormat
Pixel format.
AMFFactory * factory
pointer to AMF factory
int hwsurfaces_in_queue_max
AMFTrace * trace
pointer to AMF trace interface
int ff_amf_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)
Ecoding one frame - common function for all AMF encoders.
This structure describes decoded (raw) audio or video data.
enum AMF_VIDEO_ENCODER_AV1_AQ_MODE_ENUM aq_mode
AMFTraceWriterVtbl * vtbl
amf_handle library
handle to DLL library
int pa_high_motion_quality_boost_mode
const AVCodecHWConfigInternal *const ff_amfenc_hw_configs[]
AMFSurface * delayed_surface
AMFDebug * debug
pointer to AMF debug interface
int pa_lookahead_buffer_depth
Describe the class of an AVClass context structure.
AVBufferRef * hw_frames_ctx
pointer to HW accelerator (frame allocator)
AMF trace writer callback class Used to capture all AMF logging.
AMF_SURFACE_FORMAT format
AMF surface format.
int pa_static_scene_detection_sensitivity
int pa_static_scene_detection
int query_timeout_supported
enum AVPixelFormat ff_amf_pix_fmts[]
Supported formats.
AMFComponent * encoder
AMF encoder object.
int pa_scene_change_detection
int max_consecutive_b_frames
int ff_amf_encode_close(AVCodecContext *avctx)
Common encoder termination function.
enum AMF_VIDEO_ENCODER_AV1_ALIGNMENT_MODE_ENUM align
main external API structure.
int header_insertion_mode
amf_uint64 version
version of AMF runtime
int ff_amf_get_color_profile(AVCodecContext *avctx)
int ff_amf_encode_init(AVCodecContext *avctx)
Common encoder initization function.
A reference to a data buffer.
int hw_high_motion_quality_boost
amf_bool eof
flag indicating EOF happened
This structure stores compressed data.
AVBufferRef * hw_device_ctx
pointer to HW accelerator (decoder)
AmfTraceWriter tracer
AMF writer registered with AMF.
AMFContext * context
AMF context.
int pa_scene_change_detection_sensitivity