X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=dispatch%2Fdxvaint.h;h=8a5ecfdcf5c4a3821d2dfc0dc5efbe4fc2742555;hb=1eb7673ecc412fa7358750fc3d0bb68bebe09e46;hp=ad11304361d979a76dcdbfda165eb9ec01daf790;hpb=2f0d1a3244c8953a4468759ac466b80c4965d38f;p=apitrace diff --git a/dispatch/dxvaint.h b/dispatch/dxvaint.h index ad11304..8a5ecfd 100644 --- a/dispatch/dxvaint.h +++ b/dispatch/dxvaint.h @@ -44,8 +44,6 @@ #endif -typedef struct _DXVA2_PVP_SETKEY DXVA2_PVP_SETKEY; /* XXX */ - typedef struct _DXVA2_DECODEBUFFERDESC { IDirect3DSurface9 *pRenderTarget; DWORD CompressedBufferType; @@ -112,6 +110,16 @@ static const GUID IID_IDirect3DDXVAExtensionDevice9 = {0x00000000,0x0000,0x0000, static const GUID IID_IDirect3DDxva2Container9 = {0x126D0349,0x4787,0x4AA6,{0x8E,0x1B,0x40,0xC1,0x77,0xC6,0x0A,0x01}}; +typedef struct DECLSPEC_ALIGN(16) _DXVA2_PVP_KEY128 +{ + BYTE Data[16]; +} DXVA2_PVP_KEY128; + +typedef struct _DXVA2_PVP_SETKEY +{ + DXVA2_PVP_KEY128 ContentKey; +} DXVA2_PVP_SETKEY; + class IDirect3DDecodeDevice9 : public IUnknown { public: