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
db080b0c
Commit
db080b0c
authored
Oct 17, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add some more MF reader/writer API definitions.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3e7a8047
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
93 additions
and
0 deletions
+93
-0
mfreadwrite.idl
include/mfreadwrite.idl
+93
-0
No files found.
include/mfreadwrite.idl
View file @
db080b0c
...
...
@@ -46,6 +46,13 @@ typedef [v1_enum] enum MF_SOURCE_READER_FLAG
MF_SOURCE_READERF_ALLEFFECTSREMOVED
=
0
x00000200
,
}
MF_SOURCE_READER_FLAG
;
enum
{
MF_SINK_WRITER_INVALID_STREAM_INDEX
=
0
xffffffff
,
MF_SINK_WRITER_ALL_STREAMS
=
0
xfffffffe
,
MF_SINK_WRITER_MEDIASINK
=
0
xffffffff
,
}
;
typedef
struct
_MF_SINK_WRITER_STATISTICS
{
DWORD
cb
;
...
...
@@ -116,6 +123,20 @@ interface IMFSourceReaderCallback : IUnknown
[
in
]
IMFMediaEvent
*
event
)
;
}
[
object
,
uuid
(
cf839fe6
-
8
c2a
-
4
dd2
-
b6ea
-
c22d6961af05
),
local
]
interface
IMFSourceReaderCallback2
:
IMFSourceReaderCallback
{
HRESULT
OnTransformChange
()
;
HRESULT
OnStreamError
(
[
in
]
DWORD
stream_index
,
[
in
]
HRESULT
status
)
;
}
interface
IMFMediaSource
;
[
...
...
@@ -140,6 +161,32 @@ interface IMFSourceReader : IUnknown
[
object
,
uuid
(
7b981
cf0
-560e-4116
-
9875
-
b099895f23d7
),
local
]
interface
IMFSourceReaderEx
:
IMFSourceReader
{
HRESULT
SetNativeMediaType
(
[
in
]
DWORD
stream_index
,
[
in
]
IMFMediaType
*
media_type
,
[
out
]
DWORD
*
stream_flags
)
;
HRESULT
AddTransformForStream
(
[
in
]
DWORD
stream_index
,
[
in
]
IUnknown
*
transform
)
;
HRESULT
RemoveAllTransformsForStream
(
[
in
]
DWORD
stream_index
)
;
HRESULT
GetTransformForStream
(
[
in
]
DWORD
stream_index
,
[
in
]
DWORD
transform_index
,
[
out
]
GUID
*
category
,
[
out
]
IMFTransform
**
transform
)
;
}
[
object
,
uuid
(
3137
f1cd
-
fe5e
-
4805
-
a5d8
-
fb477448cb3d
),
local
]
...
...
@@ -171,6 +218,52 @@ interface IMFSinkWriterEx : IMFSinkWriter
[
object
,
uuid
(
17
c3779e
-
3
cde
-
4
ede
-
8
c60
-
3899
f5f53ad6
),
local
]
interface
IMFSinkWriterEncoderConfig
:
IUnknown
{
HRESULT
SetTargetMediaType
(
[
in
]
DWORD
stream_index
,
[
in
]
IMFMediaType
*
media_type
,
[
in
]
IMFAttributes
*
encoding_parameters
)
;
HRESULT
PlaceEncodingParameters
(
[
in
]
DWORD
stream_index
,
[
in
]
IMFAttributes
*
encoding_parameters
)
;
}
[
object
,
uuid
(
666
f76de
-
33
d2
-
41b9
-
a458
-
29
ed0a972c58
),
local
]
interface
IMFSinkWriterCallback
:
IUnknown
{
HRESULT
OnFinalize
(
[
in
]
HRESULT
status
)
;
HRESULT
OnMarker
(
[
in
]
DWORD
stream_index
,
[
in
]
void
*
context
)
;
}
[
object
,
uuid
(
2456b
d58
-
c067
-
4513
-
84
fe
-
8
d0c88ffdc61
),
local
]
interface
IMFSinkWriterCallback2
:
IMFSinkWriterCallback
{
HRESULT
OnTransformChange
()
;
HRESULT
OnStreamError
(
[
in
]
DWORD
stream_index
,
[
in
]
HRESULT
status
)
;
}
[
object
,
uuid
(
e7fe2e12
-
661
c
-
40
da
-
92
f9
-
4
f002ab67627
),
local
]
...
...
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