World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Классы | |
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
typedef struct AVVAAPIDeviceContext AVVAAPIDeviceContext |
VAAPI connection details.
Allocated as AVHWDeviceContext.hwctx
typedef struct AVVAAPIFramesContext AVVAAPIFramesContext |
VAAPI-specific data associated with a frame pool.
Allocated as AVHWFramesContext.hwctx.
typedef struct AVVAAPIHWConfig AVVAAPIHWConfig |
VAAPI hardware pipeline configuration details.
Allocated with av_hwdevice_hwconfig_alloc().
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