FFmpeg
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(DShowPin, imemvtbl)
 

Functions

 DECLARE_QUERYINTERFACE (pin, DShowPin, { {&IID_IUnknown, 0}, {&IID_IPin, 0}, {&IID_IMemInputPin, imemoffset} })
 
long WINAPI ff_dshow_pin_ReceiveConnection (DShowPin *this, IPin *pin, const AM_MEDIA_TYPE *type)
 
long WINAPI ff_dshow_pin_Disconnect (DShowPin *this)
 
long WINAPI ff_dshow_pin_ConnectedTo (DShowPin *this, IPin **pin)
 
long WINAPI ff_dshow_pin_ConnectionMediaType (DShowPin *this, AM_MEDIA_TYPE *type)
 
long WINAPI ff_dshow_pin_QueryPinInfo (DShowPin *this, PIN_INFO *info)
 
long WINAPI ff_dshow_pin_QueryDirection (DShowPin *this, PIN_DIRECTION *dir)
 
long WINAPI ff_dshow_pin_QueryId (DShowPin *this, wchar_t **id)
 
long WINAPI ff_dshow_pin_QueryAccept (DShowPin *this, const AM_MEDIA_TYPE *type)
 
long WINAPI ff_dshow_pin_EnumMediaTypes (DShowPin *this, IEnumMediaTypes **enumtypes)
 
long WINAPI ff_dshow_pin_QueryInternalConnections (DShowPin *this, IPin **pin, unsigned long *npin)
 
long WINAPI ff_dshow_pin_EndOfStream (DShowPin *this)
 
long WINAPI ff_dshow_pin_BeginFlush (DShowPin *this)
 
long WINAPI ff_dshow_pin_EndFlush (DShowPin *this)
 
long WINAPI 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 WINAPI ff_dshow_meminputpin_QueryInterface (DShowMemInputPin *this, const GUID *riid, void **ppvObject)
 
unsigned long WINAPI ff_dshow_meminputpin_AddRef (DShowMemInputPin *this)
 
unsigned long WINAPI ff_dshow_meminputpin_Release (DShowMemInputPin *this)
 
long WINAPI ff_dshow_meminputpin_GetAllocator (DShowMemInputPin *this, IMemAllocator **alloc)
 
long WINAPI ff_dshow_meminputpin_NotifyAllocator (DShowMemInputPin *this, IMemAllocator *alloc, BOOL rdwr)
 
long WINAPI ff_dshow_meminputpin_GetAllocatorRequirements (DShowMemInputPin *this, ALLOCATOR_PROPERTIES *props)
 
long WINAPI ff_dshow_meminputpin_Receive (DShowMemInputPin *this, IMediaSample *sample)
 
long WINAPI ff_dshow_meminputpin_ReceiveMultiple (DShowMemInputPin *this, IMediaSample **samples, long n, long *nproc)
 
long WINAPI ff_dshow_meminputpin_ReceiveCanBlock (DShowMemInputPin *this)
 
void ff_dshow_meminputpin_Destroy (DShowMemInputPin *this)
 

Macro Definition Documentation

◆ imemoffset

#define imemoffset   offsetof(DShowPin, imemvtbl)

Definition at line 25 of file dshow_pin.c.

Function Documentation

◆ DECLARE_QUERYINTERFACE()

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

Definition at line 27 of file dshow_pin.c.

◆ ff_dshow_pin_ReceiveConnection()

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

Definition at line 38 of file dshow_pin.c.

◆ ff_dshow_pin_Disconnect()

long WINAPI ff_dshow_pin_Disconnect ( DShowPin this)

Definition at line 65 of file dshow_pin.c.

◆ ff_dshow_pin_ConnectedTo()

long WINAPI ff_dshow_pin_ConnectedTo ( DShowPin this,
IPin **  pin 
)

Definition at line 78 of file dshow_pin.c.

◆ ff_dshow_pin_ConnectionMediaType()

long WINAPI ff_dshow_pin_ConnectionMediaType ( DShowPin this,
AM_MEDIA_TYPE *  type 
)

Definition at line 91 of file dshow_pin.c.

Referenced by dshow_add_device().

◆ ff_dshow_pin_QueryPinInfo()

long WINAPI ff_dshow_pin_QueryPinInfo ( DShowPin this,
PIN_INFO *  info 
)

