World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Файл hwcontext_vaapi.h

См. исходные тексты.

Классы

struct  AVVAAPIDeviceContext
 
struct  AVVAAPIFramesContext
 
struct  AVVAAPIHWConfig
 

Определения типов

typedef struct AVVAAPIDeviceContext AVVAAPIDeviceContext
 
typedef struct AVVAAPIFramesContext AVVAAPIFramesContext
 
typedef struct AVVAAPIHWConfig AVVAAPIHWConfig
 

Перечисления

enum  { AV_VAAPI_DRIVER_QUIRK_USER_SET = (1 << 0), AV_VAAPI_DRIVER_QUIRK_RENDER_PARAM_BUFFERS = (1 << 1), AV_VAAPI_DRIVER_QUIRK_ATTRIB_MEMTYPE = (1 << 2), AV_VAAPI_DRIVER_QUIRK_SURFACE_ATTRIBUTES = (1 << 3) }
 

Подробное описание

API-specific header for AV_HWDEVICE_TYPE_VAAPI.

Dynamic frame pools are supported, but note that any pool used as a render target is required to be of fixed size in order to be be usable as an argument to vaCreateContext().

For user-allocated pools, AVHWFramesContext.pool must return AVBufferRefs with the data pointer set to a VASurfaceID.

См. определение в файле hwcontext_vaapi.h

Типы

◆ AVVAAPIDeviceContext

VAAPI connection details.

Allocated as AVHWDeviceContext.hwctx

◆ AVVAAPIFramesContext

VAAPI-specific data associated with a frame pool.

Allocated as AVHWFramesContext.hwctx.

◆ AVVAAPIHWConfig

VAAPI hardware pipeline configuration details.

Allocated with av_hwdevice_hwconfig_alloc().

Перечисления

◆ anonymous enum

anonymous enum
Элементы перечислений
AV_VAAPI_DRIVER_QUIRK_USER_SET 

The quirks field has been set by the user and should not be detected automatically by av_hwdevice_ctx_init().

AV_VAAPI_DRIVER_QUIRK_RENDER_PARAM_BUFFERS 

The driver does not destroy parameter buffers when they are used by vaRenderPicture(). Additional code will be required to destroy them separately afterwards.

AV_VAAPI_DRIVER_QUIRK_ATTRIB_MEMTYPE 

The driver does not support the VASurfaceAttribMemoryType attribute, so the surface allocation code will not try to use it.

AV_VAAPI_DRIVER_QUIRK_SURFACE_ATTRIBUTES 

The driver does not support surface attributes at all. The surface allocation code will never pass them to surface allocation, and the results of the vaQuerySurfaceAttributes() call will be faked.

См. определение в файле hwcontext_vaapi.h строка 36

AV_VAAPI_DRIVER_QUIRK_USER_SET
@ AV_VAAPI_DRIVER_QUIRK_USER_SET
Definition: hwcontext_vaapi.h:41
AV_VAAPI_DRIVER_QUIRK_ATTRIB_MEMTYPE
@ AV_VAAPI_DRIVER_QUIRK_ATTRIB_MEMTYPE
Definition: hwcontext_vaapi.h:53
AV_VAAPI_DRIVER_QUIRK_SURFACE_ATTRIBUTES
@ AV_VAAPI_DRIVER_QUIRK_SURFACE_ATTRIBUTES
Definition: hwcontext_vaapi.h:60
AV_VAAPI_DRIVER_QUIRK_RENDER_PARAM_BUFFERS
@ AV_VAAPI_DRIVER_QUIRK_RENDER_PARAM_BUFFERS
Definition: hwcontext_vaapi.h:47