C# Class KinectCam.VirtualCamStream

Inheritance: SourceStream, IAMStreamControl, IKsPropertySet, IAMPushSource, IAMLatency, IAMStreamConfig, IAMBufferNegotiation
Datei anzeigen Open project: Firefly74940/KinectCamV2

Protected Properties

Property Type Description
m_bShouldFlush bool
m_bStartNotified bool
m_bStopNotified bool
m_csPinLock object
m_csTimeLock object
m_dwAdviseToken int
m_dwStartCookie int
m_dwStopCookie int
m_hSemaphore System.Threading.Semaphore
m_pClock DirectShow.IReferenceClockImpl
m_pProperties DirectShow.AllocatorProperties
m_rtClockStart long
m_rtClockStop long
m_rtStart long
m_rtStartAt long
m_rtStopAt long
m_rtStreamOffset long
m_rtStreamOffsetMax long

Public Methods

Method Description
Active ( ) : int
CheckMediaType ( DirectShow.AMMediaType pmt ) : int
DecideBufferSize ( DirectShow.IMemAllocatorImpl &pAlloc, DirectShow.AllocatorProperties &pProperties ) : int
FillBuffer ( DirectShow.IMediaSampleImpl &_sample ) : int
Get ( System.Guid guidPropSet, int dwPropID, IntPtr pInstanceData, int cbInstanceData, IntPtr pPropData, int cbPropData, int &pcbReturned ) : int
GetAllocatorProperties ( DirectShow.AllocatorProperties pprop ) : int
GetFormat ( DirectShow.AMMediaType &pmt ) : int
GetInfo ( DirectShow.AMStreamInfo &pInfo ) : int
GetLatency ( long &prtLatency ) : int
GetMaxStreamOffset ( long &prtMaxOffset ) : int
GetMediaType ( int iPosition, DirectShow.AMMediaType &pMediaType ) : int
GetNumberOfCapabilities ( IntPtr piCount, IntPtr piSize ) : int
GetPMT ( DirectShow.IMediaSampleImpl _sample ) : DirectShow.AMMediaType
GetPushSourceFlags ( AMPushSourceFlags &pFlags ) : int
GetStreamCaps ( int iIndex, IntPtr ppmt, IntPtr pSCC ) : int
GetStreamOffset ( long &prtOffset ) : int
Inactive ( ) : int
QuerySupported ( System.Guid guidPropSet, int dwPropID, KSPropertySupport &pTypeSupport ) : int
Set ( System.Guid guidPropSet, int dwPropID, IntPtr pInstanceData, int cbInstanceData, IntPtr pPropData, int cbPropData ) : int
SetFormat ( DirectShow.AMMediaType pmt ) : int
SetMaxStreamOffset ( long rtMaxOffset ) : int
SetMediaType ( DirectShow.AMMediaType mt ) : int
SetPushSourceFlags ( AMPushSourceFlags Flags ) : int
SetStreamOffset ( long rtOffset ) : int
StartAt ( DirectShow.DsLong ptStart, int dwCookie ) : int
StopAt ( DirectShow.DsLong ptStop, bool bSendExtra, int dwCookie ) : int
SuggestAllocatorProperties ( DirectShow.AllocatorProperties pprop ) : int
VirtualCamStream ( string _name, BaseSourceFilter _filter ) : System

Method Details

Active() public method

public Active ( ) : int
return int

CheckMediaType() public method

public CheckMediaType ( DirectShow.AMMediaType pmt ) : int
pmt DirectShow.AMMediaType
return int

DecideBufferSize() public method

public DecideBufferSize ( DirectShow.IMemAllocatorImpl &pAlloc, DirectShow.AllocatorProperties &pProperties ) : int
pAlloc DirectShow.IMemAllocatorImpl
pProperties DirectShow.AllocatorProperties
return int

FillBuffer() public method

public FillBuffer ( DirectShow.IMediaSampleImpl &_sample ) : int
_sample DirectShow.IMediaSampleImpl
return int

Get() public method

public Get ( System.Guid guidPropSet, int dwPropID, IntPtr pInstanceData, int cbInstanceData, IntPtr pPropData, int cbPropData, int &pcbReturned ) : int
guidPropSet System.Guid
dwPropID int
pInstanceData System.IntPtr
cbInstanceData int
pPropData System.IntPtr
cbPropData int
pcbReturned int
return int

GetAllocatorProperties() public method

public GetAllocatorProperties ( DirectShow.AllocatorProperties pprop ) : int
pprop DirectShow.AllocatorProperties
return int

GetFormat() public method

public GetFormat ( DirectShow.AMMediaType &pmt ) : int
pmt DirectShow.AMMediaType
return int

GetInfo() public method

public GetInfo ( DirectShow.AMStreamInfo &pInfo ) : int
pInfo DirectShow.AMStreamInfo
return int

GetLatency() public method

public GetLatency ( long &prtLatency ) : int
prtLatency long
return int

