FFmpeg  4.0
Public Types | Data Fields
VAAPIEncodeContext Struct Reference

#include <libavcodec/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

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

◆ class

const AVClass* VAAPIEncodeContext::class

Definition at line 90 of file vaapi_encode.h.

◆ codec

const struct VAAPIEncodeType* VAAPIEncodeContext::codec

◆ va_profile

VAProfile VAAPIEncodeContext::va_profile

◆ va_entrypoint

VAEntrypoint VAAPIEncodeContext::va_entrypoint

◆ va_rt_format

unsigned int VAAPIEncodeContext::va_rt_format

◆ va_rc_mode

unsigned int VAAPIEncodeContext::va_rc_mode

◆ va_packed_headers

unsigned int VAAPIEncodeContext::va_packed_headers

◆ surface_width

int VAAPIEncodeContext::surface_width

◆ surface_height

int VAAPIEncodeContext::surface_height

◆ priv_data

void* VAAPIEncodeContext::priv_data

◆ config_attributes

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().

◆ nb_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().

◆ va_config

VAConfigID VAAPIEncodeContext::va_config

◆ va_context

VAContextID VAAPIEncodeContext::va_context

◆ device_ref

AVBufferRef* VAAPIEncodeContext::device_ref

◆ device

AVHWDeviceContext* VAAPIEncodeContext::device

Definition at line 127 of file vaapi_encode.h.

Referenced by ff_vaapi_encode_init().

◆ hwctx

AVVAAPIDeviceContext* VAAPIEncodeContext::hwctx

◆ input_frames_ref

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().

◆ input_frames

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().

◆ recon_frames_ref

AVBufferRef* VAAPIEncodeContext::recon_frames_ref

◆ recon_frames

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().

◆ output_buffer_pool

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().

◆ global_params

VAEncMiscParameterBuffer* VAAPIEncodeContext::global_params[MAX_GLOBAL_PARAMS]

◆ global_params_size

size_t VAAPIEncodeContext::global_params_size[MAX_GLOBAL_PARAMS]

◆ nb_global_params

int VAAPIEncodeContext::nb_global_params

◆ misc

VAEncMiscParameterBuffer VAAPIEncodeContext::misc

Definition at line 149 of file vaapi_encode.h.

Referenced by ff_vaapi_encode_init(), and vaapi_encode_init_rate_control().

◆ rc

VAEncMiscParameterRateControl VAAPIEncodeContext::rc

Definition at line 150 of file vaapi_encode.h.

Referenced by vaapi_encode_init_rate_control().

◆ rc_params

struct { ... } VAAPIEncodeContext::rc_params

◆ hrd

VAEncMiscParameterHRD VAAPIEncodeContext::hrd

◆ hrd_params

struct { ... } VAAPIEncodeContext::hrd_params

◆ fr

VAEncMiscParameterFrameRate VAAPIEncodeContext::fr

Definition at line 158 of file vaapi_encode.h.

Referenced by vaapi_encode_init_rate_control().

◆ fr_params

struct { ... } VAAPIEncodeContext::fr_params

◆ codec_sequence_params

void* VAAPIEncodeContext::codec_sequence_params

◆ codec_picture_params

void* VAAPIEncodeContext::codec_picture_params

◆ pic_start

VAAPIEncodePicture* VAAPIEncodeContext::pic_start

◆ pic_end

VAAPIEncodePicture * VAAPIEncodeContext::pic_end

◆ input_order

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().

◆ output_delay

int64_t VAAPIEncodeContext::output_delay

Definition at line 180 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2(), and ff_vaapi_encode_init().

◆ decode_delay

int64_t VAAPIEncodeContext::decode_delay

Definition at line 182 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2(), and ff_vaapi_encode_init().

◆ output_order

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().

◆ issue_mode

enum { ... } VAAPIEncodeContext::issue_mode

◆ first_pts

int64_t VAAPIEncodeContext::first_pts

Definition at line 197 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2().

◆ dts_pts_diff

int64_t VAAPIEncodeContext::dts_pts_diff

Definition at line 198 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2().

◆ ts_ring

int64_t VAAPIEncodeContext::ts_ring[MAX_REORDER_DELAY *3]

Definition at line 199 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2().

◆ p_per_i

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().

◆ b_per_p

int VAAPIEncodeContext::b_per_p

◆ force_idr

int VAAPIEncodeContext::force_idr

Definition at line 204 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2(), and vaapi_encode_get_next().

◆ gop_counter

int VAAPIEncodeContext::gop_counter

Definition at line 205 of file vaapi_encode.h.

Referenced by vaapi_encode_get_next().

◆ p_counter

int VAAPIEncodeContext::p_counter

Definition at line 206 of file vaapi_encode.h.

Referenced by vaapi_encode_get_next().

◆ end_of_stream

int VAAPIEncodeContext::end_of_stream

Definition at line 207 of file vaapi_encode.h.

Referenced by ff_vaapi_encode2().

◆ codec_options

void* VAAPIEncodeContext::codec_options

◆ codec_options_data

char VAAPIEncodeContext::codec_options_data[0]

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