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 81 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 86 of file hwcontext_vaapi.h.

Referenced by vaapi_frames_init().

int AVVAAPIFramesContext::nb_attributes

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

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