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

VAAPI-specific data associated with a frame pool. More...

#include <hwcontext_vaapi.h>

Data Fields

VASurfaceAttrib * attributes
 Set by the user to apply surface attributes to all surfaces in the frame pool. More...
 
int nb_attributes
 
VASurfaceID * surface_ids
 The surfaces IDs of all surfaces in the pool after creation. More...
 
int nb_surfaces
 

Detailed Description

VAAPI-specific data associated with a frame pool.

Allocated as AVHWFramesContext.hwctx.

Definition at line 88 of file hwcontext_vaapi.h.

Field Documentation

VASurfaceAttrib* AVVAAPIFramesContext::attributes

Set by the user to apply surface attributes to all surfaces in the frame pool.

If null, default settings are used.

Definition at line 93 of file hwcontext_vaapi.h.

Referenced by vaapi_frames_init().

int AVVAAPIFramesContext::nb_attributes

Definition at line 94 of file hwcontext_vaapi.h.

Referenced by vaapi_frames_init().

VASurfaceID* AVVAAPIFramesContext::surface_ids

The surfaces IDs of all surfaces in the pool after creation.

Only valid if AVHWFramesContext.initial_pool_size was positive. These are intended to be used as the render_targets arguments to vaCreateContext().

Definition at line 101 of file hwcontext_vaapi.h.

Referenced by ff_vaapi_decode_init(), ff_vaapi_encode_init(), ff_vaapi_vpp_config_output(), qsv_frames_derive_from(), qsv_frames_derive_to(), qsv_init_child_ctx(), vaapi_frames_init(), vaapi_frames_uninit(), and vaapi_pool_alloc().

int AVVAAPIFramesContext::nb_surfaces

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