libport: Remove support for PPC32.
[wine.git] / include / evr.idl
blob39b4853b2e33e6426765062be15aa09967976f82
1 /*
2 * COM Classes for evr
4 * Copyright 2017 Fabian Maurer
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 import "unknwn.idl";
22 import "propidl.idl";
23 import "mfidl.idl";
24 import "mftransform.idl";
25 import "mediaobj.idl";
26 import "strmif.idl";
28 cpp_quote("#ifndef _MFVideoNormalizedRect_")
29 cpp_quote("#define _MFVideoNormalizedRect_")
30 typedef struct MFVideoNormalizedRect
32 float left;
33 float top;
34 float right;
35 float bottom;
36 } MFVideoNormalizedRect;
37 cpp_quote("#endif")
39 typedef enum _MFVP_MESSAGE_TYPE {
40 MFVP_MESSAGE_FLUSH,
41 MFVP_MESSAGE_INVALIDATEMEDIATYPE,
42 MFVP_MESSAGE_PROCESSINPUTNOTIFY,
43 MFVP_MESSAGE_BEGINSTREAMING,
44 MFVP_MESSAGE_ENDSTREAMING,
45 MFVP_MESSAGE_ENDOFSTREAM,
46 MFVP_MESSAGE_STEP,
47 MFVP_MESSAGE_CANCELSTEP,
48 } MFVP_MESSAGE_TYPE;
51 object,
52 uuid(29aff080-182a-4a5d-af3b-448f3a6346cb),
53 local
55 interface IMFVideoPresenter : IMFClockStateSink
57 HRESULT ProcessMessage(
58 [in] MFVP_MESSAGE_TYPE eMessage,
59 [in] ULONG_PTR ulParam
61 HRESULT GetCurrentMediaType(
62 [out] IMFVideoMediaType **ppMediaType
67 object,
68 uuid(83e91e85-82c1-4ea7-801d-85dc50b75086),
69 local
71 interface IEVRFilterConfig : IUnknown
73 HRESULT SetNumberOfStreams(
74 [in] DWORD dwMaxStreams
76 HRESULT GetNumberOfStreams(
77 [out] DWORD *pdwMaxStreams
82 object,
83 uuid(1f6a9f17-e70b-4e24-8ae4-0b2c3ba7a4ae),
84 local
86 interface IMFVideoPositionMapper : IUnknown
88 HRESULT MapOutputCoordinateToInputStream(
89 [in] float xOut,
90 [in] float yOut,
91 [in] DWORD dwOutputStreamIndex,
92 [in] DWORD dwInputStreamIndex,
93 [out] float *pxIn,
94 [out] float *pyIn
99 object,
100 uuid(dfdfd197-a9ca-43d8-b341-6af3503792cd),
101 local
103 interface IMFVideoRenderer : IUnknown
105 HRESULT InitializeRenderer(
106 [in] IMFTransform *pVideoMixer,
107 [in] IMFVideoPresenter *pVideoPresenter
111 typedef enum _MF_SERVICE_LOOKUP_TYPE
113 MF_SERVICE_LOOKUP_UPSTREAM,
114 MF_SERVICE_LOOKUP_UPSTREAM_DIRECT,
115 MF_SERVICE_LOOKUP_DOWNSTREAM,
116 MF_SERVICE_LOOKUP_DOWNSTREAM_DIRECT,
117 MF_SERVICE_LOOKUP_ALL,
118 MF_SERVICE_LOOKUP_GLOBAL,
119 } MF_SERVICE_LOOKUP_TYPE;
122 object,
123 uuid(fa993889-4383-415a-a930-dd472a8cf6f7),
124 local
126 interface IMFTopologyServiceLookup : IUnknown
128 HRESULT LookupService(
129 [in] MF_SERVICE_LOOKUP_TYPE lookup_type,
130 [in] DWORD index,
131 [in] REFGUID service,
132 [in] REFIID riid,
133 [out, iid_is(riid)] void **objects,
134 [in, out] DWORD *num_objects
139 object,
140 uuid(fa99388a-4383-415a-a930-dd472a8cf6f7),
141 local
143 interface IMFTopologyServiceLookupClient : IUnknown
145 HRESULT InitServicePointers(
146 [in] IMFTopologyServiceLookup *service_lookup
148 HRESULT ReleaseServicePointers();
152 object,
153 uuid(a38d9567-5a9c-4f3c-b293-8eb415b279ba),
154 local
156 interface IMFVideoDeviceID : IUnknown
158 HRESULT GetDeviceID(
159 [out] IID *device_id
163 cpp_quote("HRESULT WINAPI MFCreateVideoMixer(IUnknown *owner, REFIID riid_device, REFIID riid, void **obj);")