C# Class KinectCam.VirtualCamFilter

Inheritance: BaseSourceFilter, IAMFilterMiscFlags
Datei anzeigen Open project: Firefly74940/KinectCamV2

Protected Properties

Property Type Description
m_bmi BitmapInfo
m_hBitmap System.IntPtr
m_hMemDC System.IntPtr
m_hScreenDC System.IntPtr
m_nAvgTimePerFrame long
m_nBitCount int
m_nHeight int
m_nMaxHeight int
m_nMaxWidth int
m_nWidth int

Public Methods

Method Description
CheckMediaType ( DirectShow.AMMediaType pmt ) : int
DecideBufferSize ( DirectShow.IMemAllocatorImpl &pAlloc, DirectShow.AllocatorProperties &prop ) : int
FillBuffer ( DirectShow.IMediaSampleImpl &_sample ) : int
GetAllocatorProperties ( DirectShow.AllocatorProperties pprop ) : int
GetDefaultCaps ( int nIndex, DirectShow.VideoStreamConfigCaps &_caps ) : int
GetLatency ( long &prtLatency ) : int
GetMediaType ( int iPosition, DirectShow.AMMediaType &pMediaType ) : int
GetMiscFlags ( ) : int
GetNumberOfCapabilities ( int &iCount, int &iSize ) : int
GetStreamCaps ( int iIndex, DirectShow.AMMediaType &ppmt, DirectShow.VideoStreamConfigCaps &_caps ) : int
Pause ( ) : int
SetMediaType ( DirectShow.AMMediaType pmt ) : int
Stop ( ) : int
SuggestAllocatorProperties ( DirectShow.AllocatorProperties pprop ) : int
VirtualCamFilter ( ) : System

Protected Methods

Method Description
OnInitializePins ( ) : int

Private Methods

Method Description
CreateCompatibleBitmap ( IntPtr hdc, int nWidth, int nHeight ) : IntPtr
CreateCompatibleDC ( IntPtr hdc ) : IntPtr
CreateDC ( string lpszDriver, string lpszDevice, string lpszOutput, IntPtr lpInitData ) : IntPtr
DeleteDC ( IntPtr hdc ) : bool
DeleteObject ( IntPtr hObject ) : bool
GetDIBits ( IntPtr hdc, IntPtr hbmp, uint uStartScan, uint cScanLines, [ lpvBits, BitmapInfo &lpbmi, uint uUsage ) : int
GetDeviceCaps ( IntPtr hdc, int nIndex ) : int
SelectObject ( IntPtr hdc, IntPtr hgdiobj ) : IntPtr
StretchBlt ( IntPtr hdcDest, int nXOriginDest, int nYOriginDest, int nWidthDest, int nHeightDest, IntPtr hdcSrc, int nXOriginSrc, int nYOriginSrc, int nWidthSrc, int nHeightSrc, TernaryRasterOperations dwRop ) : bool

Method Details

CheckMediaType() public method

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

DecideBufferSize() public method

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

FillBuffer() public method

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

GetAllocatorProperties() public method

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

GetDefaultCaps() public method

public GetDefaultCaps ( int nIndex, DirectShow.VideoStreamConfigCaps &_caps ) : int
nIndex int
_caps DirectShow.VideoStreamConfigCaps
return int

GetLatency() public method

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

GetMediaType() public method

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

GetMiscFlags() public method

public GetMiscFlags ( ) : int
return int

GetNumberOfCapabilities() public method

public GetNumberOfCapabilities ( int &iCount, int &iSize ) : int
iCount int
iSize int
return int

GetStreamCaps() public method

public GetStreamCaps ( int iIndex, DirectShow.AMMediaType &ppmt, DirectShow.VideoStreamConfigCaps &_caps ) : int
iIndex int
ppmt DirectShow.AMMediaType
_caps DirectShow.VideoStreamConfigCaps
return int

OnInitializePins() protected method

protected OnInitializePins ( ) : int
return int

Pause() public method

public Pause ( ) : int
return int

SetMediaType() public method

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

Stop() public method

public Stop ( ) : int
return int

SuggestAllocatorProperties() public method

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

VirtualCamFilter() public method

public VirtualCamFilter ( ) : System
return System

Property Details

m_bmi protected_oe property

protected BitmapInfo m_bmi
return BitmapInfo

m_hBitmap protected_oe property

protected IntPtr,System m_hBitmap
return System.IntPtr

m_hMemDC protected_oe property

protected IntPtr,System m_hMemDC
return System.IntPtr

m_hScreenDC protected_oe property

protected IntPtr,System m_hScreenDC
return System.IntPtr

m_nAvgTimePerFrame protected_oe property

protected long m_nAvgTimePerFrame
return long

m_nBitCount protected_oe property

protected int m_nBitCount
return int

m_nHeight protected_oe property

protected int m_nHeight
return int

m_nMaxHeight protected_oe property

protected int m_nMaxHeight
return int

m_nMaxWidth protected_oe property

protected int m_nMaxWidth
return int

m_nWidth protected_oe property

protected int m_nWidth
return int