ReactOS 0.4.15-dev-5884-gab5aff5
avidec.c File Reference
#include "config.h"
#include "quartz_private.h"
#include "pin.h"
#include "uuids.h"
#include "amvideo.h"
#include "windef.h"
#include "winbase.h"
#include "dshow.h"
#include "strmif.h"
#include "vfwmsgs.h"
#include "vfw.h"
#include "dvdmedia.h"
#include <assert.h>
#include "wine/unicode.h"
#include "wine/debug.h"
Include dependency graph for avidec.c:

Go to the source code of this file.

Classes

struct  AVIDecImpl
 

Typedefs

typedef struct AVIDecImpl AVIDecImpl
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (quartz)
 
static AVIDecImplimpl_from_TransformFilter (TransformFilter *iface)
 
static HRESULT WINAPI AVIDec_StartStreaming (TransformFilter *pTransformFilter)
 
static HRESULT WINAPI AVIDec_EndFlush (TransformFilter *pTransformFilter)
 
static HRESULT WINAPI AVIDec_NotifyDrop (TransformFilter *pTransformFilter, IBaseFilter *sender, Quality qm)
 
static int AVIDec_DropSample (AVIDecImpl *This, REFERENCE_TIME tStart)
 
static HRESULT WINAPI AVIDec_Receive (TransformFilter *tf, IMediaSample *pSample)
 
static HRESULT WINAPI AVIDec_StopStreaming (TransformFilter *pTransformFilter)
 
static HRESULT WINAPI AVIDec_SetMediaType (TransformFilter *tf, PIN_DIRECTION dir, const AM_MEDIA_TYPE *pmt)
 
static HRESULT WINAPI AVIDec_CompleteConnect (TransformFilter *tf, PIN_DIRECTION dir, IPin *pin)
 
static HRESULT WINAPI AVIDec_BreakConnect (TransformFilter *tf, PIN_DIRECTION dir)
 
static HRESULT WINAPI AVIDec_DecideBufferSize (TransformFilter *tf, IMemAllocator *pAlloc, ALLOCATOR_PROPERTIES *ppropInputRequest)
 
HRESULT AVIDec_create (IUnknown *pUnkOuter, LPVOID *ppv)
 

Variables

static const IBaseFilterVtbl AVIDec_Vtbl
 
static const TransformFilterFuncTable AVIDec_FuncsTable
 

Typedef Documentation

◆ AVIDecImpl

Function Documentation

◆ AVIDec_BreakConnect()

static HRESULT WINAPI AVIDec_BreakConnect ( TransformFilter tf,
PIN_DIRECTION  dir 
)
static

Definition at line 342 of file avidec.c.

343{
345
346 TRACE("(%p)->()\n", This);
347
348 if (dir == PINDIR_INPUT)
349 {
350 if (This->hvid)
351 ICClose(This->hvid);
352 CoTaskMemFree(This->pBihIn);
353 CoTaskMemFree(This->pBihOut);
354 This->hvid = NULL;
355 This->pBihIn = NULL;
356 This->pBihOut = NULL;
357 }
358
359 return S_OK;
360}
unsigned int dir
Definition: maze.c:112
static AVIDecImpl * impl_from_TransformFilter(TransformFilter *iface)
Definition: avidec.c:55
@ PINDIR_INPUT
Definition: axcore.idl:41
#define NULL
Definition: types.h:112
HFONT tf
Definition: icontest.c:17
VOID WINAPI CoTaskMemFree(LPVOID ptr)
Definition: ifs.c:442
#define S_OK
Definition: intsafe.h:52
LRESULT WINAPI ICClose(HIC hic)
#define TRACE(s)
Definition: solgame.cpp:4

◆ AVIDec_CompleteConnect()

static HRESULT WINAPI AVIDec_CompleteConnect ( TransformFilter tf,
PIN_DIRECTION  dir,
IPin pin 
)
static

Definition at line 333 of file avidec.c.

334{
336
337 TRACE("(%p)\n", This);
338
339 return S_OK;
340}

◆ AVIDec_create()

HRESULT AVIDec_create ( IUnknown pUnkOuter,
LPVOID ppv 
)

Definition at line 395 of file avidec.c.

