Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
be2b0b1c
Commit
be2b0b1c
authored
Feb 13, 2020
by
Biswapriyo Nath
Committed by
Alexandre Julliard
Feb 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/dxva2api.idl: Add function declarations.
Signed-off-by:
Biswapriyo Nath
<
nathbappai@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fc8e9bac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
1 deletion
+31
-1
dxva2api.idl
include/dxva2api.idl
+31
-1
No files found.
include/dxva2api.idl
View file @
be2b0b1c
...
@@ -96,7 +96,7 @@ cpp_quote("#define DXVA2_ModeVC1_VLD DXVA2_ModeVC1_D")
...
@@ -96,7 +96,7 @@ cpp_quote("#define DXVA2_ModeVC1_VLD DXVA2_ModeVC1_D")
cpp_quote
(
"DEFINE_GUID(DXVA2_ModeVC1_D2010, 0x1b81bea4, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);"
)
cpp_quote
(
"DEFINE_GUID(DXVA2_ModeVC1_D2010, 0x1b81bea4, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);"
)
/*
Encryption
*/
/*
Encryption
*/
cpp_quote
(
"DEFINE_GUID(DXVA
_NoEncrypt,
0x1b81bed0, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);"
)
cpp_quote
(
"DEFINE_GUID(DXVA
2_NoEncrypt,
0x1b81bed0, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);"
)
cpp_quote
(
"DEFINE_GUID(DXVA2_VideoProcProgressiveDevice, 0x5a54a0c9, 0xc7ec,0x4bd9, 0x8e,0xde,0xf3,0xc7,0x5d,0xc4,0x39,0x3b);"
)
cpp_quote
(
"DEFINE_GUID(DXVA2_VideoProcProgressiveDevice, 0x5a54a0c9, 0xc7ec,0x4bd9, 0x8e,0xde,0xf3,0xc7,0x5d,0xc4,0x39,0x3b);"
)
cpp_quote
(
"DEFINE_GUID(DXVA2_VideoProcBobDevice, 0x335aa36e, 0x7884,0x43a4, 0x9c,0x91,0x7f,0x87,0xfa,0xf3,0xe3,0x7e);"
)
cpp_quote
(
"DEFINE_GUID(DXVA2_VideoProcBobDevice, 0x335aa36e, 0x7884,0x43a4, 0x9c,0x91,0x7f,0x87,0xfa,0xf3,0xe3,0x7e);"
)
...
@@ -520,6 +520,8 @@ typedef struct _DXVA2_VideoProcessBltParams
...
@@ -520,6 +520,8 @@ typedef struct _DXVA2_VideoProcessBltParams
DWORD
DestData
;
DWORD
DestData
;
}
DXVA2_VideoProcessBltParams
;
}
DXVA2_VideoProcessBltParams
;
cpp_quote
(
"#ifdef _D3D9_H_"
)
typedef
struct
_DXVA2_VideoSample
typedef
struct
_DXVA2_VideoSample
{
{
REFERENCE_TIME
Start
;
REFERENCE_TIME
Start
;
...
@@ -795,3 +797,31 @@ interface IDirectXVideoMemoryConfiguration : IUnknown
...
@@ -795,3 +797,31 @@ interface IDirectXVideoMemoryConfiguration : IUnknown
HRESULT
SetSurfaceType
(
HRESULT
SetSurfaceType
(
[
in
]
DXVA2_SurfaceType
dwType
)
;
[
in
]
DXVA2_SurfaceType
dwType
)
;
}
}
cpp_quote
(
"HRESULT WINAPI DXVA2CreateDirect3DDeviceManager9(UINT *pResetToken,IDirect3DDeviceManager9 **ppDXVAManager);"
)
cpp_quote
(
"HRESULT WINAPI DXVA2CreateVideoService(IDirect3DDevice9 *pDD,REFIID riid,void **ppService);"
)
cpp_quote
(
"#endif"
)
cpp_quote
(
"static inline DXVA2_Fixed32 DXVA2_Fixed32OpaqueAlpha(void) {"
)
cpp_quote
(
" DXVA2_Fixed32 f32;"
)
cpp_quote
(
" f32.ll = 0 + (1 << 16);"
)
cpp_quote
(
" return f32;"
)
cpp_quote
(
"}"
)
cpp_quote
(
""
)
cpp_quote
(
"static inline DXVA2_Fixed32 DXVA2_Fixed32TransparentAlpha(void) {"
)
cpp_quote
(
" DXVA2_Fixed32 f32;"
)
cpp_quote
(
" f32.ll = 0;"
)
cpp_quote
(
" return f32;"
)
cpp_quote
(
"}"
)
cpp_quote
(
""
)
cpp_quote
(
"static inline float DXVA2FixedToFloat(DXVA2_Fixed32 f32) {"
)
cpp_quote
(
" return (float)f32.Value + (float)f32.Fraction / (1 << 16);"
)
cpp_quote
(
"}"
)
cpp_quote
(
""
)
cpp_quote
(
"static inline DXVA2_Fixed32 DXVA2FloatToFixed(float f) {"
)
cpp_quote
(
" DXVA2_Fixed32 f32;"
)
cpp_quote
(
" f32.Value = ((ULONG) (f * (1 << 16))) >> 16;"
)
cpp_quote
(
" f32.Fraction = ((ULONG) (f * (1 << 16))) & 0xFFFF;"
)
cpp_quote
(
" return f32;"
)
cpp_quote
(
"}"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment