libavdevice/dshow_pin.c File Reference

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

Go to the source code of this file.

Defines

#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)


Function Documentation

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

DECLARE_QUERYINTERFACE ( libAVPin   ) 

Definition at line 27 of file dshow_pin.c.

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

unsigned long WINAPI libAVMemInputPin_AddRef ( libAVMemInputPin this  ) 

Definition at line 267 of file dshow_pin.c.

void libAVMemInputPin_Destroy ( libAVMemInputPin this  ) 

Definition at line 357 of file dshow_pin.c.

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

Definition at line 281 of file dshow_pin.c.

long WINAPI libAVMemInputPin_GetAllocatorRequirements ( libAVMemInputPin this,
ALLOCATOR_PROPERTIES *  props 
)

Definition at line 294 of file dshow_pin.c.

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

Definition at line 287 of file dshow_pin.c.

long WINAPI libAVMemInputPin_Receive ( libAVMemInputPin this,
IMediaSample *  sample 
)

Definition at line 301 of file dshow_pin.c.

Referenced by libAVMemInputPin_ReceiveMultiple().

long WINAPI libAVMemInputPin_ReceiveCanBlock ( libAVMemInputPin this  ) 

Definition at line 349 of file dshow_pin.c.

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

Definition at line 336 of file dshow_pin.c.

unsigned long WINAPI libAVMemInputPin_Release ( libAVMemInputPin this  ) 

Definition at line 274 of file dshow_pin.c.

long WINAPI libAVPin_BeginFlush ( libAVPin this  ) 

Definition at line 182 of file dshow_pin.c.

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

Definition at line 82 of file dshow_pin.c.

long WINAPI libAVPin_ConnectionMediaType ( libAVPin this,
AM_MEDIA_TYPE *  type 
)

Definition at line 96 of file dshow_pin.c.

Referenced by dshow_add_device().

long WINAPI libAVPin_Disconnect ( libAVPin this  ) 

Definition at line 68 of file dshow_pin.c.

long WINAPI libAVPin_EndFlush ( libAVPin this  ) 

Definition at line 189 of file dshow_pin.c.

long WINAPI libAVPin_EndOfStream ( libAVPin this  ) 

Definition at line 175 of file dshow_pin.c.

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

Definition at line 152 of file dshow_pin.c.

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

Definition at line 196 of file dshow_pin.c.

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

Definition at line 146 of file dshow_pin.c.

long WINAPI libAVPin_QueryDirection ( libAVPin this,
PIN_DIRECTION *  dir 
)

Definition at line 125 of file dshow_pin.c.

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

Definition at line 134 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 168 of file dshow_pin.c.

long WINAPI libAVPin_QueryPinInfo ( libAVPin this,
PIN_INFO *  info 
)

Definition at line 108 of file dshow_pin.c.

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

Definition at line 40 of file dshow_pin.c.

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

Definition at line 205 of file dshow_pin.c.


Variable Documentation

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

const GUID* riid

Definition at line 259 of file dshow_pin.c.


Generated on Fri Oct 26 02:43:50 2012 for FFmpeg by  doxygen 1.5.8