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
3f01ab4c
Commit
3f01ab4c
authored
May 19, 2017
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
May 19, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/mfreadwrite.idl: Add interface IMFSinkWriter.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3b9e49b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
mfreadwrite.idl
include/mfreadwrite.idl
+40
-0
No files found.
include/mfreadwrite.idl
View file @
3f01ab4c
...
...
@@ -31,6 +31,26 @@ enum
MF_SOURCE_READER_CURRENT_TYPE_INDEX
=
0
xffffffff
}
;
typedef
struct
_MF_SINK_WRITER_STATISTICS
{
DWORD
cb
;
LONGLONG
llLastTimestampReceived
;
LONGLONG
llLastTimestampEncoded
;
LONGLONG
llLastTimestampProcessed
;
LONGLONG
llLastStreamTickReceived
;
LONGLONG
llLastSinkSampleRequest
;
QWORD
qwNumSamplesReceived
;
QWORD
qwNumSamplesEncoded
;
QWORD
qwNumSamplesProcessed
;
QWORD
qwNumStreamTicksReceived
;
DWORD
dwByteCountQueued
;
QWORD
qwByteCountProcessed
;
DWORD
dwNumOutstandingSinkSampleRequests
;
DWORD
dwAverageSampleRateReceived
;
DWORD
dwAverageSampleRateEncoded
;
DWORD
dwAverageSampleRateProcessed
;
}
MF_SINK_WRITER_STATISTICS
;
interface
IMFMediaSource
;
[
...
...
@@ -53,5 +73,25 @@ interface IMFSourceReader : IUnknown
HRESULT
GetPresentationAttribute
(
[
in
]
DWORD
index
,
[
in
]
REFGUID
guid
,
[
out
]
PROPVARIANT
*
attr
)
;
}
;
[
object
,
uuid
(
3137
f1cd
-
fe5e
-
4805
-
a5d8
-
fb477448cb3d
),
local
]
interface
IMFSinkWriter
:
IUnknown
{
HRESULT
AddStream
(
[
in
]
IMFMediaType
*
type
,
[
out
]
DWORD
*
index
)
;
HRESULT
SetInputMediaType
(
[
in
]
DWORD
index
,
[
in
]
IMFMediaType
*
type
,
[
in
]
IMFAttributes
*
parameters
)
;
HRESULT
BeginWriting
(
void
)
;
HRESULT
WriteSample
(
[
in
]
DWORD
index
,
[
in
]
IMFSample
*
sample
)
;
HRESULT
SendStreamTick
(
[
in
]
DWORD
index
,
[
in
]
LONGLONG
timestamp
)
;
HRESULT
PlaceMarker
(
[
in
]
DWORD
index
,
[
in
]
void
*
context
)
;
HRESULT
NotifyEndOfSegment
(
[
in
]
DWORD
index
)
;
HRESULT
Flush
(
[
in
]
DWORD
index
)
;
HRESULT
Finalize
(
void
)
;
HRESULT
GetServiceForStream
(
[
in
]
DWORD
index
,
[
in
]
REFGUID
service
,
[
in
]
REFIID
riid
,
[
out
]
void
**
object
)
;
HRESULT
GetStatistics
(
[
in
]
DWORD
index
,
[
out
]
MF_SINK_WRITER_STATISTICS
*
stats
)
;
}
;
cpp_quote
(
"HRESULT WINAPI MFCreateSourceReaderFromMediaSource(IMFMediaSource *source, IMFAttributes *attributes,"
)
cpp_quote
(
" IMFSourceReader **reader);"
)
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