GetMaxStreamOffset() public method

public GetMaxStreamOffset ( long &prtMaxOffset ) : int
prtMaxOffset long
return int

GetMediaType() public method

public GetMediaType ( int iPosition, DirectShow.AMMediaType &pMediaType ) : int
iPosition int
pMediaType DirectShow.AMMediaType
return int

GetNumberOfCapabilities() public method

public GetNumberOfCapabilities ( IntPtr piCount, IntPtr piSize ) : int
piCount System.IntPtr
piSize System.IntPtr
return int

GetPMT() public method

public GetPMT ( DirectShow.IMediaSampleImpl _sample ) : DirectShow.AMMediaType
_sample DirectShow.IMediaSampleImpl
return DirectShow.AMMediaType

GetPushSourceFlags() public method

public GetPushSourceFlags ( AMPushSourceFlags &pFlags ) : int
pFlags AMPushSourceFlags
return int

GetStreamCaps() public method

public GetStreamCaps ( int iIndex, IntPtr ppmt, IntPtr pSCC ) : int
iIndex int
ppmt System.IntPtr
pSCC System.IntPtr
return int

GetStreamOffset() public method

public GetStreamOffset ( long &prtOffset ) : int
prtOffset long
return int

Inactive() public method

public Inactive ( ) : int
return int

QuerySupported() public method

public QuerySupported ( System.Guid guidPropSet, int dwPropID, KSPropertySupport &pTypeSupport ) : int
guidPropSet System.Guid
dwPropID int
pTypeSupport KSPropertySupport
return int

Set() public method

public Set ( System.Guid guidPropSet, int dwPropID, IntPtr pInstanceData, int cbInstanceData, IntPtr pPropData, int cbPropData ) : int
guidPropSet System.Guid
dwPropID int
pInstanceData System.IntPtr
cbInstanceData int
pPropData System.IntPtr
cbPropData int
return int

SetFormat() public method

public SetFormat ( DirectShow.AMMediaType pmt ) : int
pmt DirectShow.AMMediaType
return int

SetMaxStreamOffset() public method

public SetMaxStreamOffset ( long rtMaxOffset ) : int
rtMaxOffset long
return int

SetMediaType() public method

public SetMediaType ( DirectShow.AMMediaType mt ) : int
mt DirectShow.AMMediaType
return int

SetPushSourceFlags() public method

public SetPushSourceFlags ( AMPushSourceFlags Flags ) : int
Flags AMPushSourceFlags
return int

SetStreamOffset() public method

public SetStreamOffset ( long rtOffset ) : int
rtOffset long
return int

StartAt() public method

public StartAt ( DirectShow.DsLong ptStart, int dwCookie ) : int
ptStart DirectShow.DsLong
dwCookie int
return int

StopAt() public method

public StopAt ( DirectShow.DsLong ptStop, bool bSendExtra, int dwCookie ) : int
ptStop DirectShow.DsLong
bSendExtra bool
dwCookie int
return int

SuggestAllocatorProperties() public method

public SuggestAllocatorProperties ( DirectShow.AllocatorProperties pprop ) : int
pprop DirectShow.AllocatorProperties
return int

VirtualCamStream() public method

public VirtualCamStream ( string _name, BaseSourceFilter _filter ) : System
_name string
_filter BaseSourceFilter
return System

Property Details

m_bShouldFlush protected_oe property

protected bool m_bShouldFlush
return bool

m_bStartNotified protected_oe property

protected bool m_bStartNotified
return bool

m_bStopNotified protected_oe property

protected bool m_bStopNotified
return bool

m_csPinLock protected_oe property

protected object m_csPinLock
return object

m_csTimeLock protected_oe property

protected object m_csTimeLock
return object

m_dwAdviseToken protected_oe property

protected int m_dwAdviseToken
return int

m_dwStartCookie protected_oe property

protected int m_dwStartCookie
return int

m_dwStopCookie protected_oe property

protected int m_dwStopCookie
return int

m_hSemaphore protected_oe property

protected Semaphore,System.Threading m_hSemaphore
return System.Threading.Semaphore

m_pClock protected_oe property

protected IReferenceClockImpl,DirectShow m_pClock
return DirectShow.IReferenceClockImpl

m_pProperties protected_oe property

protected AllocatorProperties,DirectShow m_pProperties
return DirectShow.AllocatorProperties

m_rtClockStart protected_oe property

protected long m_rtClockStart
return long

m_rtClockStop protected_oe property

protected long m_rtClockStop
return long

m_rtStart protected_oe property

protected long m_rtStart
return long

m_rtStartAt protected_oe property

protected long m_rtStartAt
return long

m_rtStopAt protected_oe property

protected long m_rtStopAt
return long

m_rtStreamOffset protected_oe property

protected long m_rtStreamOffset
return long

m_rtStreamOffsetMax protected_oe property

protected long m_rtStreamOffsetMax
return long