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
 
VAProfile va_profile
 
VAEntrypoint va_entrypoint
 
unsigned int va_rt_format
 
unsigned int va_rc_mode
 
unsigned int va_packed_headers
 
int surface_width
 
int surface_height
 
voidpriv_data
 
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 p_per_i
 
int b_per_p
 
int force_idr
 
int gop_counter
 
int p_counter
 
int end_of_stream
 
voidcodec_options
 
char codec_options_data [0]
 

Detailed Description

Definition at line 89 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 186 of file vaapi_encode.h.

Field Documentation

const AVClass* VAAPIEncodeContext::class

Definition at line 90 of file vaapi_encode.h.

const struct VAAPIEncodeType* VAAPIEncodeContext::codec
VAProfile VAAPIEncodeContext::va_profile
VAEntrypoint VAAPIEncodeContext::va_entrypoint
unsigned int VAAPIEncodeContext::va_rt_format
unsigned int VAAPIEncodeContext::va_rc_mode
unsigned int VAAPIEncodeContext::va_packed_headers
int VAAPIEncodeContext::surface_width
int VAAPIEncodeContext::surface_height
void* VAAPIEncodeContext::priv_data
VAConfigAttrib VAAPIEncodeContext::config_attributes[MAX_CONFIG_ATTRIBUTES]

Definition at line 120 of file vaapi_encode.h.

Referenced by ff_vaapi_encode_init(), and vaapi_encode_config_attributes().

int VAAPIEncodeContext::nb_config_attributes

Definition at line 121 of file vaapi_encode.h.

Referenced by ff_vaapi_encode_init(), and vaapi_encode_config_attributes().

VAConfigID VAAPIEncodeContext::va_config
VAContextID VAAPIEncodeContext::va_context
AVBufferRef* VAAPIEncodeContext::device_ref
AVHWDeviceContext* VAAPIEncodeContext::device

Definition at line 127 of file vaapi_encode.h.

Referenced by ff_vaapi_encode_init().

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

Definition at line 131 of file vaapi_encode.h.

Referenced by ff_vaapi_encode_close(), and ff_vaapi_encode_init().

AVHWFramesContext* VAAPIEncodeContext::input_frames

Definition at line 132 of file vaapi_encode.h.

Referenced by ff_vaapi_encode_init(), and vaapi_encode_create_recon_frames().

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

Definition at line 136 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 139 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]
size_t VAAPIEncodeContext::global_params_size[MAX_GLOBAL_PARAMS]
int VAAPIEncodeContext::nb_global_params
VAEncMiscParameterBuffer VAAPIEncodeContext::misc

Definition at line 149 of file vaapi_encode.h.

Referenced by ff_vaapi_encode_init(), and vaapi_encode_init_rate_control().

VAEncMiscParameterRateControl VAAPIEncodeContext::rc

Definition at line 150 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 158 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 178 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 180 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2(), and ff_vaapi_encode_init().

int64_t VAAPIEncodeContext::decode_delay

Definition at line 182 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2(), and ff_vaapi_encode_init().

int64_t VAAPIEncodeContext::output_order

Definition at line 184 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 197 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2().

int64_t VAAPIEncodeContext::dts_pts_diff

Definition at line 198 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2().

int64_t VAAPIEncodeContext::ts_ring[MAX_REORDER_DELAY *3]

Definition at line 199 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2().

int VAAPIEncodeContext::p_per_i

Definition at line 202 of file vaapi_encode.h.

Referenced by ff_vaapi_encode_init(), and vaapi_encode_get_next().

int VAAPIEncodeContext::b_per_p
int VAAPIEncodeContext::force_idr

Definition at line 204 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2(), and vaapi_encode_get_next().

int VAAPIEncodeContext::gop_counter

Definition at line 205 of file vaapi_encode.h.

Referenced by vaapi_encode_get_next().

int VAAPIEncodeContext::p_counter

Definition at line 206 of file vaapi_encode.h.

Referenced by vaapi_encode_get_next().

int VAAPIEncodeContext::end_of_stream

Definition at line 207 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2().

void* VAAPIEncodeContext::codec_options
char VAAPIEncodeContext::codec_options_data[0]

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