FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dshow_pin.c File Reference
#include "dshow_capture.h"
#include <stddef.h>

Go to the source code of this file.

Macros

#define imemoffset   offsetof(libAVPin, imemvtbl)
 

Functions

 DECLARE_QUERYINTERFACE (libAVPin,{{&IID_IUnknown, 0},{&IID_IPin, 0},{&IID_IMemInputPin, imemoffset}})
 
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, BOOL 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)
 

Macro Definition Documentation

#define imemoffset   offsetof(libAVPin, imemvtbl)

Function Documentation

DECLARE_QUERYINTERFACE ( libAVPin  ,
{{&IID_IUnknown, 0},{&IID_IPin, 0},{&IID_IMemInputPin, imemoffset}}   
)

Definition at line 27 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.

long WINAPI libAVPin_Disconnect ( libAVPin this)

Definition at line 68 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_QueryPinInfo ( libAVPin this,
PIN_INFO *  info 
)

Definition at line 108 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.

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

Definition at line 146 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_QueryInternalConnections ( libAVPin this,
IPin **  pin,
unsigned long *  npin 
)

Definition at line 168 of file dshow_pin.c.

long WINAPI libAVPin_EndOfStream ( libAVPin this)

Definition at line 175 of file dshow_pin.c.

long WINAPI libAVPin_BeginFlush ( libAVPin this)

Definition at line 182 of file dshow_pin.c.

long WINAPI libAVPin_EndFlush ( libAVPin this)

Definition at line 189 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.

static int libAVPin_Setup ( libAVPin this,
libAVFilter filter 
)
static

Definition at line 205 of file dshow_pin.c.

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

Definition at line 259 of file dshow_pin.c.

unsigned long WINAPI libAVMemInputPin_AddRef ( libAVMemInputPin this)

Definition at line 267 of file dshow_pin.c.

unsigned long WINAPI libAVMemInputPin_Release ( libAVMemInputPin this)

Definition at line 274 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_NotifyAllocator ( libAVMemInputPin this,
IMemAllocator *  alloc,
BOOL  rdwr 
)

Definition at line 287 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_Receive ( libAVMemInputPin this,
IMediaSample *  sample 
)

Definition at line 301 of file dshow_pin.c.

Referenced by libAVMemInputPin_ReceiveMultiple().

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

Definition at line 350 of file dshow_pin.c.

long WINAPI libAVMemInputPin_ReceiveCanBlock ( libAVMemInputPin this)

Definition at line 363 of file dshow_pin.c.

void libAVMemInputPin_Destroy ( libAVMemInputPin this)

Definition at line 371 of file dshow_pin.c.