396{
397 HRESULT hr;
399
400 TRACE("(%p, %p)\n", pUnkOuter, ppv);
401
402 *ppv = NULL;
403
404 if (pUnkOuter)
406
408
409 if (FAILED(hr))
410 return hr;
411
412 This->hvid = NULL;
413 This->pBihIn = NULL;
414 This->pBihOut = NULL;
415
416 *ppv = &This->tf.filter.IBaseFilter_iface;
417
418 return hr;
419}
static const IBaseFilterVtbl AVIDec_Vtbl
Definition: avidec.c:53
static const TransformFilterFuncTable AVIDec_FuncsTable
Definition: avidec.c:379
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define FAILED(hr)
Definition: intsafe.h:51
HRESULT hr
Definition: shlfolder.c:183
HRESULT TransformFilter_Construct(const IBaseFilterVtbl *filterVtbl, LONG filter_size, const CLSID *pClsid, const TransformFilterFuncTable *pFuncsTable, IBaseFilter **ppTransformFilter)
Definition: transform.c:263
#define CLASS_E_NOAGGREGATION
Definition: winerror.h:2662

◆ AVIDec_DecideBufferSize()

static HRESULT WINAPI AVIDec_DecideBufferSize ( TransformFilter tf,
IMemAllocator pAlloc,
ALLOCATOR_PROPERTIES ppropInputRequest 
)
static

Definition at line 362 of file avidec.c.

363{
366
367 if (!ppropInputRequest->cbAlign)
368 ppropInputRequest->cbAlign = 1;
369
370 if (ppropInputRequest->cbBuffer < pAVI->pBihOut->biSizeImage)
371 ppropInputRequest->cbBuffer = pAVI->pBihOut->biSizeImage;
372
373 if (!ppropInputRequest->cBuffers)
374 ppropInputRequest->cBuffers = 1;
375
376 return IMemAllocator_SetProperties(pAlloc, ppropInputRequest, &actual);
377}
BITMAPINFOHEADER * pBihOut
Definition: avidec.c:49
DWORD biSizeImage
Definition: amvideo.idl:36

◆ AVIDec_DropSample()

static int AVIDec_DropSample ( AVIDecImpl This,
REFERENCE_TIME  tStart 
)
static

Definition at line 95 of file avidec.c.

95 {
96 if (This->late < 0)
97 return 0;
98
99 if (tStart < This->late) {
100 TRACE("Dropping sample\n");
101 return 1;
102 }
103 This->late = -1;
104 return 0;
105}

Referenced by AVIDec_Receive().

◆ AVIDec_EndFlush()

static HRESULT WINAPI AVIDec_EndFlush ( TransformFilter pTransformFilter)
static

Definition at line 77 of file avidec.c.

77 {
78 AVIDecImpl* This = impl_from_TransformFilter(pTransformFilter);
79 This->late = -1;
80 return S_OK;
81}

◆ AVIDec_NotifyDrop()

static HRESULT WINAPI AVIDec_NotifyDrop ( TransformFilter pTransformFilter,
IBaseFilter sender,
Quality  qm 
)
static

Definition at line 83 of file avidec.c.

83 {
84 AVIDecImpl *This = impl_from_TransformFilter(pTransformFilter);
85
86 EnterCriticalSection(&This->tf.filter.csFilter);
87 if (qm.Late > 0)
88 This->late = qm.Late + qm.TimeStamp;
89 else
90 This->late = -1;
91 LeaveCriticalSection(&This->tf.filter.csFilter);
92 return S_OK;
93}
REFERENCE_TIME Late
Definition: axextend.idl:328
REFERENCE_TIME TimeStamp
Definition: axextend.idl:329
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)

◆ AVIDec_Receive()

static HRESULT WINAPI AVIDec_Receive ( TransformFilter tf,
IMediaSample pSample 
)
static

Definition at line 107 of file avidec.c.

108{
110 AM_MEDIA_TYPE amt;
111 HRESULT hr;
112 DWORD res;
113 IMediaSample* pOutSample = NULL;
114 DWORD cbDstStream;
115 LPBYTE pbDstStream;
116 DWORD cbSrcStream;
117 LPBYTE pbSrcStream;
118 LONGLONG tStart, tStop;
119 DWORD flags = 0;
120
121 EnterCriticalSection(&This->tf.csReceive);
122 hr = IMediaSample_GetPointer(pSample, &pbSrcStream);
123 if (FAILED(hr))
124 {
125 ERR("Cannot get pointer to sample data (%x)\n", hr);
126 goto error;
127 }
128
129 cbSrcStream = IMediaSample_GetActualDataLength(pSample);
130
131 TRACE("Sample data ptr = %p, size = %d\n", pbSrcStream, cbSrcStream);
132
133 hr = IPin_ConnectionMediaType(This->tf.ppPins[0], &amt);
134 if (FAILED(hr)) {
135 ERR("Unable to retrieve media type\n");
136 goto error;
137 }
138
139 /* Update input size to match sample size */
140 This->pBihIn->biSizeImage = cbSrcStream;
141
142 hr = BaseOutputPinImpl_GetDeliveryBuffer((BaseOutputPin*)This->tf.ppPins[1], &pOutSample, NULL, NULL, 0);
143 if (FAILED(hr)) {
144 ERR("Unable to get delivery buffer (%x)\n", hr);
145 goto error;
146 }
147
148 hr = IMediaSample_SetActualDataLength(pOutSample, 0);
149 assert(hr == S_OK);
150
151 hr = IMediaSample_GetPointer(pOutSample, &pbDstStream);
152 if (FAILED(hr)) {
153 ERR("Unable to get pointer to buffer (%x)\n", hr);
154 goto error;
155 }
156 cbDstStream = IMediaSample_GetSize(pOutSample);
157 if (cbDstStream < This->pBihOut->biSizeImage) {
158 ERR("Sample size is too small %d < %d\n", cbDstStream, This->pBihOut->biSizeImage);
159 hr = E_FAIL;
160 goto error;
161 }
162
163 if (IMediaSample_IsPreroll(pSample) == S_OK)
165 if (IMediaSample_IsSyncPoint(pSample) != S_OK)
167 hr = IMediaSample_GetTime(pSample, &tStart, &tStop);
168 if (hr == S_OK && AVIDec_DropSample(This, tStart))
170
171 res = ICDecompress(This->hvid, flags, This->pBihIn, pbSrcStream, This->pBihOut, pbDstStream);
172 if (res != ICERR_OK)
173 ERR("Error occurred during the decompression (%x)\n", res);
174
175 /* Drop sample if it's intended to be dropped */
177 hr = S_OK;
178 goto error;
179 }
180
181 IMediaSample_SetActualDataLength(pOutSample, This->pBihOut->biSizeImage);
182
183 IMediaSample_SetPreroll(pOutSample, (IMediaSample_IsPreroll(pSample) == S_OK));
184 IMediaSample_SetDiscontinuity(pOutSample, (IMediaSample_IsDiscontinuity(pSample) == S_OK));
185 IMediaSample_SetSyncPoint(pOutSample, (IMediaSample_IsSyncPoint(pSample) == S_OK));
186
187 if (hr == S_OK)
188 IMediaSample_SetTime(pOutSample, &tStart, &tStop);
189 else if (hr == VFW_S_NO_STOP_TIME)
190 IMediaSample_SetTime(pOutSample, &tStart, NULL);
191 else
192 IMediaSample_SetTime(pOutSample, NULL, NULL);
193
194 if (IMediaSample_GetMediaTime(pSample, &tStart, &tStop) == S_OK)
195 IMediaSample_SetMediaTime(pOutSample, &tStart, &tStop);
196 else
197 IMediaSample_SetMediaTime(pOutSample, NULL, NULL);
198
199 LeaveCriticalSection(&This->tf.csReceive);
200 hr = BaseOutputPinImpl_Deliver((BaseOutputPin*)This->tf.ppPins[1], pOutSample);
201 EnterCriticalSection(&This->tf.csReceive);
202 if (hr != S_OK && hr != VFW_E_NOT_CONNECTED)
203 ERR("Error sending sample (%x)\n", hr);
204
205error:
206 if (pOutSample)
207 IMediaSample_Release(pOutSample);
208
209 LeaveCriticalSection(&This->tf.csReceive);
210 return hr;
211}
static int AVIDec_DropSample(AVIDecImpl *This, REFERENCE_TIME tStart)
Definition: avidec.c:95
#define ERR(fmt,...)
Definition: debug.h:110
#define E_FAIL
Definition: ddrawi.h:102
#define assert(x)
Definition: debug.h:53
unsigned long DWORD
Definition: ntddk_ex.h:95
GLuint res
Definition: glext.h:9613
GLbitfield flags
Definition: glext.h:7161
#define error(str)
Definition: mkdosfs.c:1605
DWORD VFWAPIV ICDecompress(HIC hic, DWORD dwFlags, LPBITMAPINFOHEADER lpbiFormat, LPVOID lpData, LPBITMAPINFOHEADER lpbi, LPVOID lpBits)
Definition: msvideo_main.c:827
HRESULT WINAPI BaseOutputPinImpl_Deliver(BaseOutputPin *This, IMediaSample *pSample)
Definition: pin.c:574
HRESULT WINAPI BaseOutputPinImpl_GetDeliveryBuffer(BaseOutputPin *This, IMediaSample **ppSample, REFERENCE_TIME *tStart, REFERENCE_TIME *tStop, DWORD dwFlags)
Definition: pin.c:554
unsigned char * LPBYTE
Definition: typedefs.h:53
int64_t LONGLONG
Definition: typedefs.h:68
#define ICERR_OK
Definition: vfw.h:50
#define ICDECOMPRESS_NOTKEYFRAME
Definition: vfw.h:331
#define ICDECOMPRESS_PREROLL
Definition: vfw.h:329
#define ICDECOMPRESS_HURRYUP
Definition: vfw.h:327
#define VFW_S_NO_STOP_TIME
Definition: vfwmsgs.h:34
#define VFW_E_NOT_CONNECTED
Definition: vfwmsgs.h:48

◆ AVIDec_SetMediaType()

static HRESULT WINAPI AVIDec_SetMediaType ( TransformFilter tf,
PIN_DIRECTION  dir,
const AM_MEDIA_TYPE pmt 
)
static

Definition at line 232 of file avidec.c.

233{
236
237 TRACE("(%p)->(%p)\n", This, pmt);
238
239 if (dir != PINDIR_INPUT)
240 return S_OK;
241
242 /* Check root (GUID w/o FOURCC) */
243 if ((IsEqualIID(&pmt->majortype, &MEDIATYPE_Video)) &&
244 (!memcmp(((const char *)&pmt->subtype)+4, ((const char *)&MEDIATYPE_Video)+4, sizeof(GUID)-4)))
245 {
246 VIDEOINFOHEADER *format1 = (VIDEOINFOHEADER *)pmt->pbFormat;
247 VIDEOINFOHEADER2 *format2 = (VIDEOINFOHEADER2 *)pmt->pbFormat;
248 BITMAPINFOHEADER *bmi;
249
250 if (IsEqualIID(&pmt->formattype, &FORMAT_VideoInfo))
251 bmi = &format1->bmiHeader;
252 else if (IsEqualIID(&pmt->formattype, &FORMAT_VideoInfo2))
253 bmi = &format2->bmiHeader;
254 else
255 goto failed;
256 TRACE("Fourcc: %s\n", debugstr_an((const char *)&pmt->subtype.Data1, 4));
257
258 This->hvid = ICLocate(pmt->majortype.Data1, pmt->subtype.Data1, bmi, NULL, ICMODE_DECOMPRESS);
259 if (This->hvid)
260 {
261 AM_MEDIA_TYPE* outpmt = &This->tf.pmt;
262 const CLSID* outsubtype;
263 DWORD bih_size;
264 DWORD output_depth = bmi->biBitCount;
266 FreeMediaType(outpmt);
267
268 switch(bmi->biBitCount)
269 {
270 case 32: outsubtype = &MEDIASUBTYPE_RGB32; break;
271 case 24: outsubtype = &MEDIASUBTYPE_RGB24; break;
272 case 16: outsubtype = &MEDIASUBTYPE_RGB565; break;
273 case 8: outsubtype = &MEDIASUBTYPE_RGB8; break;
274 default:
275 WARN("Non standard input depth %d, forced output depth to 32\n", bmi->biBitCount);
276 outsubtype = &MEDIASUBTYPE_RGB32;
277 output_depth = 32;
278 break;
279 }
280
281 /* Copy bitmap header from media type to 1 for input and 1 for output */
282 bih_size = bmi->biSize + bmi->biClrUsed * 4;
283 This->pBihIn = CoTaskMemAlloc(bih_size);
284 if (!This->pBihIn)
285 {
287 goto failed;
288 }
289 This->pBihOut = CoTaskMemAlloc(bih_size);
290 if (!This->pBihOut)
291 {
293 goto failed;
294 }
295 memcpy(This->pBihIn, bmi, bih_size);
296 memcpy(This->pBihOut, bmi, bih_size);
297
298 /* Update output format as non compressed bitmap */
299 This->pBihOut->biCompression = 0;
300 This->pBihOut->biBitCount = output_depth;
301 This->pBihOut->biSizeImage = This->pBihOut->biWidth * This->pBihOut->biHeight * This->pBihOut->biBitCount / 8;
302 TRACE("Size: %u\n", This->pBihIn->biSize);
303 result = ICDecompressQuery(This->hvid, This->pBihIn, This->pBihOut);
304 if (result != ICERR_OK)
305 {
306 ERR("Unable to found a suitable output format (%d)\n", result);
307 goto failed;
308 }
309
310 /* Update output media type */
311 CopyMediaType(outpmt, pmt);
312 outpmt->subtype = *outsubtype;
313
314 if (IsEqualIID(&pmt->formattype, &FORMAT_VideoInfo))
315 memcpy(&(((VIDEOINFOHEADER *)outpmt->pbFormat)->bmiHeader), This->pBihOut, This->pBihOut->biSize);
316 else if (IsEqualIID(&pmt->formattype, &FORMAT_VideoInfo2))
317 memcpy(&(((VIDEOINFOHEADER2 *)outpmt->pbFormat)->bmiHeader), This->pBihOut, This->pBihOut->biSize);
318 else
319 assert(0);
320
321 TRACE("Connection accepted\n");
322 return S_OK;
323 }
324 TRACE("Unable to find a suitable VFW decompressor\n");
325 }
326
327failed:
328
329 TRACE("Connection refused\n");
330 return hr;
331}
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
Definition: utclib.c:112
#define WARN(fmt,...)
Definition: debug.h:112
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
static __inline const char * debugstr_an(const char *s, int n)
Definition: compat.h:55
GLuint64EXT * result
Definition: glext.h:11304
LPVOID WINAPI CoTaskMemAlloc(SIZE_T size)
Definition: ifs.c:426
if(dx< 0)
Definition: linetemp.h:194
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
static void FreeMediaType(AM_MEDIA_TYPE *pMediaType)
Definition: filtergraph.c:692
static HRESULT CopyMediaType(AM_MEDIA_TYPE *pDest, const AM_MEDIA_TYPE *pSrc)
Definition: filtergraph.c:706
HIC VFWAPI ICLocate(DWORD type, DWORD handler, BITMAPINFOHEADER *in, BITMAPINFOHEADER *out, WORD mode)
Definition: msvideo_main.c:633
#define IsEqualIID(riid1, riid2)
Definition: guiddef.h:95
BITMAPINFOHEADER bmiHeader
Definition: amvideo.idl:189
#define ICMODE_DECOMPRESS
Definition: vfw.h:269
#define ICDecompressQuery(hic, lpbiInput, lpbiOutput)
Definition: vfw.h:377
#define VFW_E_TYPE_NOT_ACCEPTED
Definition: vfwmsgs.h:81

