xref: /reactos/sdk/include/dxsdk/amva.h (revision c2c66aff)
1 #ifndef __AMVA_INCLUDED__
2 #define __AMVA_INCLUDED__
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #define AMVA_QUERYRENDERSTATUSF_READ    0x00000001
9 #define AMVA_TYPEINDEX_OUTPUTFRAME      0xFFFFFFFF
10 
11 
12 typedef struct _tag_AMVABUFFERINFO
13 {
14   DWORD dwTypeIndex;
15   DWORD dwBufferIndex;
16   DWORD dwDataOffset;
17   DWORD dwDataSize;
18 } AMVABUFFERINFO, *LPAMVABUFFERINFO;
19 
20 typedef struct _tag_AMVAInternalMemInfo
21 {
22   DWORD  dwScratchMemAlloc;
23 } AMVAInternalMemInfo, *LPAMVAInternalMemInfo;
24 
25 typedef struct _tag_AMVAUncompDataInfo
26 {
27   DWORD dwUncompWidth;
28   DWORD dwUncompHeight;
29   DDPIXELFORMAT ddUncompPixelFormat;
30 } AMVAUncompDataInfo, *LPAMVAUncompDataInfo;
31 
32 typedef struct _tag_AMVAUncompBufferInfo
33 {
34   DWORD dwMinNumSurfaces;
35   DWORD dwMaxNumSurfaces;
36   DDPIXELFORMAT ddUncompPixelFormat;
37 } AMVAUncompBufferInfo, *LPAMVAUncompBufferInfo;
38 
39 typedef struct _tag_AMVABeginFrameInfo
40 {
41   DWORD dwDestSurfaceIndex;
42   LPVOID pInputData;
43   DWORD dwSizeInputData;
44   LPVOID pOutputData;
45   DWORD dwSizeOutputData;
46 } AMVABeginFrameInfo, *LPAMVABeginFrameInfo;
47 
48 typedef struct _tag_AMVACompBufferInfo
49 {
50   DWORD dwNumCompBuffers;
51   DWORD dwWidthToCreate;
52   DWORD dwHeightToCreate;
53   DWORD dwBytesToAllocate;
54   DDSCAPS2 ddCompCaps;
55   DDPIXELFORMAT ddPixelFormat;
56 } AMVACompBufferInfo, *LPAMVACompBufferInfo;
57 
58 typedef struct _tag_AMVAEndFrameInfo
59 {
60   DWORD dwSizeMiscData;
61   LPVOID pMiscData;
62 } AMVAEndFrameInfo, *LPAMVAEndFrameInfo;
63 
64 
65 #ifdef __cplusplus
66 };
67 #endif
68 
69 #endif
70