FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AmfContext Struct Reference

AMF encoder context. More...

#include <amfenc.h>

Data Fields

AVClassavclass
 
amf_handle library
 handle to DLL library More...
 
AMFFactory * factory
 pointer to AMF factory More...
 
AMFDebug * debug
 pointer to AMF debug interface More...
 
AMFTrace * trace
 pointer to AMF trace interface More...
 
amf_uint64 version
 version of AMF runtime More...
 
AmfTraceWriter tracer
 AMF writer registered with AMF. More...
 
AMFContext * context
 AMF context. More...
 
AMFComponent * encoder
 AMF encoder object. More...
 
amf_bool eof
 flag indicating EOF happened More...
 
AMF_SURFACE_FORMAT format
 AMF surface format. More...
 
AVBufferRefhw_device_ctx
 pointer to HW accelerator (decoder) More...
 
AVBufferRefhw_frames_ctx
 pointer to HW accelerator (frame allocator) More...
 
int delayed_drain
 
AMFSurface * delayed_surface
 
AVFramedelayed_frame
 
AVFifoBuffertimestamp_list
 
int64_t dts_delay
 
int log_to_dbg
 
int usage
 
int profile
 
int level
 
int preanalysis
 
int quality
 
int b_frame_delta_qp
 
int ref_b_frame_delta_qp
 
int rate_control_mode
 
int enforce_hrd
 
int filler_data
 
int enable_vbaq
 
int skip_frame
 
int qp_i
 
int qp_p
 
int qp_b
 
int max_au_size
 
int header_spacing
 
int b_frame_ref
 
int intra_refresh_mb
 
int coding_mode
 
int me_half_pel
 
int me_quarter_pel
 
int aud
 
int gops_per_idr
 
int header_insertion_mode
 
int min_qp_i
 
int max_qp_i
 
int min_qp_p
 
int max_qp_p
 
int tier
 

Detailed Description

AMF encoder context.

Definition at line 46 of file amfenc.h.

Field Documentation

AVClass* AmfContext::avclass

Definition at line 47 of file amfenc.h.

amf_handle AmfContext::library

handle to DLL library

Definition at line 49 of file amfenc.h.

Referenced by amf_load_library(), ff_amf_encode_close(), and ff_amf_encode_init().

AMFFactory* AmfContext::factory

pointer to AMF factory

Definition at line 50 of file amfenc.h.

Referenced by amf_init_context(), amf_init_encoder(), amf_load_library(), ff_amf_encode_close(), and ff_amf_encode_init().

AMFDebug* AmfContext::debug

pointer to AMF debug interface

Definition at line 51 of file amfenc.h.

Referenced by amf_load_library(), ff_amf_encode_close(), and ff_amf_encode_init().

AMFTrace* AmfContext::trace

pointer to AMF trace interface

Definition at line 52 of file amfenc.h.

Referenced by amf_init_context(), amf_load_library(), ff_amf_encode_close(), and ff_amf_encode_init().

amf_uint64 AmfContext::version

version of AMF runtime

Definition at line 54 of file amfenc.h.

Referenced by amf_load_library(), ff_amf_encode_close(), and ff_amf_encode_init().

AmfTraceWriter AmfContext::tracer

AMF writer registered with AMF.

Definition at line 55 of file amfenc.h.

Referenced by amf_init_context(), and ff_amf_encode_init().

AMFContext* AmfContext::context

AMF context.

Definition at line 56 of file amfenc.h.

Referenced by amf_init_context(), amf_init_encoder(), ff_amf_encode_close(), ff_amf_encode_init(), and ff_amf_send_frame().

AMFComponent* AmfContext::encoder
amf_bool AmfContext::eof

flag indicating EOF happened

Definition at line 59 of file amfenc.h.

Referenced by amf_load_library(), ff_amf_encode_init(), ff_amf_receive_packet(), and ff_amf_send_frame().

AMF_SURFACE_FORMAT AmfContext::format

AMF surface format.

Definition at line 60 of file amfenc.h.

Referenced by amf_encode_init_h264(), amf_encode_init_hevc(), amf_init_encoder(), ff_amf_encode_init(), and ff_amf_send_frame().

AVBufferRef* AmfContext::hw_device_ctx

pointer to HW accelerator (decoder)

Definition at line 62 of file amfenc.h.

Referenced by amf_init_context(), amf_load_library(), ff_amf_encode_close(), and ff_amf_send_frame().

AVBufferRef* AmfContext::hw_frames_ctx

pointer to HW accelerator (frame allocator)

Definition at line 63 of file amfenc.h.

Referenced by amf_init_context(), amf_load_library(), ff_amf_encode_close(), and ff_amf_send_frame().

