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
38aeedcc
Commit
38aeedcc
authored
May 25, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add IMFMediaEngineEx definition.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6ceb6c7f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
79 additions
and
0 deletions
+79
-0
mfmediaengine.idl
include/mfmediaengine.idl
+73
-0
mftransform.idl
include/mftransform.idl
+6
-0
No files found.
include/mfmediaengine.idl
View file @
38aeedcc
...
...
@@ -194,6 +194,79 @@ interface IMFMediaEngine : IUnknown
HRESULT
OnVideoStreamTick
(
[
out
]
LONGLONG
*
time
)
;
}
typedef
enum
MF_MEDIA_ENGINE_STATISTIC
{
MF_MEDIA_ENGINE_STATISTIC_FRAMES_RENDERED
,
MF_MEDIA_ENGINE_STATISTIC_FRAMES_DROPPED
,
MF_MEDIA_ENGINE_STATISTIC_BYTES_DOWNLOADED
,
MF_MEDIA_ENGINE_STATISTIC_BUFFER_PROGRESS
,
MF_MEDIA_ENGINE_STATISTIC_FRAMES_PER_SECOND
,
MF_MEDIA_ENGINE_STATISTIC_PLAYBACK_JITTER
,
MF_MEDIA_ENGINE_STATISTIC_FRAMES_CORRUPTED
,
MF_MEDIA_ENGINE_STATISTIC_TOTAL_FRAME_DELAY
,
}
MF_MEDIA_ENGINE_STATISTIC
;
typedef
enum
MF_MEDIA_ENGINE_S3D_PACKING_MODE
{
MF_MEDIA_ENGINE_S3D_PACKING_MODE_NONE
,
MF_MEDIA_ENGINE_S3D_PACKING_MODE_SIDE_BY_SIDE
,
MF_MEDIA_ENGINE_S3D_PACKING_MODE_TOP_BOTTOM
}
MF_MEDIA_ENGINE_S3D_PACKING_MODE
;
typedef
enum
MF_MEDIA_ENGINE_SEEK_MODE
{
MF_MEDIA_ENGINE_SEEK_MODE_NORMAL
,
MF_MEDIA_ENGINE_SEEK_MODE_APPROXIMATE
,
}
MF_MEDIA_ENGINE_SEEK_MODE
;
[
object
,
uuid
(
83015
ead
-
b1e6
-
40
d0
-
a98a
-
37145
ffe1ad1
),
local
,
pointer_default
(
unique
)
]
interface
IMFMediaEngineEx
:
IMFMediaEngine
{
HRESULT
SetSourceFromByteStream
(
[
in
]
IMFByteStream
*
bytestream
,
[
in
]
BSTR
url
)
;
HRESULT
GetStatistics
(
[
in
]
MF_MEDIA_ENGINE_STATISTIC
stat_id
,
[
out
]
PROPVARIANT
*
stat
)
;
HRESULT
UpdateVideoStream
(
[
in
]
const
MFVideoNormalizedRect
*
src
,
[
in
]
const
RECT
*
dst
,
[
in
]
const
MFARGB
*
border_color
)
;
double
GetBalance
()
;
HRESULT
SetBalance
(
[
in
]
double
balance
)
;
BOOL
IsPlaybackRateSupported
(
[
in
]
double
rate
)
;
HRESULT
FrameStep
(
[
in
]
BOOL
forward
)
;
HRESULT
GetResourceCharacteristics
(
[
out
]
DWORD
*
flags
)
;
HRESULT
GetPresentationAttribute
(
[
in
]
REFGUID
attribute
,
[
out
]
PROPVARIANT
*
value
)
;
HRESULT
GetNumberOfStreams
(
[
out
]
DWORD
*
stream_count
)
;
HRESULT
GetStreamAttribute
(
[
in
]
DWORD
stream_index
,
[
in
]
REFGUID
attribute
,
[
out
]
PROPVARIANT
*
value
)
;
HRESULT
GetStreamSelection
(
[
in
]
DWORD
stream_index
,
[
out
]
BOOL
*
enabled
)
;
HRESULT
SetStreamSelection
(
[
in
]
DWORD
stream_index
,
[
in
]
BOOL
enabled
)
;
HRESULT
ApplyStreamSelections
()
;
HRESULT
IsProtected
(
[
out
]
BOOL
*
protected
)
;
HRESULT
InsertVideoEffect
(
[
in
]
IUnknown
*
effect
,
[
in
]
BOOL
is_optional
)
;
HRESULT
InsertAudioEffect
(
[
in
]
IUnknown
*
effect
,
[
in
]
BOOL
is_optional
)
;
HRESULT
RemoveAllEffects
()
;
HRESULT
SetTimelineMarkerTimer
(
[
in
]
double
timeout
)
;
HRESULT
GetTimelineMarkerTimer
(
[
out
]
double
*
timeout
)
;
HRESULT
CancelTimelineMarkerTimer
()
;
BOOL
IsStereo3D
()
;
HRESULT
GetStereo3DFramePackingMode
(
[
out
]
MF_MEDIA_ENGINE_S3D_PACKING_MODE
*
mode
)
;
HRESULT
SetStereo3DFramePackingMode
(
[
in
]
MF_MEDIA_ENGINE_S3D_PACKING_MODE
mode
)
;
HRESULT
GetStereo3DRenderMode
(
[
out
]
MF3DVideoOutputType
*
output_type
)
;
HRESULT
SetStereo3DRenderMode
(
[
in
]
MF3DVideoOutputType
output_type
)
;
HRESULT
EnableWindowlessSwapchainMode
(
[
in
]
BOOL
enable
)
;
HRESULT
GetVideoSwapchainHandle
(
[
out
]
HANDLE
*
swapchain
)
;
HRESULT
EnableHorizontalMirrorMode
(
[
in
]
BOOL
enable
)
;
HRESULT
GetAudioStreamCategory
(
[
out
]
UINT32
*
category
)
;
HRESULT
SetAudioStreamCategory
(
[
in
]
UINT32
category
)
;
HRESULT
GetAudioEndpointRole
(
[
out
]
UINT32
*
role
)
;
HRESULT
SetAudioEndpointRole
(
[
in
]
UINT32
role
)
;
HRESULT
GetRealTimeMode
(
[
out
]
BOOL
*
enabled
)
;
HRESULT
SetRealTimeMode
(
[
in
]
BOOL
enable
)
;
HRESULT
SetCurrentTimeEx
(
[
in
]
double
seektime
,
[
in
]
MF_MEDIA_ENGINE_SEEK_MODE
mode
)
;
HRESULT
EnableTimeUpdateTimer
(
[
in
]
BOOL
enable
)
;
}
[
object
,
uuid
(
4
d645ace
-
26
aa
-
4688
-
9b
e1
-
df3516990b93
),
...
...
include/mftransform.idl
View file @
38aeedcc
...
...
@@ -107,6 +107,12 @@ enum _MFT_DRAIN_TYPE
MFT_DRAIN_NO_TAILS
=
0
x00000001
}
;
typedef
enum
_MF3DVideoOutputType
{
MF3DVideoOutputType_BaseView
,
MF3DVideoOutputType_Stereo
}
MF3DVideoOutputType
;
typedef
struct
_MFT_INPUT_STREAM_INFO
{
LONGLONG
hnsMaxLatency
;
...
...
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