FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Types | Data Fields
VAAPIEncodeContext Struct Reference

#include <vaapi_encode.h>

Public Types

enum  { ISSUE_MODE_SERIALISE_EVERYTHING = 0, ISSUE_MODE_MAXIMISE_THROUGHPUT, ISSUE_MODE_MINIMISE_LATENCY }
 

Data Fields

const AVClassclass
 
const struct VAAPIEncodeTypecodec
 
int low_power
 
unsigned int desired_packed_headers
 
int surface_width
 
int surface_height
 
int slice_block_width
 
int slice_block_height
 
const VAAPIEncodeProfileprofile
 
VAProfile va_profile
 
VAEntrypoint va_entrypoint
 
unsigned int va_rc_mode
 
unsigned int va_bit_rate
 
unsigned int va_packed_headers
 
VAConfigAttrib config_attributes [MAX_CONFIG_ATTRIBUTES]
 
int nb_config_attributes
 
VAConfigID va_config
 
VAContextID va_context
 
AVBufferRefdevice_ref
 
AVHWDeviceContextdevice
 
AVVAAPIDeviceContexthwctx
 
AVBufferRefinput_frames_ref
 
AVHWFramesContextinput_frames
 
AVBufferRefrecon_frames_ref
 
AVHWFramesContextrecon_frames
 
AVBufferPooloutput_buffer_pool
 
VAEncMiscParameterBuffer * global_params [MAX_GLOBAL_PARAMS]
 
size_t global_params_size [MAX_GLOBAL_PARAMS]
 
int nb_global_params
 
struct {
   VAEncMiscParameterBuffer   misc
 
   VAEncMiscParameterRateControl   rc
 
rc_params
 
struct {
   VAEncMiscParameterBuffer   misc
 
   VAEncMiscParameterHRD   hrd
 
hrd_params
 
struct {
   VAEncMiscParameterBuffer   misc
 
