World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
hwcontext_d3d11va.h
См. документацию.
1 /*
2  * This file is part of FFmpeg.
3  *
4  * FFmpeg is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * FFmpeg is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with FFmpeg; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
19 #ifndef AVUTIL_HWCONTEXT_D3D11VA_H
20 #define AVUTIL_HWCONTEXT_D3D11VA_H
21 
39 #include <d3d11.h>
40 #include <stdint.h>
41 
45 typedef struct AVD3D11VADeviceContext {
56  ID3D11Device *device;
57 
64  ID3D11DeviceContext *device_context;
65 
72  ID3D11VideoDevice *video_device;
73 
80  ID3D11VideoContext *video_context;
81 
94  void (*lock)(void *lock_ctx);
95  void (*unlock)(void *lock_ctx);
96  void *lock_ctx;
98 
109 typedef struct AVD3D11FrameDescriptor {
117  ID3D11Texture2D *texture;
118 
125  intptr_t index;
127 
131 typedef struct AVD3D11VAFramesContext {
152  ID3D11Texture2D *texture;
153 
160  UINT BindFlags;
161 
166  UINT MiscFlags;
168 
169 #endif /* AVUTIL_HWCONTEXT_D3D11VA_H */
AVD3D11VADeviceContext::unlock
void(* unlock)(void *lock_ctx)
Definition: hwcontext_d3d11va.h:95
AVD3D11VAFramesContext::texture
ID3D11Texture2D * texture
Definition: hwcontext_d3d11va.h:152
AVD3D11VADeviceContext::lock_ctx
void * lock_ctx
Definition: hwcontext_d3d11va.h:96
AVD3D11VAFramesContext
Definition: hwcontext_d3d11va.h:131
AVD3D11VAFramesContext
struct AVD3D11VAFramesContext AVD3D11VAFramesContext
AVD3D11VADeviceContext::device
ID3D11Device * device
Definition: hwcontext_d3d11va.h:56
AVD3D11VADeviceContext
struct AVD3D11VADeviceContext AVD3D11VADeviceContext
AVD3D11VADeviceContext::video_context
ID3D11VideoContext * video_context
Definition: hwcontext_d3d11va.h:80
AVD3D11VADeviceContext
Definition: hwcontext_d3d11va.h:45
AVD3D11VADeviceContext::device_context
ID3D11DeviceContext * device_context
Definition: hwcontext_d3d11va.h:64
void
typedef void(SDLCALL *SDL_AudioFilter)(struct SDL_AudioCVT *cvt
AVD3D11VADeviceContext::video_device
ID3D11VideoDevice * video_device
Definition: hwcontext_d3d11va.h:72
AVD3D11VADeviceContext::lock
void(* lock)(void *lock_ctx)
Definition: hwcontext_d3d11va.h:94
AVD3D11FrameDescriptor::texture
ID3D11Texture2D * texture
Definition: hwcontext_d3d11va.h:117
AVD3D11VAFramesContext::MiscFlags
UINT MiscFlags
Definition: hwcontext_d3d11va.h:166
AVD3D11VAFramesContext::BindFlags
UINT BindFlags
Definition: hwcontext_d3d11va.h:160
AVD3D11FrameDescriptor
struct AVD3D11FrameDescriptor AVD3D11FrameDescriptor
AVD3D11FrameDescriptor::index
intptr_t index
Definition: hwcontext_d3d11va.h:125
AVD3D11FrameDescriptor
Definition: hwcontext_d3d11va.h:109