reactos/include/dxsdk/amva.h
Cameron Gutman c2d0d784c7 [USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup
- In the future, DO NOT under any circumstances branch another branch. This leads to merge problems!

svn path=/branches/usb-bringup-trunk/; revision=55018
2012-01-20 20:58:46 +00:00

69 lines
1.4 KiB
C

#ifndef __AMVA_INCLUDED__
#define __AMVA_INCLUDED__
#ifdef __cplusplus
extern "C" {
#endif
#define AMVA_QUERYRENDERSTATUSF_READ 0x00000001
#define AMVA_TYPEINDEX_OUTPUTFRAME 0xFFFFFFFF
typedef struct _tag_AMVABUFFERINFO
{
DWORD dwTypeIndex;
DWORD dwBufferIndex;
DWORD dwDataOffset;
DWORD dwDataSize;
} AMVABUFFERINFO, *LPAMVABUFFERINFO;
typedef struct _tag_AMVAInternalMemInfo
{
DWORD dwScratchMemAlloc;
} AMVAInternalMemInfo, *LPAMVAInternalMemInfo;
typedef struct _tag_AMVAUncompDataInfo
{
DWORD dwUncompWidth;
DWORD dwUncompHeight;
DDPIXELFORMAT ddUncompPixelFormat;
} AMVAUncompDataInfo, *LPAMVAUncompDataInfo;
typedef struct _tag_AMVAUncompBufferInfo
{
DWORD dwMinNumSurfaces;
DWORD dwMaxNumSurfaces;
DDPIXELFORMAT ddUncompPixelFormat;
} AMVAUncompBufferInfo, *LPAMVAUncompBufferInfo;
typedef struct _tag_AMVABeginFrameInfo
{
DWORD dwDestSurfaceIndex;
LPVOID pInputData;
DWORD dwSizeInputData;
LPVOID pOutputData;
DWORD dwSizeOutputData;
} AMVABeginFrameInfo, *LPAMVABeginFrameInfo;
typedef struct _tag_AMVACompBufferInfo
{
DWORD dwNumCompBuffers;
DWORD dwWidthToCreate;
DWORD dwHeightToCreate;
DWORD dwBytesToAllocate;
DDSCAPS2 ddCompCaps;
DDPIXELFORMAT ddPixelFormat;
} AMVACompBufferInfo, *LPAMVACompBufferInfo;
typedef struct _tag_AMVAEndFrameInfo
{
DWORD dwSizeMiscData;
LPVOID pMiscData;
} AMVAEndFrameInfo, *LPAMVAEndFrameInfo;
#ifdef __cplusplus
};
#endif
#endif