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
43f60885
Commit
43f60885
authored
Mar 04, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add some types used for MF pipeline objects.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
83db71eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
109 additions
and
0 deletions
+109
-0
mfidl.idl
include/mfidl.idl
+109
-0
No files found.
include/mfidl.idl
View file @
43f60885
...
...
@@ -82,6 +82,16 @@ typedef enum MFSESSION_GETFULLTOPOLOGY_FLAGS
MFSESSION_GETFULLTOPOLOGY_CURRENT
=
0
x00000001
,
}
MFSESSION_GETFULLTOPOLOGY_FLAGS
;
typedef
enum
_MF_CONNECT_METHOD
{
MF_CONNECT_DIRECT
=
0
x00000000
,
MF_CONNECT_ALLOW_CONVERTER
=
0
x00000001
,
MF_CONNECT_ALLOW_DECODER
=
0
x00000003
,
MF_CONNECT_RESOLVE_INDEPENDENT_OUTPUTTYPES
=
0
x00000004
,
MF_CONNECT_AS_OPTIONAL
=
0
x00010000
,
MF_CONNECT_AS_OPTIONAL_BRANCH
=
0
x00020000
,
}
MF_CONNECT_METHOD
;
typedef
enum
_MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS
{
MF_TOPOLOGY_RESOLUTION_SUCCEEDED
=
0
x00000000
,
...
...
@@ -642,6 +652,19 @@ interface IMFMediaSource : IMFMediaEventGenerator
[
object
,
uuid
(
3
c9b2eb9
-
86
d5
-
4514
-
a394
-
f56664f9f0d8
)
]
interface
IMFMediaSourceEx
:
IMFMediaSource
{
HRESULT
GetSourceAttributes
(
[
out
]
IMFAttributes
**
attributes
)
;
HRESULT
GetStreamAttributes
(
[
in
]
DWORD
streamid
,
[
out
]
IMFAttributes
**
attributes
)
;
HRESULT
SetD3DManager
(
[
in
]
IUnknown
*
manager
)
;
}
[
object
,
uuid
(
d182108f
-
4
ec6
-
443
f
-
aa42
-
a71106ec825f
),
]
interface
IMFMediaStream
:
IMFMediaEventGenerator
...
...
@@ -689,6 +712,16 @@ interface IMFPresentationClock : IMFClock
HRESULT
Pause
()
;
}
[
object
,
uuid
(
6
ef2a662
-
47
c0
-
4666
-
b13d
-
cbb717f2fa2c
)
]
interface
IMFClockConsumer
:
IUnknown
{
HRESULT
SetPresentationClock
(
[
in
]
IMFPresentationClock
*
clock
)
;
HRESULT
GetPresentationClock
(
[
out
]
IMFPresentationClock
**
clock
)
;
}
cpp_quote
(
"#define MEDIASINK_FIXED_STREAMS 0x00000001"
)
cpp_quote
(
"#define MEDIASINK_CANNOT_MATCH_CLOCK 0x00000002"
)
cpp_quote
(
"#define MEDIASINK_RATELESS 0x00000004"
)
...
...
@@ -732,6 +765,26 @@ interface IMFFinalizableMediaSink : IMFMediaSink
[
object
,
uuid
(
5
dfd4b2a
-
7674
-
4110
-
a4e6
-
8
a68fd5f3688
)
]
interface
IMFMediaSinkPreroll
:
IUnknown
{
HRESULT
NotifyPreroll
(
[
in
]
MFTIME
start_time
)
;
}
[
object
,
uuid
(
9
db7aa41
-
3
cc5
-
40
d4
-
8509
-
555804
ad34cc
)
]
interface
IMFStreamingSinkConfig
:
IUnknown
{
HRESULT
StartStreaming
(
[
in
]
BOOL
is_byte_offset
,
[
in
]
QWORD
seek_offset
)
;
}
[
object
,
uuid
(
0
a97b3cf
-
8
e7c
-
4
a3d
-
8
f8c
-
0
c843dc247fb
),
]
interface
IMFStreamSink
:
IMFMediaEventGenerator
...
...
@@ -786,6 +839,62 @@ interface IMFQualityManager : IUnknown
HRESULT
Shutdown
()
;
}
typedef
enum
_MF_QUALITY_DROP_MODE
{
MF_DROP_MODE_NONE
,
MF_DROP_MODE_1
,
MF_DROP_MODE_2
,
MF_DROP_MODE_3
,
MF_DROP_MODE_4
,
MF_DROP_MODE_5
,
MF_NUM_DROP_MODES
}
MF_QUALITY_DROP_MODE
;
typedef
enum
_MF_QUALITY_LEVEL
{
MF_QUALITY_NORMAL
,
MF_QUALITY_NORMAL_MINUS_1
,
MF_QUALITY_NORMAL_MINUS_2
,
MF_QUALITY_NORMAL_MINUS_3
,
MF_QUALITY_NORMAL_MINUS_4
,
MF_QUALITY_NORMAL_MINUS_5
,
MF_NUM_QUALITY_LEVELS
}
MF_QUALITY_LEVEL
;
[
object
,
uuid
(
ec15e2e9
-
e36b
-
4
f7c
-
8758
-
77
d452ef4ce7
)
]
interface
IMFQualityAdvise
:
IUnknown
{
HRESULT
SetDropMode
(
[
in
]
MF_QUALITY_DROP_MODE
mode
)
;
HRESULT
SetQualityLevel
(
[
in
]
MF_QUALITY_LEVEL
level
)
;
HRESULT
GetDropMode
(
[
out
]
MF_QUALITY_DROP_MODE
*
mode
)
;
HRESULT
GetQualityLevel
(
[
out
]
MF_QUALITY_LEVEL
*
level
)
;
HRESULT
DropTime
(
[
in
]
LONGLONG
interval
)
;
}
[
object
,
uuid
(
f3706f0d
-
8
ea2
-
4886
-
8000
-
7155
e9ec2eae
)
]
interface
IMFQualityAdvise2
:
IMFQualityAdvise
{
HRESULT
NotifyQualityEvent
(
[
in
]
IMFMediaEvent
*
event
,
[
out
]
DWORD
*
flags
)
;
}
[
object
,
uuid
(
dfcd8e4d
-
30b5
-
4567
-
acaa
-
8
eb5b7853dc9
)
]
interface
IMFQualityAdviseLimits
:
IUnknown
{
HRESULT
GetMaximumDropMode
(
[
out
]
MF_QUALITY_DROP_MODE
*
mode
)
;
HRESULT
GetMinimumQualityLevel
(
[
out
]
MF_QUALITY_LEVEL
*
level
)
;
}
typedef
struct
_MFT_REGISTRATION_INFO
{
CLSID
clsid
;
...
...
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