Macros | Functions
dshow_pin.c File Reference
#include "dshow_capture.h"
#include <stddef.h>

Go to the source code of this file.


#define imemoffset   offsetof(DShowPin, imemvtbl)


 DECLARE_QUERYINTERFACE (pin, DShowPin,{{&IID_IUnknown, 0},{&IID_IPin, 0},{&IID_IMemInputPin, imemoffset}})
long ff_dshow_pin_ReceiveConnection (DShowPin *this, IPin *pin, const AM_MEDIA_TYPE *type)
long ff_dshow_pin_Disconnect (DShowPin *this)
long ff_dshow_pin_ConnectedTo (DShowPin *this, IPin **pin)
long ff_dshow_pin_ConnectionMediaType (DShowPin *this, AM_MEDIA_TYPE *type)
long ff_dshow_pin_QueryPinInfo (DShowPin *this, PIN_INFO *info)
long ff_dshow_pin_QueryDirection (DShowPin *this, PIN_DIRECTION *dir)
long ff_dshow_pin_QueryId (DShowPin *this, wchar_t **id)
long ff_dshow_pin_QueryAccept (DShowPin *this, const AM_MEDIA_TYPE *type)
long ff_dshow_pin_EnumMediaTypes (DShowPin *this, IEnumMediaTypes **enumtypes)
long ff_dshow_pin_QueryInternalConnections (DShowPin *this, IPin **pin, unsigned long *npin)
long ff_dshow_pin_EndOfStream (DShowPin *this)
long ff_dshow_pin_BeginFlush (DShowPin *this)
long ff_dshow_pin_EndFlush (DShowPin *this)
long ff_dshow_pin_NewSegment (DShowPin *this, REFERENCE_TIME start, REFERENCE_TIME stop, double rate)
static int ff_dshow_pin_Setup (DShowPin *this, DShowFilter *filter)
static void ff_dshow_pin_Free (DShowPin *this)
long ff_dshow_meminputpin_QueryInterface (DShowMemInputPin *this, const GUID *riid, void **ppvObject)
unsigned long ff_dshow_meminputpin_AddRef (DShowMemInputPin *this)
unsigned long ff_dshow_meminputpin_Release (DShowMemInputPin *this)
long ff_dshow_meminputpin_GetAllocator (DShowMemInputPin *this, IMemAllocator **alloc)
long ff_dshow_meminputpin_NotifyAllocator (DShowMemInputPin *this, IMemAllocator *alloc, BOOL rdwr)
long ff_dshow_meminputpin_GetAllocatorRequirements (DShowMemInputPin *this, ALLOCATOR_PROPERTIES *props)
long ff_dshow_meminputpin_Receive (DShowMemInputPin *this, IMediaSample *sample)
long ff_dshow_meminputpin_ReceiveMultiple (DShowMemInputPin *this, IMediaSample **samples, long n, long *nproc)
long ff_dshow_meminputpin_ReceiveCanBlock (DShowMemInputPin *this)
void ff_dshow_meminputpin_Destroy (DShowMemInputPin *this)

Macro Definition Documentation

#define imemoffset   offsetof(DShowPin, imemvtbl)

Function Documentation

DShowPin  ,
{{&IID_IUnknown, 0},{&IID_IPin, 0},{&IID_IMemInputPin, imemoffset}}   

Definition at line 27 of file dshow_pin.c.

long ff_dshow_pin_ReceiveConnection ( DShowPin this,
IPin *  pin,
const AM_MEDIA_TYPE *  type 

Definition at line 38 of file dshow_pin.c.

long ff_dshow_pin_Disconnect ( DShowPin this)

Definition at line 65 of file dshow_pin.c.

long ff_dshow_pin_ConnectedTo ( DShowPin this,
IPin **  pin 

Definition at line 78 of file dshow_pin.c.

long ff_dshow_pin_ConnectionMediaType ( DShowPin this,
AM_MEDIA_TYPE *  type 

Definition at line 91 of file dshow_pin.c.

Referenced by dshow_add_device().

long ff_dshow_pin_QueryPinInfo ( DShowPin this,
PIN_INFO *  info 

Definition at line 102 of file dshow_pin.c.

long ff_dshow_pin_QueryDirection ( DShowPin this,

Definition at line 118 of file dshow_pin.c.

long ff_dshow_pin_QueryId ( DShowPin this,
wchar_t **  id 

Definition at line 126 of file dshow_pin.c.

long ff_dshow_pin_QueryAccept ( DShowPin this,
const AM_MEDIA_TYPE *  type 

Definition at line 137 of file dshow_pin.c.

long ff_dshow_pin_EnumMediaTypes ( DShowPin this,
IEnumMediaTypes **  enumtypes 

Definition at line 142 of file dshow_pin.c.

long ff_dshow_pin_QueryInternalConnections ( DShowPin this,
IPin **  pin,
unsigned long *  npin 

Definition at line 157 of file dshow_pin.c.

long ff_dshow_pin_EndOfStream ( DShowPin this)

Definition at line 163 of file dshow_pin.c.

long ff_dshow_pin_BeginFlush ( DShowPin this)

Definition at line 169 of file dshow_pin.c.

long ff_dshow_pin_EndFlush ( DShowPin this)

Definition at line 175 of file dshow_pin.c.

long ff_dshow_pin_NewSegment ( DShowPin this,
double  rate 

Definition at line 181 of file dshow_pin.c.

static int ff_dshow_pin_Setup ( DShowPin this,
DShowFilter filter 

Definition at line 189 of file dshow_pin.c.

Referenced by ff_dshow_pin_Free().

static void ff_dshow_pin_Free ( DShowPin this)

Definition at line 237 of file dshow_pin.c.

long ff_dshow_meminputpin_QueryInterface ( DShowMemInputPin this,
const GUID *  riid,
void **  ppvObject 

Definition at line 253 of file dshow_pin.c.

unsigned long ff_dshow_meminputpin_AddRef ( DShowMemInputPin this)

Definition at line 260 of file dshow_pin.c.

unsigned long ff_dshow_meminputpin_Release ( DShowMemInputPin this)

Definition at line 266 of file dshow_pin.c.

long ff_dshow_meminputpin_GetAllocator ( DShowMemInputPin this,
IMemAllocator **  alloc 

Definition at line 272 of file dshow_pin.c.

long ff_dshow_meminputpin_NotifyAllocator ( DShowMemInputPin this,
IMemAllocator *  alloc,
BOOL  rdwr 

Definition at line 277 of file dshow_pin.c.

long ff_dshow_meminputpin_GetAllocatorRequirements ( DShowMemInputPin this,

Definition at line 283 of file dshow_pin.c.

long ff_dshow_meminputpin_Receive ( DShowMemInputPin this,
IMediaSample *  sample 

Definition at line 289 of file dshow_pin.c.

Referenced by ff_dshow_meminputpin_ReceiveMultiple().

long ff_dshow_meminputpin_ReceiveMultiple ( DShowMemInputPin this,
IMediaSample **  samples,
long  n,
long *  nproc 

Definition at line 345 of file dshow_pin.c.

long ff_dshow_meminputpin_ReceiveCanBlock ( DShowMemInputPin this)

Definition at line 357 of file dshow_pin.c.

void ff_dshow_meminputpin_Destroy ( DShowMemInputPin this)

Definition at line 364 of file dshow_pin.c.