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 53 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 58 of file hwcontext_vaapi.h.

Referenced by vaapi_frames_init().

int AVVAAPIFramesContext::nb_attributes

Definition at line 59 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 66 of file hwcontext_vaapi.h.

Referenced by ff_vaapi_encode_init(), qsv_init_child_ctx(), scale_vaapi_config_output(), vaapi_decode_init(), 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: