X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=dispatch%2Fdxvaint.h;h=8a5ecfdcf5c4a3821d2dfc0dc5efbe4fc2742555;hb=48c661ea6c0f2bd9b76a3385cd946b7d07bc9b5f;hp=ad11304361d979a76dcdbfda165eb9ec01daf790;hpb=cbe34810938b91291bc46a5de5535057b869f750;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: