FFmpeg
Macros | Functions
dshow_pin.c File Reference
#include "libavutil/mem.h"
#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 26 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 28 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 39 of file dshow_pin.c.

◆ ff_dshow_pin_Disconnect()

long WINAPI ff_dshow_pin_Disconnect ( DShowPin this)

Definition at line 66 of file dshow_pin.c.

◆ ff_dshow_pin_ConnectedTo()

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

Definition at line 79 of file dshow_pin.c.

◆ ff_dshow_pin_ConnectionMediaType()

long WINAPI ff_dshow_pin_ConnectionMediaType ( DShowPin this,
AM_MEDIA_TYPE *  type 
)

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

◆ ff_dshow_pin_QueryDirection()

long WINAPI ff_dshow_pin_QueryDirection ( DShowPin this,
PIN_DIRECTION *  dir 
)

Definition at line 119 of file dshow_pin.c.

◆ ff_dshow_pin_QueryId()

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

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

◆ ff_dshow_pin_EnumMediaTypes()

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

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

◆ ff_dshow_pin_EndOfStream()

long WINAPI ff_dshow_pin_EndOfStream ( DShowPin this)

Definition at line 164 of file dshow_pin.c.

◆ ff_dshow_pin_BeginFlush()

long WINAPI ff_dshow_pin_BeginFlush ( DShowPin this)

Definition at line 170 of file dshow_pin.c.

◆ ff_dshow_pin_EndFlush()

long WINAPI ff_dshow_pin_EndFlush ( DShowPin this)

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

◆ ff_dshow_pin_Setup()

static int ff_dshow_pin_Setup ( DShowPin this,
DShowFilter filter 
)
static

Definition at line 190 of file dshow_pin.c.

◆ ff_dshow_pin_Free()

static void ff_dshow_pin_Free ( DShowPin this)
static

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

◆ ff_dshow_meminputpin_AddRef()

unsigned long WINAPI ff_dshow_meminputpin_AddRef ( DShowMemInputPin this)

Definition at line 261 of file dshow_pin.c.

◆ ff_dshow_meminputpin_Release()

unsigned long WINAPI ff_dshow_meminputpin_Release ( DShowMemInputPin this)

Definition at line 267 of file dshow_pin.c.

◆ ff_dshow_meminputpin_GetAllocator()

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

Definition at line 273 of file dshow_pin.c.

◆ ff_dshow_meminputpin_NotifyAllocator()

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

Definition at line 278 of file dshow_pin.c.

◆ ff_dshow_meminputpin_GetAllocatorRequirements()

long WINAPI ff_dshow_meminputpin_GetAllocatorRequirements ( DShowMemInputPin this,
ALLOCATOR_PROPERTIES *  props 
)

Definition at line 284 of file dshow_pin.c.

◆ ff_dshow_meminputpin_Receive()

long WINAPI ff_dshow_meminputpin_Receive ( DShowMemInputPin this,
IMediaSample *  sample 
)

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

◆ ff_dshow_meminputpin_ReceiveCanBlock()

long WINAPI ff_dshow_meminputpin_ReceiveCanBlock ( DShowMemInputPin this)

Definition at line 370 of file dshow_pin.c.

◆ ff_dshow_meminputpin_Destroy()

void ff_dshow_meminputpin_Destroy ( DShowMemInputPin this)

Definition at line 377 of file dshow_pin.c.