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
bc712170
Commit
bc712170
authored
Jul 26, 2022
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Aug 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add IMediaParams definitions.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
parent
cf41f6d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
1 deletion
+38
-1
medparam.idl
include/medparam.idl
+38
-1
No files found.
include/medparam.idl
View file @
bc712170
...
@@ -16,10 +16,11 @@
...
@@ -16,10 +16,11 @@
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
*/
import
"
unknwn
.idl"
;
import
"
strmif
.idl"
;
typedef
float
MP_DATA
;
typedef
float
MP_DATA
;
typedef
DWORD
MP_CAPS
;
typedef
DWORD
MP_CAPS
;
typedef
DWORD
MP_FLAGS
;
typedef
DWORD
MP_TIMEDATA
;
typedef
DWORD
MP_TIMEDATA
;
typedef
enum
_MP_Type
typedef
enum
_MP_Type
...
@@ -42,6 +43,28 @@ typedef struct _MP_PARAMINFO
...
@@ -42,6 +43,28 @@ typedef struct _MP_PARAMINFO
WCHAR
szLabel
[
32
]
;
WCHAR
szLabel
[
32
]
;
}
MP_PARAMINFO
;
}
MP_PARAMINFO
;
typedef
enum
_MP_CURVE_TYPE
{
MP_CURVE_JUMP
=
0
x0001
,
MP_CURVE_LINEAR
=
0
x0002
,
MP_CURVE_SQUARE
=
0
x0004
,
MP_CURVE_INVSQUARE
=
0
x0008
,
MP_CURVE_SINE
=
0
x0010
,
}
MP_CURVE_TYPE
;
const
MP_FLAGS
MPF_ENVLP_STANDARD
=
0
x0000
;
const
MP_FLAGS
MPF_ENVLP_BEGIN_CURRENTVAL
=
0
x0001
;
const
MP_FLAGS
MPF_ENVLP_BEGIN_NEUTRALVAL
=
0
x0002
;
typedef
struct
_MP_ENVELOPE_SEGMENT
{
REFERENCE_TIME
rtStart
;
REFERENCE_TIME
rtEnd
;
MP_DATA
valStart
;
MP_DATA
valEnd
;
MP_CURVE_TYPE
iCurve
;
MP_FLAGS
flags
;
}
MP_ENVELOPE_SEGMENT
;
[
[
object
,
object
,
uuid
(
6
D6CBB60
-
A223
-
44
AA
-
842
F
-
A2F06750BE6D
),
uuid
(
6
D6CBB60
-
A223
-
44
AA
-
842
F
-
A2F06750BE6D
),
...
@@ -56,3 +79,17 @@ interface IMediaParamInfo : IUnknown
...
@@ -56,3 +79,17 @@ interface IMediaParamInfo : IUnknown
HRESULT
GetSupportedTimeFormat
(
[
in
]
DWORD
index
,
[
out
]
GUID
*
guid
)
;
HRESULT
GetSupportedTimeFormat
(
[
in
]
DWORD
index
,
[
out
]
GUID
*
guid
)
;
HRESULT
GetCurrentTimeFormat
(
[
out
]
GUID
*
guid
,
[
out
]
MP_TIMEDATA
*
time_data
)
;
HRESULT
GetCurrentTimeFormat
(
[
out
]
GUID
*
guid
,
[
out
]
MP_TIMEDATA
*
time_data
)
;
}
}
[
object
,
uuid
(
6
d6cbb61
-
a223
-
44
aa
-
842
f
-
a2f06750be6e
),
version
(
1.0
)
]
interface
IMediaParams
:
IUnknown
{
HRESULT
GetParam
(
[
in
]
DWORD
index
,
[
out
]
MP_DATA
*
data
)
;
HRESULT
SetParam
(
[
in
]
DWORD
index
,
[
in
]
MP_DATA
data
)
;
HRESULT
AddEnvelope
(
[
in
]
DWORD
index
,
[
in
]
DWORD
count
,
[
in
]
MP_ENVELOPE_SEGMENT
*
segments
)
;
HRESULT
FlushEnvelope
(
[
in
]
DWORD
index
,
[
in
]
REFERENCE_TIME
start
,
[
in
]
REFERENCE_TIME
end
)
;
HRESULT
SetTimeFormat
(
[
in
]
GUID
guid
,
[
in
]
MP_TIMEDATA
time_data
)
;
}
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