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
b437c8e9
Commit
b437c8e9
authored
May 31, 2017
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jun 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/mfapi.h: Add standard GUID defines.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ac38f7fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
mfapi.h
include/mfapi.h
+34
-0
No files found.
include/mfapi.h
View file @
b437c8e9
...
...
@@ -23,10 +23,44 @@
#include <mmreg.h>
#include <avrt.h>
#if !defined(MF_VERSION)
/* Default to Windows XP */
#define MF_SDK_VERSION 0x0001
#define MF_API_VERSION 0x0070
#define MF_VERSION (MF_SDK_VERSION << 16 | MF_API_VERSION)
#endif
#define MFSTARTUP_NOSOCKET 0x1
#define MFSTARTUP_LITE (MFSTARTUP_NOSOCKET)
#define MFSTARTUP_FULL 0
#ifndef MAKEFOURCC
#define MAKEFOURCC(ch0, ch1, ch2, ch3) \
((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \
((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))
#endif
#define DEFINE_MEDIATYPE_GUID(name, format) \
DEFINE_GUID(name, format, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
#ifndef DIRECT3D_VERSION
#define D3DFMT_X8R8G8B8 22
#endif
DEFINE_MEDIATYPE_GUID
(
MFVideoFormat_WMV3
,
MAKEFOURCC
(
'W'
,
'M'
,
'V'
,
'3'
));
DEFINE_MEDIATYPE_GUID
(
MFVideoFormat_RGB32
,
D3DFMT_X8R8G8B8
);
DEFINE_GUID
(
MF_MT_AVG_BITRATE
,
0x20332624
,
0xfb0d
,
0x4d9e
,
0xbd
,
0x0d
,
0xcb
,
0xf6
,
0x78
,
0x6c
,
0x10
,
0x2e
);
DEFINE_GUID
(
MF_MT_FRAME_RATE
,
0xc459a2e8
,
0x3d2c
,
0x4e44
,
0xb1
,
0x32
,
0xfe
,
0xe5
,
0x15
,
0x6c
,
0x7b
,
0xb0
);
DEFINE_GUID
(
MF_MT_FRAME_SIZE
,
0x1652c33d
,
0xd6b2
,
0x4012
,
0xb8
,
0x34
,
0x72
,
0x03
,
0x08
,
0x49
,
0xa3
,
0x7d
);
DEFINE_GUID
(
MF_MT_INTERLACE_MODE
,
0xe2724bb8
,
0xe676
,
0x4806
,
0xb4
,
0xb2
,
0xa8
,
0xd6
,
0xef
,
0xb4
,
0x4c
,
0xcd
);
DEFINE_GUID
(
MF_MT_MAJOR_TYPE
,
0x48eba18e
,
0xf8c9
,
0x4687
,
0xbf
,
0x11
,
0x0a
,
0x74
,
0xc9
,
0xf9
,
0x6a
,
0x8f
);
DEFINE_GUID
(
MF_MT_PIXEL_ASPECT_RATIO
,
0xc6376a1e
,
0x8d0a
,
0x4027
,
0xbe
,
0x45
,
0x6d
,
0x9a
,
0x0a
,
0xd3
,
0x9b
,
0xb6
);
DEFINE_GUID
(
MF_MT_SUBTYPE
,
0xf7e34c9a
,
0x42e8
,
0x4714
,
0xb7
,
0x4b
,
0xcb
,
0x29
,
0xd7
,
0x2c
,
0x35
,
0xe5
);
DEFINE_GUID
(
MFMediaType_Video
,
0x73646976
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
typedef
unsigned
__int64
MFWORKITEM_KEY
;
HRESULT
WINAPI
MFCancelWorkItem
(
MFWORKITEM_KEY
key
);
...
...
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