   VAEncMiscParameterFrameRate   fr
 
fr_params
 
voidcodec_sequence_params
 
voidcodec_picture_params
 
VAAPIEncodePicturepic_start
 
VAAPIEncodePicturepic_end
 
int64_t input_order
 
int64_t output_delay
 
int64_t decode_delay
 
int64_t output_order
 
enum VAAPIEncodeContext:: { ... }  issue_mode
 
int64_t first_pts
 
int64_t dts_pts_diff
 
int64_t ts_ring [MAX_REORDER_DELAY *3]
 
int slice_block_rows
 
int slice_block_cols
 
int nb_slices
 
int slice_size
 
int gop_size
 
int p_per_i
 
int b_per_p
 
int force_idr
 
int gop_counter
 
int p_counter
 
int end_of_stream
 

Detailed Description

Definition at line 112 of file vaapi_encode.h.

Member Enumeration Documentation

anonymous enum
Enumerator
ISSUE_MODE_SERIALISE_EVERYTHING 
ISSUE_MODE_MAXIMISE_THROUGHPUT 
ISSUE_MODE_MINIMISE_LATENCY 

Definition at line 220 of file vaapi_encode.h.

Field Documentation

const AVClass* VAAPIEncodeContext::class

Definition at line 113 of file vaapi_encode.h.

const struct VAAPIEncodeType* VAAPIEncodeContext::codec
int VAAPIEncodeContext::low_power

Definition at line 121 of file vaapi_encode.h.

Referenced by vaapi_encode_profile_entrypoint().

unsigned int VAAPIEncodeContext::desired_packed_headers
int VAAPIEncodeContext::surface_width
int VAAPIEncodeContext::surface_height
int VAAPIEncodeContext::slice_block_width
int VAAPIEncodeContext::slice_block_height
const VAAPIEncodeProfile* VAAPIEncodeContext::profile

Definition at line 140 of file vaapi_encode.h.

Referenced by vaapi_encode_profile_entrypoint().

VAProfile VAAPIEncodeContext::va_profile
VAEntrypoint VAAPIEncodeContext::va_entrypoint
unsigned int VAAPIEncodeContext::va_rc_mode
unsigned int VAAPIEncodeContext::va_bit_rate
unsigned int VAAPIEncodeContext::va_packed_headers
VAConfigAttrib VAAPIEncodeContext::config_attributes[MAX_CONFIG_ATTRIBUTES]
int VAAPIEncodeContext::nb_config_attributes
VAConfigID VAAPIEncodeContext::va_config
VAContextID VAAPIEncodeContext::va_context
AVBufferRef* VAAPIEncodeContext::device_ref
AVHWDeviceContext* VAAPIEncodeContext::device

Definition at line 161 of file vaapi_encode.h.

Referenced by ff_vaapi_encode_init().

AVVAAPIDeviceContext* VAAPIEncodeContext::hwctx
AVBufferRef* VAAPIEncodeContext::input_frames_ref

Definition at line 165 of file vaapi_encode.h.

Referenced by ff_vaapi_encode_close(), and ff_vaapi_encode_init().

AVHWFramesContext* VAAPIEncodeContext::input_frames
AVBufferRef* VAAPIEncodeContext::recon_frames_ref
AVHWFramesContext* VAAPIEncodeContext::recon_frames

Definition at line 170 of file vaapi_encode.h.

Referenced by ff_vaapi_encode_init(), and vaapi_encode_create_recon_frames().

AVBufferPool* VAAPIEncodeContext::output_buffer_pool

Definition at line 173 of file vaapi_encode.h.

Referenced by ff_vaapi_encode_close(), ff_vaapi_encode_init(), and vaapi_encode_issue().

VAEncMiscParameterBuffer* VAAPIEncodeContext::global_params[MAX_GLOBAL_PARAMS]

Definition at line 177 of file vaapi_encode.h.

Referenced by vaapi_encode_add_global_param(), and vaapi_encode_issue().

size_t VAAPIEncodeContext::global_params_size[MAX_GLOBAL_PARAMS]

Definition at line 178 of file vaapi_encode.h.

Referenced by vaapi_encode_add_global_param(), and vaapi_encode_issue().

int VAAPIEncodeContext::nb_global_params

Definition at line 179 of file vaapi_encode.h.

Referenced by vaapi_encode_add_global_param(), and vaapi_encode_issue().

VAEncMiscParameterBuffer VAAPIEncodeContext::misc

Definition at line 183 of file vaapi_encode.h.

Referenced by vaapi_encode_init_quality(), and vaapi_encode_init_rate_control().

VAEncMiscParameterRateControl VAAPIEncodeContext::rc

Definition at line 184 of file vaapi_encode.h.

Referenced by vaapi_encode_init_rate_control().

struct { ... } VAAPIEncodeContext::rc_params
VAEncMiscParameterHRD VAAPIEncodeContext::hrd
struct { ... } VAAPIEncodeContext::hrd_params
VAEncMiscParameterFrameRate VAAPIEncodeContext::fr

Definition at line 192 of file vaapi_encode.h.

Referenced by vaapi_encode_init_rate_control().

struct { ... } VAAPIEncodeContext::fr_params
void* VAAPIEncodeContext::codec_sequence_params
void* VAAPIEncodeContext::codec_picture_params
VAAPIEncodePicture* VAAPIEncodeContext::pic_start
VAAPIEncodePicture * VAAPIEncodeContext::pic_end
int64_t VAAPIEncodeContext::input_order

Definition at line 212 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2(), ff_vaapi_encode_init(), and vaapi_encode_get_next().

int64_t VAAPIEncodeContext::output_delay

Definition at line 214 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2(), and ff_vaapi_encode_init().

int64_t VAAPIEncodeContext::decode_delay

Definition at line 216 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2(), and ff_vaapi_encode_init().

int64_t VAAPIEncodeContext::output_order

Definition at line 218 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2(), ff_vaapi_encode_init(), and vaapi_encode_clear_old().

enum { ... } VAAPIEncodeContext::issue_mode
int64_t VAAPIEncodeContext::first_pts

Definition at line 231 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2().

int64_t VAAPIEncodeContext::dts_pts_diff

Definition at line 232 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2().

int64_t VAAPIEncodeContext::ts_ring[MAX_REORDER_DELAY *3]

Definition at line 233 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2().

int VAAPIEncodeContext::slice_block_rows
int VAAPIEncodeContext::slice_block_cols
int VAAPIEncodeContext::nb_slices
int VAAPIEncodeContext::slice_size
int VAAPIEncodeContext::gop_size
int VAAPIEncodeContext::p_per_i

Definition at line 243 of file vaapi_encode.h.

Referenced by vaapi_encode_get_next(), and vaapi_encode_init_gop_structure().

int VAAPIEncodeContext::b_per_p
int VAAPIEncodeContext::force_idr

Definition at line 245 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2(), and vaapi_encode_get_next().

int VAAPIEncodeContext::gop_counter

Definition at line 246 of file vaapi_encode.h.

Referenced by vaapi_encode_get_next().

int VAAPIEncodeContext::p_counter

Definition at line 247 of file vaapi_encode.h.

Referenced by vaapi_encode_get_next().

int VAAPIEncodeContext::end_of_stream

Definition at line 248 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2().


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