xine-lib 1.2.13-20230125hg15249
interfaces.h
Go to the documentation of this file.
1#ifndef DS_INTERFACES_H
2#define DS_INTERFACES_H
3
4/*
5 * Definition of important DirectShow interfaces.
6 * Created using freely-available DirectX 8.0 SDK
7 * ( http://msdn.microsoft.com )
8 */
9
10#include "iunk.h"
11#include "com.h"
12
13/* Sh*t. MSVC++ and g++ use different methods of storing vtables. */
14
15typedef struct _IReferenceClock IReferenceClock;
16typedef struct _IFilterGraph IFilterGraph;
17
19
25
26typedef struct _PinInfo
27{
30 unsigned short achName[128];
32
40
42typedef struct IEnumMediaTypes_vt
43{
45
46 HRESULT STDCALL ( *Next )(IEnumMediaTypes* This,
47 /* [in] */ unsigned long cMediaTypes,
48 /* [size_is][out] */ AM_MEDIA_TYPE** ppMediaTypes,
49 /* [out] */ unsigned long* pcFetched);
50 HRESULT STDCALL ( *Skip )(IEnumMediaTypes* This,
51 /* [in] */ unsigned long cMediaTypes);
52 HRESULT STDCALL ( *Reset )(IEnumMediaTypes* This);
53 HRESULT STDCALL ( *Clone )(IEnumMediaTypes* This,
54 /* [out] */ IEnumMediaTypes** ppEnum);
57
58
59
60typedef struct _IPin IPin;
61typedef struct IPin_vt
62{
64
65 HRESULT STDCALL ( *Connect )(IPin * This,
66 /* [in] */ IPin *pReceivePin,
67 /* [in] */ /*const*/ AM_MEDIA_TYPE *pmt);
68 HRESULT STDCALL ( *ReceiveConnection )(IPin * This,
69 /* [in] */ IPin *pConnector,
70 /* [in] */ const AM_MEDIA_TYPE *pmt);
71 HRESULT STDCALL ( *Disconnect )(IPin * This);
72 HRESULT STDCALL ( *ConnectedTo )(IPin * This, /* [out] */ IPin **pPin);
73 HRESULT STDCALL ( *ConnectionMediaType )(IPin * This,
74 /* [out] */ AM_MEDIA_TYPE *pmt);
75 HRESULT STDCALL ( *QueryPinInfo )(IPin * This, /* [out] */ PIN_INFO *pInfo);
76 HRESULT STDCALL ( *QueryDirection )(IPin * This,
77 /* [out] */ PIN_DIRECTION *pPinDir);
78 HRESULT STDCALL ( *QueryId )(IPin * This, /* [out] */ unsigned short* *Id);
79 HRESULT STDCALL ( *QueryAccept )(IPin * This,
80 /* [in] */ const AM_MEDIA_TYPE *pmt);
81 HRESULT STDCALL ( *EnumMediaTypes )(IPin * This,
82 /* [out] */ IEnumMediaTypes **ppEnum);
83 HRESULT STDCALL ( *QueryInternalConnections )(IPin * This,
84 /* [out] */ IPin **apPin,
85 /* [out][in] */ unsigned long *nPin);
86 HRESULT STDCALL ( *EndOfStream )(IPin * This);
87 HRESULT STDCALL ( *BeginFlush )(IPin * This);
88 HRESULT STDCALL ( *EndFlush )(IPin * This);
89 HRESULT STDCALL ( *NewSegment )(IPin * This,
90 /* [in] */ REFERENCE_TIME tStart,
91 /* [in] */ REFERENCE_TIME tStop,
92 /* [in] */ double dRate);
94struct _IPin { IPin_vt *vt; };
95
96
97typedef struct _IEnumPins IEnumPins;
98typedef struct IEnumPins_vt
99{
101
102 // retrieves a specified number of pins in the enumeration sequence..
103 HRESULT STDCALL ( *Next )(IEnumPins* This,
104 /* [in] */ unsigned long cPins,
105 /* [size_is][out] */ IPin** ppPins,
106 /* [out] */ unsigned long* pcFetched);
107 // skips over a specified number of pins.
108 HRESULT STDCALL ( *Skip )(IEnumPins* This,
109 /* [in] */ unsigned long cPins);
110 // resets the enumeration sequence to the beginning.
111 HRESULT STDCALL ( *Reset )(IEnumPins* This);
112 // makes a copy of the enumerator with the same enumeration state.
113 HRESULT STDCALL ( *Clone )(IEnumPins* This,
114 /* [out] */ IEnumPins** ppEnum);
116struct _IEnumPins { struct IEnumPins_vt* vt; };
117
118
120typedef struct IMediaSample_vt
121{
123
124 HRESULT STDCALL ( *GetPointer )(IMediaSample* This,
125 /* [out] */ unsigned char** ppBuffer);
126 LONG STDCALL ( *GetSize )(IMediaSample* This);
127 HRESULT STDCALL ( *GetTime )(IMediaSample* This,
128 /* [out] */ REFERENCE_TIME* pTimeStart,
129 /* [out] */ REFERENCE_TIME* pTimeEnd);
130 HRESULT STDCALL ( *SetTime )(IMediaSample* This,
131 /* [in] */ REFERENCE_TIME* pTimeStart,
132 /* [in] */ REFERENCE_TIME* pTimeEnd);
133
134 // sync-point property. If true, then the beginning of this
135 // sample is a sync-point. (note that if AM_MEDIA_TYPE.bTemporalCompression
136 // is false then all samples are sync points). A filter can start
137 // a stream at any sync point. S_FALSE if not sync-point, S_OK if true.
138 HRESULT STDCALL ( *IsSyncPoint )(IMediaSample* This);
139 HRESULT STDCALL ( *SetSyncPoint )(IMediaSample* This,
140 long bIsSyncPoint);
141
142 // preroll property. If true, this sample is for preroll only and
143 // shouldn't be displayed.
144 HRESULT STDCALL ( *IsPreroll )(IMediaSample* This);
145 HRESULT STDCALL ( *SetPreroll )(IMediaSample* This,
146 long bIsPreroll);
147
148 LONG STDCALL ( *GetActualDataLength )(IMediaSample* This);
149 HRESULT STDCALL ( *SetActualDataLength )(IMediaSample* This,
150 long __MIDL_0010);
151
152 // these allow for limited format changes in band - if no format change
153 // has been made when you receive a sample GetMediaType will return S_FALSE
154 HRESULT STDCALL ( *GetMediaType )(IMediaSample* This,
155 AM_MEDIA_TYPE** ppMediaType);
156 HRESULT STDCALL ( *SetMediaType )(IMediaSample* This,
157 AM_MEDIA_TYPE* pMediaType);
158
159 // returns S_OK if there is a discontinuity in the data (this frame is
160 // not a continuation of the previous stream of data
161 // - there has been a seek or some dropped samples).
162 HRESULT STDCALL ( *IsDiscontinuity )(IMediaSample* This);
163 HRESULT STDCALL ( *SetDiscontinuity )(IMediaSample* This,
164 long bDiscontinuity);
165
166 // get the media times for this sample
167 HRESULT STDCALL ( *GetMediaTime )(IMediaSample* This,
168 /* [out] */ long long* pTimeStart,
169 /* [out] */ long long* pTimeEnd);
170 // Set the media times for this sample
171 // pTimeStart==pTimeEnd==NULL will invalidate the media time stamps in
172 // this sample
173 HRESULT STDCALL ( *SetMediaTime )(IMediaSample* This,
174 /* [in] */ long long* pTimeStart,
175 /* [in] */ long long* pTimeEnd);
177struct _IMediaSample { struct IMediaSample_vt* vt; };
178
179
180
181//typedef struct _IBaseFilter IBaseFilter;
182typedef struct IBaseFilter_vt
183{
185
186 HRESULT STDCALL ( *GetClassID )(IBaseFilter * This,
187 /* [out] */ CLSID *pClassID);
188 HRESULT STDCALL ( *Stop )(IBaseFilter * This);
189 HRESULT STDCALL ( *Pause )(IBaseFilter * This);
190 HRESULT STDCALL ( *Run )(IBaseFilter * This,
191 REFERENCE_TIME tStart);
192 HRESULT STDCALL ( *GetState )(IBaseFilter * This,
193 /* [in] */ unsigned long dwMilliSecsTimeout,
195 void* State);
196 HRESULT STDCALL ( *SetSyncSource )(IBaseFilter* This,
197 /* [in] */ IReferenceClock *pClock);
198 HRESULT STDCALL ( *GetSyncSource )(IBaseFilter* This,
199 /* [out] */ IReferenceClock **pClock);
200 HRESULT STDCALL ( *EnumPins )(IBaseFilter* This,
201 /* [out] */ IEnumPins **ppEnum);
202 HRESULT STDCALL ( *FindPin )(IBaseFilter* This,
203 /* [string][in] */ const unsigned short* Id,
204 /* [out] */ IPin** ppPin);
205 HRESULT STDCALL ( *QueryFilterInfo )(IBaseFilter* This,
206 // /* [out] */ FILTER_INFO *pInfo);
207 void* pInfo);
208 HRESULT STDCALL ( *JoinFilterGraph )(IBaseFilter* This,
209 /* [in] */ IFilterGraph* pGraph,
210 /* [string][in] */ const unsigned short* pName);
211 HRESULT STDCALL ( *QueryVendorInfo )(IBaseFilter* This,
212 /* [string][out] */ unsigned short** pVendorInfo);
214struct _IBaseFilter { struct IBaseFilter_vt* vt; };
215
216
217
219typedef struct IMemAllocator_vt
220{
222
223 // specifies the number of buffers to allocate and the size of each buffer.
224 HRESULT STDCALL ( *SetProperties )(IMemAllocator* This,
225 /* [in] */ ALLOCATOR_PROPERTIES *pRequest,
226 /* [out] */ ALLOCATOR_PROPERTIES *pActual);
227 // retrieves the number of buffers that the allocator will create, and the buffer properties.
228 HRESULT STDCALL ( *GetProperties )(IMemAllocator* This,
229 /* [out] */ ALLOCATOR_PROPERTIES *pProps);
230 // allocates the buffer memory.
231 HRESULT STDCALL ( *Commit )(IMemAllocator* This);
232 // releases the memory for the buffers.
233 HRESULT STDCALL ( *Decommit )(IMemAllocator* This);
234 // retrieves a media sample that contains an empty buffer.
235 HRESULT STDCALL ( *GetBuffer )(IMemAllocator* This,
236 /* [out] */ IMediaSample** ppBuffer,
237 /* [in] */ REFERENCE_TIME* pStartTime,
238 /* [in] */ REFERENCE_TIME* pEndTime,
239 /* [in] */ unsigned long dwFlags);
240 // releases a media sample.
241 HRESULT STDCALL ( *ReleaseBuffer )(IMemAllocator* This,
242 /* [in] */ IMediaSample* pBuffer);
245
246
247
249typedef struct IMemInputPin_vt
250{
252
253 HRESULT STDCALL ( *GetAllocator )(IMemInputPin * This,
254 /* [out] */ IMemAllocator **ppAllocator);
255 HRESULT STDCALL ( *NotifyAllocator )(IMemInputPin * This,
256 /* [in] */ IMemAllocator *pAllocator,
257 /* [in] */ int bReadOnly);
258 HRESULT STDCALL ( *GetAllocatorRequirements )(IMemInputPin * This,
259 /* [out] */ ALLOCATOR_PROPERTIES *pProps);
260 HRESULT STDCALL ( *Receive )(IMemInputPin * This,
261 /* [in] */ IMediaSample *pSample);
262 HRESULT STDCALL ( *ReceiveMultiple )(IMemInputPin * This,
263 /* [size_is][in] */ IMediaSample **pSamples,
264 /* [in] */ long nSamples,
265 /* [out] */ long *nSamplesProcessed);
266 HRESULT STDCALL ( *ReceiveCanBlock )(IMemInputPin * This);
269
270
271typedef struct _IHidden IHidden;
272typedef struct IHidden_vt
273{
275
276 HRESULT STDCALL ( *GetSmth )(IHidden* This, int* pv);
277 HRESULT STDCALL ( *SetSmth )(IHidden* This, int v1, int v2);
278 HRESULT STDCALL ( *GetSmth2 )(IHidden* This, int* pv);
279 HRESULT STDCALL ( *SetSmth2 )(IHidden* This, int v1, int v2);
280 HRESULT STDCALL ( *GetSmth3 )(IHidden* This, int* pv);
281 HRESULT STDCALL ( *SetSmth3 )(IHidden* This, int v1, int v2);
282 HRESULT STDCALL ( *GetSmth4 )(IHidden* This, int* pv);
283 HRESULT STDCALL ( *SetSmth4 )(IHidden* This, int v1, int v2);
284 HRESULT STDCALL ( *GetSmth5 )(IHidden* This, int* pv);
285 HRESULT STDCALL ( *SetSmth5 )(IHidden* This, int v1, int v2);
286 HRESULT STDCALL ( *GetSmth6 )(IHidden* This, int* pv);
288struct _IHidden { struct IHidden_vt* vt; };
289
290
291typedef struct _IHidden2 IHidden2;
292typedef struct IHidden2_vt
293{
295
296 HRESULT STDCALL ( *unk1 )(void);
297 HRESULT STDCALL ( *unk2 )(void);
298 HRESULT STDCALL ( *unk3 )(void);
299 HRESULT STDCALL ( *DecodeGet )(IHidden2* This, int* region);
300 HRESULT STDCALL ( *unk5 )(void);
301 HRESULT STDCALL ( *DecodeSet )(IHidden2* This, int* region);
302 HRESULT STDCALL ( *unk7 )(void);
303 HRESULT STDCALL ( *unk8 )(void);
305struct _IHidden2 { struct IHidden2_vt* vt; };
306
307
308// fixme
312
314{
316
317 HRESULT STDCALL ( *get_PPLevel )(IDivxFilterInterface* This, int* PPLevel); // current postprocessing level
318 HRESULT STDCALL ( *put_PPLevel )(IDivxFilterInterface* This, int PPLevel); // new postprocessing level
319 HRESULT STDCALL ( *put_DefaultPPLevel )(IDivxFilterInterface* This);
320 HRESULT STDCALL ( *put_MaxDelayAllowed )(IDivxFilterInterface* This, int maxdelayallowed);
321 HRESULT STDCALL ( *put_Brightness )(IDivxFilterInterface* This, int brightness);
322 HRESULT STDCALL ( *put_Contrast )(IDivxFilterInterface* This, int contrast);
323 HRESULT STDCALL ( *put_Saturation )(IDivxFilterInterface* This, int saturation);
324 HRESULT STDCALL ( *get_MaxDelayAllowed )(IDivxFilterInterface* This, int* maxdelayallowed);
325 HRESULT STDCALL ( *get_Brightness)(IDivxFilterInterface* This, int* brightness);
326 HRESULT STDCALL ( *get_Contrast)(IDivxFilterInterface* This, int* contrast);
327 HRESULT STDCALL ( *get_Saturation )(IDivxFilterInterface* This, int* saturation);
328 HRESULT STDCALL ( *put_AspectRatio )(IDivxFilterInterface* This, int x, IDivxFilterInterface* Thisit, int y);
329 HRESULT STDCALL ( *get_AspectRatio )(IDivxFilterInterface* This, int* x, IDivxFilterInterface* Thisit, int* y);
330};
331
332#endif /* DS_INTERFACES_H */
contrast
Definition eq.c:160
long long REFERENCE_TIME
Definition guids.h:25
AM_MEDIA_TYPE
Definition guids.h:23
GUID CLSID
Definition guids.h:43
struct IPin_vt IPin_vt
struct IMediaSample_vt IMediaSample_vt
struct IEnumPins_vt IEnumPins_vt
struct IHidden_vt IHidden_vt
struct IMemAllocator_vt IMemAllocator_vt
struct IDivxFilterInterface IDivxFilterInterface
struct IMemInputPin_vt IMemInputPin_vt
struct _IFilterGraph IFilterGraph
Definition interfaces.h:16
struct IBaseFilter_vt IBaseFilter_vt
struct _PinInfo PIN_INFO
struct _AllocatorProperties ALLOCATOR_PROPERTIES
PIN_DIRECTION
Definition interfaces.h:21
@ PINDIR_OUTPUT
Definition interfaces.h:23
@ PINDIR_INPUT
Definition interfaces.h:22
struct IEnumMediaTypes_vt IEnumMediaTypes_vt
struct _IReferenceClock IReferenceClock
Definition interfaces.h:15
struct IHidden2_vt IHidden2_vt
#define INHERIT_IUNKNOWN()
Definition iunk.h:6
Definition interfaces.h:183
HRESULT STDCALL(* Stop)(IBaseFilter *This)
Definition interfaces.h:188
HRESULT STDCALL(* Pause)(IBaseFilter *This)
Definition interfaces.h:189
HRESULT STDCALL(* SetSyncSource)(IBaseFilter *This, IReferenceClock *pClock)
Definition interfaces.h:196
HRESULT STDCALL(* GetSyncSource)(IBaseFilter *This, IReferenceClock **pClock)
Definition interfaces.h:198
HRESULT STDCALL(* GetClassID)(IBaseFilter *This, CLSID *pClassID)
Definition interfaces.h:186
HRESULT STDCALL(* JoinFilterGraph)(IBaseFilter *This, IFilterGraph *pGraph, const unsigned short *pName)
Definition interfaces.h:208
HRESULT STDCALL(* EnumPins)(IBaseFilter *This, IEnumPins **ppEnum)
Definition interfaces.h:200
HRESULT STDCALL(* GetState)(IBaseFilter *This, unsigned long dwMilliSecsTimeout, void *State)
Definition interfaces.h:192
HRESULT STDCALL(* Run)(IBaseFilter *This, REFERENCE_TIME tStart)
Definition interfaces.h:190
HRESULT STDCALL(* QueryVendorInfo)(IBaseFilter *This, unsigned short **pVendorInfo)
Definition interfaces.h:211
HRESULT STDCALL(* QueryFilterInfo)(IBaseFilter *This, void *pInfo)
Definition interfaces.h:205
HRESULT STDCALL(* FindPin)(IBaseFilter *This, const unsigned short *Id, IPin **ppPin)
Definition interfaces.h:202
Definition interfaces.h:314
HRESULT STDCALL(* put_AspectRatio)(IDivxFilterInterface *This, int x, IDivxFilterInterface *Thisit, int y)
Definition interfaces.h:328
HRESULT STDCALL(* get_AspectRatio)(IDivxFilterInterface *This, int *x, IDivxFilterInterface *Thisit, int *y)
Definition interfaces.h:329
HRESULT STDCALL(* get_MaxDelayAllowed)(IDivxFilterInterface *This, int *maxdelayallowed)
Definition interfaces.h:324
HRESULT STDCALL(* put_Saturation)(IDivxFilterInterface *This, int saturation)
Definition interfaces.h:323
HRESULT STDCALL(* put_PPLevel)(IDivxFilterInterface *This, int PPLevel)
Definition interfaces.h:318
HRESULT STDCALL(* put_Contrast)(IDivxFilterInterface *This, int contrast)
Definition interfaces.h:322
HRESULT STDCALL(* put_MaxDelayAllowed)(IDivxFilterInterface *This, int maxdelayallowed)
Definition interfaces.h:320
HRESULT STDCALL(* get_PPLevel)(IDivxFilterInterface *This, int *PPLevel)
Definition interfaces.h:317
HRESULT STDCALL(* get_Saturation)(IDivxFilterInterface *This, int *saturation)
Definition interfaces.h:327
HRESULT STDCALL(* put_DefaultPPLevel)(IDivxFilterInterface *This)
Definition interfaces.h:319
HRESULT STDCALL(* put_Brightness)(IDivxFilterInterface *This, int brightness)
Definition interfaces.h:321
HRESULT STDCALL(* get_Contrast)(IDivxFilterInterface *This, int *contrast)
Definition interfaces.h:326
HRESULT STDCALL(* get_Brightness)(IDivxFilterInterface *This, int *brightness)
Definition interfaces.h:325
Definition interfaces.h:309
struct IDivxFilterInterface_vt * vt
Definition interfaces.h:310
Definition interfaces.h:43
HRESULT STDCALL(* Next)(IEnumMediaTypes *This, unsigned long cMediaTypes, AM_MEDIA_TYPE **ppMediaTypes, unsigned long *pcFetched)
Definition interfaces.h:46
HRESULT STDCALL(* Skip)(IEnumMediaTypes *This, unsigned long cMediaTypes)
Definition interfaces.h:50
HRESULT STDCALL(* Reset)(IEnumMediaTypes *This)
Definition interfaces.h:52
HRESULT STDCALL(* Clone)(IEnumMediaTypes *This, IEnumMediaTypes **ppEnum)
Definition interfaces.h:53
Definition interfaces.h:99
HRESULT STDCALL(* Clone)(IEnumPins *This, IEnumPins **ppEnum)
Definition interfaces.h:113
HRESULT STDCALL(* Next)(IEnumPins *This, unsigned long cPins, IPin **ppPins, unsigned long *pcFetched)
Definition interfaces.h:103
HRESULT STDCALL(* Reset)(IEnumPins *This)
Definition interfaces.h:111
HRESULT STDCALL(* Skip)(IEnumPins *This, unsigned long cPins)
Definition interfaces.h:108
Definition interfaces.h:293
HRESULT STDCALL(* DecodeSet)(IHidden2 *This, int *region)
Definition interfaces.h:301
HRESULT STDCALL(* unk3)(void)
Definition interfaces.h:298
HRESULT STDCALL(* unk8)(void)
Definition interfaces.h:303
HRESULT STDCALL(* unk2)(void)
Definition interfaces.h:297
HRESULT STDCALL(* unk1)(void)
Definition interfaces.h:296
HRESULT STDCALL(* unk7)(void)
Definition interfaces.h:302
HRESULT STDCALL(* unk5)(void)
Definition interfaces.h:300
HRESULT STDCALL(* DecodeGet)(IHidden2 *This, int *region)
Definition interfaces.h:299
Definition interfaces.h:273
HRESULT STDCALL(* GetSmth5)(IHidden *This, int *pv)
Definition interfaces.h:284
HRESULT STDCALL(* SetSmth4)(IHidden *This, int v1, int v2)
Definition interfaces.h:283
HRESULT STDCALL(* SetSmth3)(IHidden *This, int v1, int v2)
Definition interfaces.h:281
HRESULT STDCALL(* GetSmth3)(IHidden *This, int *pv)
Definition interfaces.h:280
HRESULT STDCALL(* SetSmth2)(IHidden *This, int v1, int v2)
Definition interfaces.h:279
HRESULT STDCALL(* GetSmth2)(IHidden *This, int *pv)
Definition interfaces.h:278
HRESULT STDCALL(* GetSmth)(IHidden *This, int *pv)
Definition interfaces.h:276
HRESULT STDCALL(* SetSmth5)(IHidden *This, int v1, int v2)
Definition interfaces.h:285
HRESULT STDCALL(* SetSmth)(IHidden *This, int v1, int v2)
Definition interfaces.h:277
HRESULT STDCALL(* GetSmth4)(IHidden *This, int *pv)
Definition interfaces.h:282
HRESULT STDCALL(* GetSmth6)(IHidden *This, int *pv)
Definition interfaces.h:286
Definition interfaces.h:121
HRESULT STDCALL(* IsSyncPoint)(IMediaSample *This)
Definition interfaces.h:138
HRESULT STDCALL(* SetMediaTime)(IMediaSample *This, long long *pTimeStart, long long *pTimeEnd)
Definition interfaces.h:173
HRESULT STDCALL(* GetMediaType)(IMediaSample *This, AM_MEDIA_TYPE **ppMediaType)
Definition interfaces.h:154
HRESULT STDCALL(* SetDiscontinuity)(IMediaSample *This, long bDiscontinuity)
Definition interfaces.h:163
HRESULT STDCALL(* SetPreroll)(IMediaSample *This, long bIsPreroll)
Definition interfaces.h:145
HRESULT STDCALL(* SetSyncPoint)(IMediaSample *This, long bIsSyncPoint)
Definition interfaces.h:139
HRESULT STDCALL(* GetTime)(IMediaSample *This, REFERENCE_TIME *pTimeStart, REFERENCE_TIME *pTimeEnd)
Definition interfaces.h:127
HRESULT STDCALL(* IsPreroll)(IMediaSample *This)
Definition interfaces.h:144
HRESULT STDCALL(* GetPointer)(IMediaSample *This, unsigned char **ppBuffer)
Definition interfaces.h:124
HRESULT STDCALL(* SetActualDataLength)(IMediaSample *This, long __MIDL_0010)
Definition interfaces.h:149
HRESULT STDCALL(* SetMediaType)(IMediaSample *This, AM_MEDIA_TYPE *pMediaType)
Definition interfaces.h:156
LONG STDCALL(* GetActualDataLength)(IMediaSample *This)
Definition interfaces.h:148
HRESULT STDCALL(* GetMediaTime)(IMediaSample *This, long long *pTimeStart, long long *pTimeEnd)
Definition interfaces.h:167
HRESULT STDCALL(* IsDiscontinuity)(IMediaSample *This)
Definition interfaces.h:162
HRESULT STDCALL(* SetTime)(IMediaSample *This, REFERENCE_TIME *pTimeStart, REFERENCE_TIME *pTimeEnd)
Definition interfaces.h:130
LONG STDCALL(* GetSize)(IMediaSample *This)
Definition interfaces.h:126
Definition interfaces.h:220
HRESULT STDCALL(* Commit)(IMemAllocator *This)
Definition interfaces.h:231
HRESULT STDCALL(* ReleaseBuffer)(IMemAllocator *This, IMediaSample *pBuffer)
Definition interfaces.h:241
HRESULT STDCALL(* GetBuffer)(IMemAllocator *This, IMediaSample **ppBuffer, REFERENCE_TIME *pStartTime, REFERENCE_TIME *pEndTime, unsigned long dwFlags)
Definition interfaces.h:235
HRESULT STDCALL(* GetProperties)(IMemAllocator *This, ALLOCATOR_PROPERTIES *pProps)
Definition interfaces.h:228
HRESULT STDCALL(* Decommit)(IMemAllocator *This)
Definition interfaces.h:233
HRESULT STDCALL(* SetProperties)(IMemAllocator *This, ALLOCATOR_PROPERTIES *pRequest, ALLOCATOR_PROPERTIES *pActual)
Definition interfaces.h:224
Definition interfaces.h:250
HRESULT STDCALL(* GetAllocator)(IMemInputPin *This, IMemAllocator **ppAllocator)
Definition interfaces.h:253
HRESULT STDCALL(* NotifyAllocator)(IMemInputPin *This, IMemAllocator *pAllocator, int bReadOnly)
Definition interfaces.h:255
HRESULT STDCALL(* GetAllocatorRequirements)(IMemInputPin *This, ALLOCATOR_PROPERTIES *pProps)
Definition interfaces.h:258
HRESULT STDCALL(* ReceiveCanBlock)(IMemInputPin *This)
Definition interfaces.h:266
HRESULT STDCALL(* ReceiveMultiple)(IMemInputPin *This, IMediaSample **pSamples, long nSamples, long *nSamplesProcessed)
Definition interfaces.h:262
HRESULT STDCALL(* Receive)(IMemInputPin *This, IMediaSample *pSample)
Definition interfaces.h:260
Definition interfaces.h:62
HRESULT STDCALL(* QueryId)(IPin *This, unsigned short **Id)
Definition interfaces.h:78
HRESULT STDCALL(* Disconnect)(IPin *This)
Definition interfaces.h:71
HRESULT STDCALL(* ConnectionMediaType)(IPin *This, AM_MEDIA_TYPE *pmt)
Definition interfaces.h:73
HRESULT STDCALL(* EndOfStream)(IPin *This)
Definition interfaces.h:86
HRESULT STDCALL(* EnumMediaTypes)(IPin *This, IEnumMediaTypes **ppEnum)
Definition interfaces.h:81
HRESULT STDCALL(* QueryDirection)(IPin *This, PIN_DIRECTION *pPinDir)
Definition interfaces.h:76
HRESULT STDCALL(* ConnectedTo)(IPin *This, IPin **pPin)
Definition interfaces.h:72
HRESULT STDCALL(* QueryAccept)(IPin *This, const AM_MEDIA_TYPE *pmt)
Definition interfaces.h:79
HRESULT STDCALL(* ReceiveConnection)(IPin *This, IPin *pConnector, const AM_MEDIA_TYPE *pmt)
Definition interfaces.h:68
HRESULT STDCALL(* QueryInternalConnections)(IPin *This, IPin **apPin, unsigned long *nPin)
Definition interfaces.h:83
HRESULT STDCALL(* Connect)(IPin *This, IPin *pReceivePin, AM_MEDIA_TYPE *pmt)
Definition interfaces.h:65
HRESULT STDCALL(* NewSegment)(IPin *This, REFERENCE_TIME tStart, REFERENCE_TIME tStop, double dRate)
Definition interfaces.h:89
HRESULT STDCALL(* QueryPinInfo)(IPin *This, PIN_INFO *pInfo)
Definition interfaces.h:75
HRESULT STDCALL(* EndFlush)(IPin *This)
Definition interfaces.h:88
HRESULT STDCALL(* BeginFlush)(IPin *This)
Definition interfaces.h:87
Definition interfaces.h:34
long cbAlign
Definition interfaces.h:37
long cBuffers
Definition interfaces.h:35
long cbBuffer
Definition interfaces.h:36
long cbPrefix
Definition interfaces.h:38
Definition interfaces.h:214
struct IBaseFilter_vt * vt
Definition interfaces.h:214
Definition interfaces.h:56
IEnumMediaTypes_vt * vt
Definition interfaces.h:56
Definition interfaces.h:116
struct IEnumPins_vt * vt
Definition interfaces.h:116
Definition interfaces.h:305
struct IHidden2_vt * vt
Definition interfaces.h:305
Definition interfaces.h:288
struct IHidden_vt * vt
Definition interfaces.h:288
Definition interfaces.h:177
struct IMediaSample_vt * vt
Definition interfaces.h:177
Definition interfaces.h:244
IMemAllocator_vt * vt
Definition interfaces.h:244
Definition interfaces.h:268
IMemInputPin_vt * vt
Definition interfaces.h:268
Definition interfaces.h:94
IPin_vt * vt
Definition interfaces.h:94
Definition interfaces.h:27
IBaseFilter * pFilter
Definition interfaces.h:28
unsigned short achName[128]
Definition interfaces.h:30
PIN_DIRECTION dir
Definition interfaces.h:29