Definition at line 102 of file dshow_pin.c.

◆ ff_dshow_pin_QueryDirection()

long WINAPI ff_dshow_pin_QueryDirection ( DShowPin this,
PIN_DIRECTION *  dir 
)

Definition at line 118 of file dshow_pin.c.

◆ ff_dshow_pin_QueryId()

long WINAPI ff_dshow_pin_QueryId ( DShowPin this,
wchar_t **  id 
)

Definition at line 126 of file dshow_pin.c.

◆ ff_dshow_pin_QueryAccept()

long WINAPI ff_dshow_pin_QueryAccept ( DShowPin this,
const AM_MEDIA_TYPE *  type 
)

Definition at line 137 of file dshow_pin.c.

◆ ff_dshow_pin_EnumMediaTypes()

long WINAPI ff_dshow_pin_EnumMediaTypes ( DShowPin this,
IEnumMediaTypes **  enumtypes 
)

Definition at line 142 of file dshow_pin.c.

◆ ff_dshow_pin_QueryInternalConnections()

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

Definition at line 157 of file dshow_pin.c.

◆ ff_dshow_pin_EndOfStream()

long WINAPI ff_dshow_pin_EndOfStream ( DShowPin this)

Definition at line 163 of file dshow_pin.c.

◆ ff_dshow_pin_BeginFlush()

long WINAPI ff_dshow_pin_BeginFlush ( DShowPin this)

Definition at line 169 of file dshow_pin.c.

◆ ff_dshow_pin_EndFlush()

long WINAPI ff_dshow_pin_EndFlush ( DShowPin this)

Definition at line 175 of file dshow_pin.c.

◆ ff_dshow_pin_NewSegment()

long WINAPI ff_dshow_pin_NewSegment ( DShowPin this,
REFERENCE_TIME  start,
REFERENCE_TIME  stop,
double  rate 
)

Definition at line 181 of file dshow_pin.c.

◆ ff_dshow_pin_Setup()

static int ff_dshow_pin_Setup ( DShowPin this,
DShowFilter filter 
)
static

Definition at line 189 of file dshow_pin.c.

◆ ff_dshow_pin_Free()

static void ff_dshow_pin_Free ( DShowPin this)
static

Definition at line 237 of file dshow_pin.c.

◆ ff_dshow_meminputpin_QueryInterface()

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

Definition at line 253 of file dshow_pin.c.

◆ ff_dshow_meminputpin_AddRef()

unsigned long WINAPI ff_dshow_meminputpin_AddRef ( DShowMemInputPin this)

Definition at line 260 of file dshow_pin.c.

◆ ff_dshow_meminputpin_Release()

unsigned long WINAPI ff_dshow_meminputpin_Release ( DShowMemInputPin this)

Definition at line 266 of file dshow_pin.c.

◆ ff_dshow_meminputpin_GetAllocator()

long WINAPI ff_dshow_meminputpin_GetAllocator ( DShowMemInputPin this,
IMemAllocator **  alloc 
)

Definition at line 272 of file dshow_pin.c.

◆ ff_dshow_meminputpin_NotifyAllocator()

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

Definition at line 277 of file dshow_pin.c.

◆ ff_dshow_meminputpin_GetAllocatorRequirements()

long WINAPI ff_dshow_meminputpin_GetAllocatorRequirements ( DShowMemInputPin this,
ALLOCATOR_PROPERTIES *  props 
)

Definition at line 283 of file dshow_pin.c.

◆ ff_dshow_meminputpin_Receive()

long WINAPI ff_dshow_meminputpin_Receive ( DShowMemInputPin this,
IMediaSample *  sample 
)

Definition at line 289 of file dshow_pin.c.

Referenced by ff_dshow_meminputpin_ReceiveMultiple().

◆ ff_dshow_meminputpin_ReceiveMultiple()

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

Definition at line 357 of file dshow_pin.c.

◆ ff_dshow_meminputpin_ReceiveCanBlock()

long WINAPI ff_dshow_meminputpin_ReceiveCanBlock ( DShowMemInputPin this)

Definition at line 369 of file dshow_pin.c.

◆ ff_dshow_meminputpin_Destroy()

void ff_dshow_meminputpin_Destroy ( DShowMemInputPin this)

Definition at line 376 of file dshow_pin.c.