C# Class KinectCam.VirtualCamFilter

Inheritance: BaseSourceFilter, IAMFilterMiscFlags
Afficher le fichier Open project: Firefly74940/KinectCamV2

Protected Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
OnInitializePins ( ) : int

Private Methods

Méthode 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 méthode

public CheckMediaType ( DirectShow.AMMediaType pmt ) : int
pmt DirectShow.AMMediaType
Résultat int

DecideBufferSize() public méthode

public DecideBufferSize ( DirectShow.IMemAllocatorImpl &pAlloc, DirectShow.AllocatorProperties &prop ) : int
pAlloc DirectShow.IMemAllocatorImpl
prop DirectShow.AllocatorProperties
Résultat int

FillBuffer() public méthode

public FillBuffer ( DirectShow.IMediaSampleImpl &_sample ) : int
_sample DirectShow.IMediaSampleImpl
Résultat int

GetAllocatorProperties() public méthode

public GetAllocatorProperties ( DirectShow.AllocatorProperties pprop ) : int
pprop DirectShow.AllocatorProperties
Résultat int

GetDefaultCaps() public méthode

public GetDefaultCaps ( int nIndex, DirectShow.VideoStreamConfigCaps &_caps ) : int
nIndex int
_caps DirectShow.VideoStreamConfigCaps
Résultat int

GetLatency() public méthode

public GetLatency ( long &prtLatency ) : int
prtLatency long
Résultat int

GetMediaType() public méthode

public GetMediaType ( int iPosition, DirectShow.AMMediaType &pMediaType ) : int
iPosition int
pMediaType DirectShow.AMMediaType
Résultat int

GetMiscFlags() public méthode

public GetMiscFlags ( ) : int
Résultat int

GetNumberOfCapabilities() public méthode

public GetNumberOfCapabilities ( int &iCount, int &iSize ) : int
iCount int
iSize int
Résultat int

GetStreamCaps() public méthode

public GetStreamCaps ( int iIndex, DirectShow.AMMediaType &ppmt, DirectShow.VideoStreamConfigCaps &_caps ) : int
iIndex int
ppmt DirectShow.AMMediaType
_caps DirectShow.VideoStreamConfigCaps
Résultat int

OnInitializePins() protected méthode

protected OnInitializePins ( ) : int
Résultat int

Pause() public méthode

public Pause ( ) : int
Résultat int

SetMediaType() public méthode

public SetMediaType ( DirectShow.AMMediaType pmt ) : int
pmt DirectShow.AMMediaType
Résultat int

Stop() public méthode

public Stop ( ) : int
Résultat int

SuggestAllocatorProperties() public méthode

public SuggestAllocatorProperties ( DirectShow.AllocatorProperties pprop ) : int
pprop DirectShow.AllocatorProperties
Résultat int

VirtualCamFilter() public méthode

public VirtualCamFilter ( ) : System
Résultat System

Property Details

m_bmi protected_oe property

protected BitmapInfo m_bmi
Résultat BitmapInfo

m_hBitmap protected_oe property

protected IntPtr,System m_hBitmap
Résultat System.IntPtr

m_hMemDC protected_oe property

protected IntPtr,System m_hMemDC
Résultat System.IntPtr

m_hScreenDC protected_oe property

protected IntPtr,System m_hScreenDC
Résultat System.IntPtr

m_nAvgTimePerFrame protected_oe property

protected long m_nAvgTimePerFrame
Résultat long

m_nBitCount protected_oe property

protected int m_nBitCount
Résultat int

m_nHeight protected_oe property

protected int m_nHeight
Résultat int

m_nMaxHeight protected_oe property

protected int m_nMaxHeight
Résultat int

m_nMaxWidth protected_oe property

protected int m_nMaxWidth
Résultat int

m_nWidth protected_oe property

protected int m_nWidth
Résultat int