libavdevice/dshow_pin.c File Reference

#include "dshow_capture.h"
#include <stddef.h>

Go to the source code of this file.

Defines

#define NO_DSHOW_STRSAFE
#define imemoffset   offsetof(libAVPin, imemvtbl)

Functions

 DECLARE_QUERYINTERFACE (libAVPin)
long WINAPI libAVPin_ReceiveConnection (libAVPin *this, IPin *pin, const AM_MEDIA_TYPE *type)
long WINAPI libAVPin_Disconnect (libAVPin *this)
long WINAPI libAVPin_ConnectedTo (libAVPin *this, IPin **pin)
long WINAPI libAVPin_ConnectionMediaType (libAVPin *this, AM_MEDIA_TYPE *type)
long WINAPI libAVPin_QueryPinInfo (libAVPin *this, PIN_INFO *info)
long WINAPI libAVPin_QueryDirection (libAVPin *this, PIN_DIRECTION *dir)
long WINAPI libAVPin_QueryId (libAVPin *this, wchar_t **id)
long WINAPI libAVPin_QueryAccept (libAVPin *this, const AM_MEDIA_TYPE *type)
long WINAPI libAVPin_EnumMediaTypes (libAVPin *this, IEnumMediaTypes **enumtypes)
long WINAPI libAVPin_QueryInternalConnections (libAVPin *this, IPin **pin, unsigned long *npin)
long WINAPI libAVPin_EndOfStream (libAVPin *this)
long WINAPI libAVPin_BeginFlush (libAVPin *this)
long WINAPI libAVPin_EndFlush (libAVPin *this)
long WINAPI libAVPin_NewSegment (libAVPin *this, REFERENCE_TIME start, REFERENCE_TIME stop, double rate)
static int libAVPin_Setup (libAVPin *this, libAVFilter *filter)
 DECLARE_CREATE (libAVPin, libAVPin_Setup(this, filter), libAVFilter *filter) long WINAPI libAVMemInputPin_QueryInterface(libAVMemInputPin *this
 dshowdebug ("libAVMemInputPin_QueryInterface(%p)\n", this)
return libAVPin_QueryInterface (pin, riid, ppvObject)
unsigned long WINAPI libAVMemInputPin_AddRef (libAVMemInputPin *this)
unsigned long WINAPI libAVMemInputPin_Release (libAVMemInputPin *this)
long WINAPI libAVMemInputPin_GetAllocator (libAVMemInputPin *this, IMemAllocator **alloc)
long WINAPI libAVMemInputPin_NotifyAllocator (libAVMemInputPin *this, IMemAllocator *alloc, WINBOOL rdwr)
long WINAPI libAVMemInputPin_GetAllocatorRequirements (libAVMemInputPin *this, ALLOCATOR_PROPERTIES *props)
long WINAPI libAVMemInputPin_Receive (libAVMemInputPin *this, IMediaSample *sample)
long WINAPI libAVMemInputPin_ReceiveMultiple (libAVMemInputPin *this, IMediaSample **samples, long n, long *nproc)
long WINAPI libAVMemInputPin_ReceiveCanBlock (libAVMemInputPin *this)
void libAVMemInputPin_Destroy (libAVMemInputPin *this)

Variables

const GUID * riid
const GUID void **ppvObject
libAVPin
pin = (libAVPin *) ((uint8_t *) this - imemoffset)


Define Documentation

#define imemoffset   offsetof(libAVPin, imemvtbl)

#define NO_DSHOW_STRSAFE

Definition at line 22 of file dshow_pin.c.


Function Documentation

DECLARE_CREATE ( libAVPin  ,
libAVPin_Setup(this, filter)  ,
libAVFilter filter 
)

DECLARE_QUERYINTERFACE ( libAVPin   ) 

Definition at line 28 of file dshow_pin.c.

dshowdebug ( "libAVMemInputPin_QueryInterface(%p)\n"  ,
this   
)

unsigned long WINAPI libAVMemInputPin_AddRef ( libAVMemInputPin this  ) 

Definition at line 268 of file dshow_pin.c.

void libAVMemInputPin_Destroy ( libAVMemInputPin this  ) 

Definition at line 358 of file dshow_pin.c.

long WINAPI libAVMemInputPin_GetAllocator ( libAVMemInputPin this,
IMemAllocator **  alloc 
)

Definition at line 282 of file dshow_pin.c.

long WINAPI libAVMemInputPin_GetAllocatorRequirements ( libAVMemInputPin this,
ALLOCATOR_PROPERTIES *  props 
)

Definition at line 295 of file dshow_pin.c.

long WINAPI libAVMemInputPin_NotifyAllocator ( libAVMemInputPin this,
IMemAllocator *  alloc,
WINBOOL  rdwr 
)

Definition at line 288 of file dshow_pin.c.

long WINAPI libAVMemInputPin_Receive ( libAVMemInputPin this,
IMediaSample *  sample 
)

Definition at line 302 of file dshow_pin.c.

Referenced by libAVMemInputPin_ReceiveMultiple().

long WINAPI libAVMemInputPin_ReceiveCanBlock ( libAVMemInputPin this  ) 

Definition at line 350 of file dshow_pin.c.

long WINAPI libAVMemInputPin_ReceiveMultiple ( libAVMemInputPin this,
IMediaSample **  samples,
long  n,
long *  nproc 
)

Definition at line 337 of file dshow_pin.c.

unsigned long WINAPI libAVMemInputPin_Release ( libAVMemInputPin this  ) 

Definition at line 275 of file dshow_pin.c.

long WINAPI libAVPin_BeginFlush ( libAVPin this  ) 

Definition at line 183 of file dshow_pin.c.

long WINAPI libAVPin_ConnectedTo ( libAVPin this,
IPin **  pin 
)

Definition at line 83 of file dshow_pin.c.

long WINAPI libAVPin_ConnectionMediaType ( libAVPin this,
AM_MEDIA_TYPE *  type 
)

Definition at line 97 of file dshow_pin.c.

Referenced by dshow_add_device().

long WINAPI libAVPin_Disconnect ( libAVPin this  ) 

Definition at line 69 of file dshow_pin.c.

long WINAPI libAVPin_EndFlush ( libAVPin this  ) 

Definition at line 190 of file dshow_pin.c.

long WINAPI libAVPin_EndOfStream ( libAVPin this  ) 

Definition at line 176 of file dshow_pin.c.

long WINAPI libAVPin_EnumMediaTypes ( libAVPin this,
IEnumMediaTypes **  enumtypes 
)

Definition at line 153 of file dshow_pin.c.

long WINAPI libAVPin_NewSegment ( libAVPin this,
REFERENCE_TIME  start,
REFERENCE_TIME  stop,
double  rate 
)

Definition at line 197 of file dshow_pin.c.

long WINAPI libAVPin_QueryAccept ( libAVPin this,
const AM_MEDIA_TYPE *  type 
)

Definition at line 147 of file dshow_pin.c.

long WINAPI libAVPin_QueryDirection ( libAVPin this,
PIN_DIRECTION *  dir 
)

Definition at line 126 of file dshow_pin.c.

long WINAPI libAVPin_QueryId ( libAVPin this,
wchar_t **  id 
)

Definition at line 135 of file dshow_pin.c.

return libAVPin_QueryInterface ( pin  ,
riid  ,
ppvObject   
)

long WINAPI libAVPin_QueryInternalConnections ( libAVPin this,
IPin **  pin,
unsigned long *  npin 
)

Definition at line 169 of file dshow_pin.c.

long WINAPI libAVPin_QueryPinInfo ( libAVPin this,
PIN_INFO *  info 
)

Definition at line 109 of file dshow_pin.c.

long WINAPI libAVPin_ReceiveConnection ( libAVPin this,
IPin *  pin,
const AM_MEDIA_TYPE *  type 
)

Definition at line 41 of file dshow_pin.c.

static int libAVPin_Setup ( libAVPin this,
libAVFilter filter 
) [static]

Definition at line 206 of file dshow_pin.c.


Variable Documentation

const GUID void** ppvObject libAVPin* pin = (libAVPin *) ((uint8_t *) this - imemoffset)

const GUID* riid

Definition at line 260 of file dshow_pin.c.


Generated on Fri Oct 26 02:48:00 2012 for FFmpeg by  doxygen 1.5.8