Defines | Functions

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)
long WINAPI libAVMemInputPin_QueryInterface (libAVMemInputPin *this, const GUID *riid, void **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)

Define Documentation

#define imemoffset   offsetof(libAVPin, imemvtbl)

Definition at line 25 of file dshow_pin.c.

Referenced by DECLARE_QUERYINTERFACE().


Function Documentation

DECLARE_QUERYINTERFACE ( libAVPin   ) 

Definition at line 27 of file dshow_pin.c.

unsigned long WINAPI libAVMemInputPin_AddRef ( libAVMemInputPin this  ) 

Definition at line 266 of file dshow_pin.c.

void libAVMemInputPin_Destroy ( libAVMemInputPin this  ) 

Definition at line 356 of file dshow_pin.c.

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

Definition at line 280 of file dshow_pin.c.

long WINAPI libAVMemInputPin_GetAllocatorRequirements ( libAVMemInputPin this,
ALLOCATOR_PROPERTIES *  props 
)

Definition at line 293 of file dshow_pin.c.

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

Definition at line 286 of file dshow_pin.c.

long WINAPI libAVMemInputPin_QueryInterface ( libAVMemInputPin this,
const GUID *  riid,
void **  ppvObject 
)

Definition at line 258 of file dshow_pin.c.

long WINAPI libAVMemInputPin_Receive ( libAVMemInputPin this,
IMediaSample *  sample 
)

Definition at line 300 of file dshow_pin.c.

Referenced by libAVMemInputPin_ReceiveMultiple().

long WINAPI libAVMemInputPin_ReceiveCanBlock ( libAVMemInputPin this  ) 

Definition at line 348 of file dshow_pin.c.

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

Definition at line 335 of file dshow_pin.c.

unsigned long WINAPI libAVMemInputPin_Release ( libAVMemInputPin this  ) 

Definition at line 273 of file dshow_pin.c.

long WINAPI libAVPin_BeginFlush ( libAVPin this  ) 

Definition at line 181 of file dshow_pin.c.

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

Definition at line 81 of file dshow_pin.c.

long WINAPI libAVPin_ConnectionMediaType ( libAVPin this,
AM_MEDIA_TYPE *  type 
)

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

long WINAPI libAVPin_EndOfStream ( libAVPin this  ) 

Definition at line 174 of file dshow_pin.c.

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

Definition at line 151 of file dshow_pin.c.

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

Definition at line 195 of file dshow_pin.c.

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

Definition at line 145 of file dshow_pin.c.

long WINAPI libAVPin_QueryDirection ( libAVPin this,
PIN_DIRECTION *  dir 
)

Definition at line 124 of file dshow_pin.c.

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

Definition at line 133 of file dshow_pin.c.

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

Definition at line 167 of file dshow_pin.c.

long WINAPI libAVPin_QueryPinInfo ( libAVPin this,
PIN_INFO *  info 
)

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