mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
69 lines
1.4 KiB
C
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
|