◆ AVIDec_StartStreaming()

static HRESULT WINAPI AVIDec_StartStreaming ( TransformFilter pTransformFilter)
static

Definition at line 60 of file avidec.c.

61{
62 AVIDecImpl* This = impl_from_TransformFilter(pTransformFilter);
64
65 TRACE("(%p)->()\n", This);
66 This->late = -1;
67
68 result = ICDecompressBegin(This->hvid, This->pBihIn, This->pBihOut);
69 if (result != ICERR_OK)
70 {
71 ERR("Cannot start processing (%d)\n", result);
72 return E_FAIL;
73 }
74 return S_OK;
75}
#define ICDecompressBegin(hic, lpbiInput, lpbiOutput)
Definition: vfw.h:371

◆ AVIDec_StopStreaming()

static HRESULT WINAPI AVIDec_StopStreaming ( TransformFilter pTransformFilter)
static

Definition at line 213 of file avidec.c.

214{
215 AVIDecImpl* This = impl_from_TransformFilter(pTransformFilter);
217
218 TRACE("(%p)->()\n", This);
219
220 if (!This->hvid)
221 return S_OK;
222
223 result = ICDecompressEnd(This->hvid);
224 if (result != ICERR_OK)
225 {
226 ERR("Cannot stop processing (%d)\n", result);
227 return E_FAIL;
228 }
229 return S_OK;
230}
#define ICDecompressEnd(hic)
Definition: vfw.h:404

◆ impl_from_TransformFilter()

static AVIDecImpl * impl_from_TransformFilter ( TransformFilter iface)
inlinestatic

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( quartz  )

Variable Documentation

◆ AVIDec_FuncsTable

const TransformFilterFuncTable AVIDec_FuncsTable
static
Initial value:
= {
}
static HRESULT WINAPI AVIDec_NotifyDrop(TransformFilter *pTransformFilter, IBaseFilter *sender, Quality qm)
Definition: avidec.c:83
static HRESULT WINAPI AVIDec_EndFlush(TransformFilter *pTransformFilter)
Definition: avidec.c:77
static HRESULT WINAPI AVIDec_DecideBufferSize(TransformFilter *tf, IMemAllocator *pAlloc, ALLOCATOR_PROPERTIES *ppropInputRequest)
Definition: avidec.c:362
static HRESULT WINAPI AVIDec_BreakConnect(TransformFilter *tf, PIN_DIRECTION dir)
Definition: avidec.c:342
static HRESULT WINAPI AVIDec_Receive(TransformFilter *tf, IMediaSample *pSample)
Definition: avidec.c:107
static HRESULT WINAPI AVIDec_SetMediaType(TransformFilter *tf, PIN_DIRECTION dir, const AM_MEDIA_TYPE *pmt)
Definition: avidec.c:232
static HRESULT WINAPI AVIDec_CompleteConnect(TransformFilter *tf, PIN_DIRECTION dir, IPin *pin)
Definition: avidec.c:333
static HRESULT WINAPI AVIDec_StopStreaming(TransformFilter *pTransformFilter)
Definition: avidec.c:213
static HRESULT WINAPI AVIDec_StartStreaming(TransformFilter *pTransformFilter)
Definition: avidec.c:60

Definition at line 379 of file avidec.c.

Referenced by AVIDec_create().

◆ AVIDec_Vtbl

static const IBaseFilterVtbl AVIDec_Vtbl
static
Initial value:
=
{
}
HRESULT WINAPI BaseFilterImpl_SetSyncSource(IBaseFilter *iface, IReferenceClock *pClock)
Definition: filter.c:101
HRESULT WINAPI TransformFilterImpl_Pause(IBaseFilter *iface)
Definition: transform.c:374
HRESULT WINAPI TransformFilterImpl_Run(IBaseFilter *iface, REFERENCE_TIME tStart)
Definition: transform.c:396
HRESULT WINAPI BaseFilterImpl_GetClassID(IBaseFilter *iface, CLSID *pClsid)
Definition: filter.c:77
HRESULT WINAPI BaseFilterImpl_QueryFilterInfo(IBaseFilter *iface, FILTER_INFO *pInfo)
Definition: filter.c:145
HRESULT WINAPI TransformFilterImpl_Stop(IBaseFilter *iface)
Definition: transform.c:354
HRESULT WINAPI TransformFilterImpl_FindPin(IBaseFilter *iface, LPCWSTR Id, IPin **ppPin)
Definition: transform.c:432
ULONG WINAPI BaseFilterImpl_AddRef(IBaseFilter *iface)
Definition: filter.c:54
HRESULT WINAPI BaseFilterImpl_GetState(IBaseFilter *iface, DWORD dwMilliSecsTimeout, FILTER_STATE *pState)
Definition: filter.c:87
ULONG WINAPI TransformFilterImpl_Release(IBaseFilter *iface)
Definition: transform.c:313
HRESULT WINAPI BaseFilterImpl_JoinFilterGraph(IBaseFilter *iface, IFilterGraph *pGraph, LPCWSTR pName)
Definition: filter.c:159
HRESULT WINAPI TransformFilterImpl_QueryInterface(IBaseFilter *iface, REFIID riid, LPVOID *ppv)
Definition: transform.c:288
HRESULT WINAPI BaseFilterImpl_QueryVendorInfo(IBaseFilter *iface, LPWSTR *pVendorInfo)
Definition: filter.c:178
HRESULT WINAPI BaseFilterImpl_GetSyncSource(IBaseFilter *iface, IReferenceClock **ppClock)
Definition: filter.c:119
HRESULT WINAPI BaseFilterImpl_EnumPins(IBaseFilter *iface, IEnumPins **ppEnum)
Definition: filter.c:135

Definition at line 53 of file avidec.c.

Referenced by AVIDec_create().