Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
31d11d80
Commit
31d11d80
authored
Mar 31, 2023
by
Paul Gofman
Committed by
Alexandre Julliard
Apr 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf/tests: Test h264 decoder with dxgi device manager.
parent
9ab38049
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
1 deletion
+7
-1
Makefile.in
dlls/mf/tests/Makefile.in
+1
-1
mf.c
dlls/mf/tests/mf.c
+4
-0
mf_test.h
dlls/mf/tests/mf_test.h
+2
-0
transform.c
dlls/mf/tests/transform.c
+0
-0
No files found.
dlls/mf/tests/Makefile.in
View file @
31d11d80
TESTDLL
=
mf.dll
IMPORTS
=
mf mfplat dmoguids mfuuid strmiids uuid wmcodecdspuuid ole32 user32 propsys msdmo
IMPORTS
=
mf mfplat dmoguids mfuuid strmiids uuid wmcodecdspuuid ole32 user32 propsys msdmo
d3d11
C_SRCS
=
\
mf.c
\
...
...
dlls/mf/tests/mf.c
View file @
31d11d80
...
...
@@ -45,6 +45,7 @@ extern GUID DMOVideoFormat_RGB32;
HRESULT
(
WINAPI
*
pMFCreateSampleCopierMFT
)(
IMFTransform
**
copier
);
HRESULT
(
WINAPI
*
pMFGetTopoNodeCurrentType
)(
IMFTopologyNode
*
node
,
DWORD
stream
,
BOOL
output
,
IMFMediaType
**
type
);
HRESULT
(
WINAPI
*
pMFCreateDXGIDeviceManager
)(
UINT
*
token
,
IMFDXGIDeviceManager
**
manager
);
BOOL
has_video_processor
;
static
BOOL
is_vista
(
void
)
...
...
@@ -6467,6 +6468,9 @@ void init_functions(void)
#define X(f) p##f = (void*)GetProcAddress(mod, #f)
X
(
MFCreateSampleCopierMFT
);
X
(
MFGetTopoNodeCurrentType
);
mod
=
GetModuleHandleA
(
"mfplat.dll"
);
X
(
MFCreateDXGIDeviceManager
);
#undef X
hr
=
CoInitialize
(
NULL
);
...
...
dlls/mf/tests/mf_test.h
View file @
31d11d80
...
...
@@ -32,6 +32,8 @@
extern
HRESULT
(
WINAPI
*
pMFCreateSampleCopierMFT
)(
IMFTransform
**
copier
);
extern
HRESULT
(
WINAPI
*
pMFGetTopoNodeCurrentType
)(
IMFTopologyNode
*
node
,
DWORD
stream
,
BOOL
output
,
IMFMediaType
**
type
);
extern
HRESULT
(
WINAPI
*
pMFCreateDXGIDeviceManager
)(
UINT
*
token
,
IMFDXGIDeviceManager
**
manager
);
extern
BOOL
has_video_processor
;
void
init_functions
(
void
);
...
...
dlls/mf/tests/transform.c
View file @
31d11d80
This diff is collapsed.
Click to expand it.
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