int AmfContext::delayed_drain
AMFSurface* AmfContext::delayed_surface
AVFrame* AmfContext::delayed_frame
AVFifoBuffer* AmfContext::timestamp_list
int64_t AmfContext::dts_delay

Definition at line 72 of file amfenc.h.

Referenced by amf_copy_buffer(), and amf_load_library().

int AmfContext::log_to_dbg

Definition at line 76 of file amfenc.h.

Referenced by amf_init_context().

int AmfContext::usage

Definition at line 79 of file amfenc.h.

Referenced by amf_encode_init_h264(), and amf_encode_init_hevc().

int AmfContext::profile

Definition at line 80 of file amfenc.h.

Referenced by amf_encode_init_h264(), and amf_encode_init_hevc().

int AmfContext::level

Definition at line 81 of file amfenc.h.

Referenced by amf_encode_init_h264(), and amf_encode_init_hevc().

int AmfContext::preanalysis

Definition at line 82 of file amfenc.h.

Referenced by amf_encode_init_h264(), and amf_encode_init_hevc().

int AmfContext::quality

Definition at line 83 of file amfenc.h.

Referenced by amf_encode_init_h264(), and amf_encode_init_hevc().

int AmfContext::b_frame_delta_qp

Definition at line 84 of file amfenc.h.

Referenced by amf_encode_init_h264().

int AmfContext::ref_b_frame_delta_qp

Definition at line 85 of file amfenc.h.

Referenced by amf_encode_init_h264().

int AmfContext::rate_control_mode

Definition at line 89 of file amfenc.h.

Referenced by amf_encode_init_h264(), and amf_encode_init_hevc().

int AmfContext::enforce_hrd

Definition at line 90 of file amfenc.h.

Referenced by amf_encode_init_h264(), and amf_encode_init_hevc().

int AmfContext::filler_data

Definition at line 91 of file amfenc.h.

Referenced by amf_encode_init_h264(), and amf_encode_init_hevc().

int AmfContext::enable_vbaq

Definition at line 92 of file amfenc.h.

Referenced by amf_encode_init_h264(), and amf_encode_init_hevc().

int AmfContext::skip_frame

Definition at line 93 of file amfenc.h.

Referenced by amf_encode_init_h264(), and amf_encode_init_hevc().

int AmfContext::qp_i

Definition at line 94 of file amfenc.h.

Referenced by amf_encode_init_h264(), and amf_encode_init_hevc().

int AmfContext::qp_p

Definition at line 95 of file amfenc.h.

Referenced by amf_encode_init_h264(), and amf_encode_init_hevc().

int AmfContext::qp_b

Definition at line 96 of file amfenc.h.

Referenced by amf_encode_init_h264().

int AmfContext::max_au_size

Definition at line 97 of file amfenc.h.

Referenced by amf_encode_init_h264(), and amf_encode_init_hevc().

int AmfContext::header_spacing

Definition at line 98 of file amfenc.h.

Referenced by amf_encode_init_h264().

int AmfContext::b_frame_ref

Definition at line 99 of file amfenc.h.

Referenced by amf_encode_init_h264().

int AmfContext::intra_refresh_mb

Definition at line 100 of file amfenc.h.

Referenced by amf_encode_init_h264().

int AmfContext::coding_mode

Definition at line 101 of file amfenc.h.

Referenced by amf_encode_init_h264().

int AmfContext::me_half_pel

Definition at line 102 of file amfenc.h.

Referenced by amf_encode_init_h264(), and amf_encode_init_hevc().

int AmfContext::me_quarter_pel

Definition at line 103 of file amfenc.h.

Referenced by amf_encode_init_h264(), and amf_encode_init_hevc().

int AmfContext::aud

Definition at line 104 of file amfenc.h.

Referenced by ff_amf_send_frame().

int AmfContext::gops_per_idr

Definition at line 108 of file amfenc.h.

Referenced by amf_encode_init_hevc().

int AmfContext::header_insertion_mode

Definition at line 109 of file amfenc.h.

Referenced by amf_encode_init_hevc().

int AmfContext::min_qp_i

Definition at line 110 of file amfenc.h.

Referenced by amf_encode_init_hevc().

int AmfContext::max_qp_i

Definition at line 111 of file amfenc.h.

Referenced by amf_encode_init_hevc().

int AmfContext::min_qp_p

Definition at line 112 of file amfenc.h.

Referenced by amf_encode_init_hevc().

int AmfContext::max_qp_p

Definition at line 113 of file amfenc.h.

Referenced by amf_encode_init_hevc().

int AmfContext::tier

Definition at line 114 of file amfenc.h.

Referenced by amf_encode_init_hevc().


The documentation for this struct was generated from the following file: