ReactOS 0.4.16-dev-125-g798ea90
|
#include "dshow.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "wine/strmbase.h"
#include "uuids.h"
#include "vfwmsgs.h"
#include <assert.h>
Go to the source code of this file.
Classes | |
struct | newsegmentargs |
Macros | |
#define | COBJMACROS |
Typedefs | |
typedef HRESULT(* | SendPinFunc) (IPin *to, LPVOID arg) |
typedef struct newsegmentargs | newsegmentargs |
Variables | |
static const IMemInputPinVtbl | MemInputPin_Vtbl |
typedef struct newsegmentargs newsegmentargs |
HRESULT BaseInputPin_Construct | ( | const IPinVtbl * | InputPin_Vtbl, |
LONG | inputpin_size, | ||
const PIN_INFO * | pPinInfo, | ||
const BaseInputPinFuncTable * | vtbl, | ||
LPCRITICAL_SECTION | pCritSec, | ||
IMemAllocator * | allocator, | ||
IPin ** | ppPin | ||
) |
Definition at line 1189 of file pin.c.
Referenced by audiomediastream_create(), BaseRenderer_Init(), create_input_pin(), ddrawmediastream_create(), QCAP_createAVICompressor(), QCAP_createSmartTeeFilter(), and TransformFilter_Init().
HRESULT WINAPI BaseInputPin_Destroy | ( | BaseInputPin * | This | ) |
Definition at line 1221 of file pin.c.
Referenced by AudioMediaStreamImpl_IAMMediaStream_Release(), BaseInputPinImpl_Release(), and DirectDrawMediaStreamImpl_IAMMediaStream_Release().
Definition at line 968 of file pin.c.
Referenced by AviMuxIn_BeginFlush(), BaseRenderer_InputPin_BeginFlush(), and TransformFilter_InputPin_BeginFlush().
HRESULT WINAPI BaseInputPinImpl_Connect | ( | IPin * | iface, |
IPin * | pConnector, | ||
const AM_MEDIA_TYPE * | pmt | ||
) |
Definition at line 988 of file pin.c.
Referenced by AviMuxIn_EndFlush(), BaseRenderer_InputPin_EndFlush(), and TransformFilter_InputPin_EndFlush().
Definition at line 944 of file pin.c.
Referenced by AviMuxIn_EndOfStream(), and BaseRenderer_InputPin_EndOfStream().
HRESULT WINAPI BaseInputPinImpl_NewSegment | ( | IPin * | iface, |
REFERENCE_TIME | tStart, | ||
REFERENCE_TIME | tStop, | ||
double | dRate | ||
) |
Definition at line 1015 of file pin.c.
Referenced by TransformFilter_InputPin_NewSegment().
HRESULT WINAPI BaseInputPinImpl_QueryAccept | ( | IPin * | iface, |
const AM_MEDIA_TYPE * | pmt | ||
) |
Definition at line 838 of file pin.c.
Referenced by AVICompressorIn_QueryInterface(), and AVICompressorOut_QueryInterface().
HRESULT WINAPI BaseInputPinImpl_ReceiveConnection | ( | IPin * | iface, |
IPin * | pReceivePin, | ||
const AM_MEDIA_TYPE * | pmt | ||
) |
Definition at line 889 of file pin.c.
Referenced by AVICompressorIn_ReceiveConnection(), AviMuxIn_ReceiveConnection(), BaseRenderer_InputPin_ReceiveConnection(), and TransformFilter_InputPin_ReceiveConnection().
Definition at line 868 of file pin.c.
Referenced by AVICompressor_Release(), AviMux_Release(), create_input_pin(), and Unknown_Release().
HRESULT WINAPI BaseOutputPin_Construct | ( | const IPinVtbl * | OutputPin_Vtbl, |
LONG | outputpin_size, | ||
const PIN_INFO * | pPinInfo, | ||
const BaseOutputPinFuncTable * | vtbl, | ||
LPCRITICAL_SECTION | pCritSec, | ||
IPin ** | ppPin | ||
) |
Definition at line 791 of file pin.c.
Referenced by FileAsyncReader_Construct(), Parser_AddPin(), QCAP_createAVICompressor(), QCAP_createAVIMux(), QCAP_createSmartTeeFilter(), TransformFilter_Init(), and VfwPin_Construct().
HRESULT WINAPI BaseOutputPin_Destroy | ( | BaseOutputPin * | This | ) |
Definition at line 821 of file pin.c.
Referenced by BaseOutputPinImpl_Release(), FileAsyncReaderPin_Release(), and VfwPin_Release().
HRESULT WINAPI BaseOutputPinImpl_Active | ( | BaseOutputPin * | This | ) |
Definition at line 614 of file pin.c.
Referenced by Parser_Run(), and TransformFilterImpl_Run().
HRESULT WINAPI BaseOutputPinImpl_AttemptConnection | ( | BasePin * | iface, |
IPin * | pReceivePin, | ||
const AM_MEDIA_TYPE * | pmt | ||
) |
Definition at line 712 of file pin.c.
Referenced by AviMuxOut_AttemptConnection().
Definition at line 536 of file pin.c.
Referenced by AviMuxOut_BeginFlush().
HRESULT WINAPI BaseOutputPinImpl_BreakConnect | ( | BaseOutputPin * | This | ) |
HRESULT WINAPI BaseOutputPinImpl_Connect | ( | IPin * | iface, |
IPin * | pReceivePin, | ||
const AM_MEDIA_TYPE * | pmt | ||
) |
Definition at line 405 of file pin.c.
Referenced by AviMuxOut_Connect(), and Parser_OutputPin_Connect().
HRESULT WINAPI BaseOutputPinImpl_DecideAllocator | ( | BaseOutputPin * | This, |
IMemInputPin * | pPin, | ||
IMemAllocator ** | pAlloc | ||
) |
Definition at line 683 of file pin.c.
Referenced by AVICompressorOut_DecideAllocator().
HRESULT WINAPI BaseOutputPinImpl_Deliver | ( | BaseOutputPin * | This, |
IMediaSample * | pSample | ||
) |
Definition at line 574 of file pin.c.
Referenced by ACMWrapper_Receive(), AVICompressorIn_Receive(), AVIDec_Receive(), AVISplitter_Receive(), FillBuffer(), SmartTeeFilterInput_Receive(), and WAVEParser_Sample().
Definition at line 497 of file pin.c.
Referenced by AviMuxOut_Connect(), and AviMuxOut_Disconnect().
Definition at line 545 of file pin.c.
Referenced by AviMuxOut_EndFlush().
Definition at line 527 of file pin.c.
Referenced by AviMuxOut_EndOfStream().
HRESULT WINAPI BaseOutputPinImpl_GetDeliveryBuffer | ( | BaseOutputPin * | This, |
IMediaSample ** | ppSample, | ||
REFERENCE_TIME * | tStart, | ||
REFERENCE_TIME * | tStop, | ||
DWORD | dwFlags | ||
) |
Definition at line 554 of file pin.c.
Referenced by ACMWrapper_Receive(), AVICompressorIn_Receive(), and AVIDec_Receive().
HRESULT WINAPI BaseOutputPinImpl_Inactive | ( | BaseOutputPin * | This | ) |
Definition at line 634 of file pin.c.
Referenced by Parser_Stop(), and TransformFilterImpl_Stop().
HRESULT WINAPI BaseOutputPinImpl_InitAllocator | ( | BaseOutputPin * | This, |
IMemAllocator ** | pMemAlloc | ||
) |
Definition at line 678 of file pin.c.
Referenced by AviMuxOut_DecideAllocator(), and BaseOutputPinImpl_DecideAllocator().
HRESULT WINAPI BaseOutputPinImpl_ReceiveConnection | ( | IPin * | iface, |
IPin * | pReceivePin, | ||
const AM_MEDIA_TYPE * | pmt | ||
) |
Definition at line 392 of file pin.c.
Referenced by AVICompressor_Release(), AviMux_Release(), QCAP_createAVIMux(), and Unknown_Release().
Definition at line 222 of file pin.c.
Referenced by AviMuxIn_ConnectedTo(), and AviMuxOut_ConnectedTo().
HRESULT WINAPI BasePinImpl_ConnectionMediaType | ( | IPin * | iface, |
AM_MEDIA_TYPE * | pmt | ||
) |
Definition at line 248 of file pin.c.
Referenced by AviMuxIn_ConnectionMediaType(), and AviMuxOut_ConnectionMediaType().
Definition at line 197 of file pin.c.
Referenced by AVICompressorIn_Disconnect(), AVICompressorIn_ReceiveConnection(), AviMuxIn_Disconnect(), AviMuxIn_ReceiveConnection(), BaseRenderer_InputPin_Disconnect(), and TransformFilter_InputPin_Disconnect().
HRESULT WINAPI BasePinImpl_EnumMediaTypes | ( | IPin * | iface, |
IEnumMediaTypes ** | ppEnum | ||
) |
Definition at line 318 of file pin.c.
Referenced by AviMuxIn_EnumMediaTypes(), AviMuxOut_EnumMediaTypes(), SmartTeeFilterCapture_EnumMediaTypes(), SmartTeeFilterPreview_EnumMediaTypes(), and VfwPin_EnumMediaTypes().
HRESULT WINAPI BasePinImpl_GetMediaType | ( | BasePin * | iface, |
int | iPosition, | ||
AM_MEDIA_TYPE * | pmt | ||
) |
Definition at line 175 of file pin.c.
Referenced by Parser_PullPin_EnumMediaTypes().
Definition at line 182 of file pin.c.
Referenced by Parser_PullPin_EnumMediaTypes().
HRESULT WINAPI BasePinImpl_NewSegment | ( | IPin * | iface, |
REFERENCE_TIME | tStart, | ||
REFERENCE_TIME | tStop, | ||
double | dRate | ||
) |
Definition at line 338 of file pin.c.
Referenced by AviMuxIn_NewSegment(), and AviMuxOut_NewSegment().
HRESULT WINAPI BasePinImpl_QueryAccept | ( | IPin * | iface, |
const AM_MEDIA_TYPE * | pmt | ||
) |
Definition at line 311 of file pin.c.
Referenced by AviMuxIn_QueryAccept(), and AviMuxOut_QueryAccept().
HRESULT WINAPI BasePinImpl_QueryDirection | ( | IPin * | iface, |
PIN_DIRECTION * | pPinDir | ||
) |
Definition at line 285 of file pin.c.
Referenced by AviMuxIn_QueryDirection(), and AviMuxOut_QueryDirection().
Definition at line 296 of file pin.c.
Referenced by AviMuxIn_QueryId(), and AviMuxOut_QueryId().
Definition at line 329 of file pin.c.
Referenced by AviMuxIn_QueryInternalConnections().
Definition at line 273 of file pin.c.
Referenced by AviMuxIn_QueryPinInfo(), and AviMuxOut_QueryPinInfo().
|
static |
Definition at line 164 of file pin.c.
Referenced by BaseOutputPinImpl_Connect().
Definition at line 146 of file pin.c.
|
static |
Definition at line 157 of file pin.c.
|
inlinestatic |
Definition at line 833 of file pin.c.
Referenced by BaseInputPinImpl_BeginFlush(), BaseInputPinImpl_EndFlush(), BaseInputPinImpl_EndOfStream(), BaseInputPinImpl_NewSegment(), BaseInputPinImpl_QueryAccept(), BaseInputPinImpl_QueryInterface(), BaseInputPinImpl_ReceiveConnection(), and BaseInputPinImpl_Release().
|
inlinestatic |
Definition at line 358 of file pin.c.
Referenced by BaseOutputPinImpl_AttemptConnection().
|
inlinestatic |
Definition at line 353 of file pin.c.
Referenced by BaseOutputPinImpl_Connect(), BaseOutputPinImpl_Disconnect(), BaseOutputPinImpl_QueryInterface(), and BaseOutputPinImpl_Release().
|
inlinestatic |
Definition at line 1031 of file pin.c.
Referenced by MemInputPin_AddRef(), MemInputPin_GetAllocator(), MemInputPin_GetAllocatorRequirements(), MemInputPin_NotifyAllocator(), MemInputPin_QueryInterface(), MemInputPin_Receive(), MemInputPin_ReceiveCanBlock(), MemInputPin_ReceiveMultiple(), and MemInputPin_Release().
Definition at line 38 of file pin.c.
Referenced by BasePinImpl_AddRef(), BasePinImpl_ConnectedTo(), BasePinImpl_ConnectionMediaType(), BasePinImpl_Disconnect(), BasePinImpl_EnumMediaTypes(), BasePinImpl_NewSegment(), BasePinImpl_QueryDirection(), BasePinImpl_QueryId(), BasePinImpl_QueryInternalConnections(), and BasePinImpl_QueryPinInfo().
|
static |
Definition at line 1160 of file pin.c.
Referenced by BaseInputPin_Construct().
|
static |
Definition at line 1043 of file pin.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 767 of file pin.c.
Referenced by BaseOutputPin_Construct().
|
static |
Sends a message from a pin further to other, similar pins fnMiddle is called on each pin found further on the stream. fnEnd (can be NULL) is called when the message can't be sent any further (this is a renderer or source)
If the pin given is an input pin, the message will be sent downstream to other input pins If the pin given is an output pin, the message will be sent upstream to other output pins
Definition at line 67 of file pin.c.
Helper function, there are a lot of places where the error code is inherited The following rules apply:
Return the first received error code (E_NOTIMPL is ignored) If no errors occur: return the first received non-error-code that isn't S_OK
WINE_DEFAULT_DEBUG_CHANNEL | ( | strmbase | ) |
|
static |
Definition at line 34 of file pin.c.
Referenced by InputPin_Init().