C# Class LitDev.Engines.Capture

Summary description for MainForm.
Inheritance: ISampleGrabberCB, IDisposable
Afficher le fichier Open project: litdev1/LitDev Class Usage Examples

Méthodes publiques

Свойство Type Description
m_Dropped int

Méthodes publiques

Méthode Description
Capture ( ) : System

Use capture device zero, default frame rate and size

Capture ( int iDeviceNum ) : System

Use specified capture device, default frame rate and size

Capture ( int iDeviceNum, int iFrameRate ) : System

Use specified capture device, specified frame rate and default size

Capture ( int iDeviceNum, int iFrameRate, int iWidth, int iHeight ) : System

Use specified capture device, specified frame rate and size

Dispose ( ) : void

release everything.

GetBitMap ( ) : IntPtr

capture the next image

Pause ( ) : void
Start ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
CloseInterfaces ( ) : void

Shut down capture

ConfigureSampleGrabber ( ISampleGrabber sampGrabber ) : void
CopyMemory ( IntPtr Destination, IntPtr Source, int Length ) : void
ISampleGrabberCB ( double SampleTime, IMediaSample pSample ) : int

sample callback, NOT USED.

ISampleGrabberCB ( double SampleTime, IntPtr pBuffer, int BufferLen ) : int

buffer callback, COULD BE FROM FOREIGN THREAD.

SaveSizeInfo ( ISampleGrabber sampGrabber ) : void
SetConfigParms ( ICaptureGraphBuilder2 capGraph, IBaseFilter capFilter, int iFrameRate, int iWidth, int iHeight ) : void
SetupGraph ( DsDevice dev, int iFrameRate, int iWidth, int iHeight ) : void

build the capture graph for grabber.

_Capture ( int iDeviceNum, int iFrameRate, int iWidth, int iHeight ) : void

Method Details

Capture() public méthode

Use capture device zero, default frame rate and size
public Capture ( ) : System
Résultat System

Capture() public méthode

Use specified capture device, default frame rate and size
public Capture ( int iDeviceNum ) : System
iDeviceNum int
Résultat System

Capture() public méthode

Use specified capture device, specified frame rate and default size
public Capture ( int iDeviceNum, int iFrameRate ) : System
iDeviceNum int
iFrameRate int
Résultat System

Capture() public méthode

Use specified capture device, specified frame rate and size
public Capture ( int iDeviceNum, int iFrameRate, int iWidth, int iHeight ) : System
iDeviceNum int
iFrameRate int
iWidth int
iHeight int
Résultat System

Dispose() public méthode

release everything.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetBitMap() public méthode

capture the next image
public GetBitMap ( ) : IntPtr
Résultat System.IntPtr

Pause() public méthode

public Pause ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

m_Dropped public_oe property

public int m_Dropped
Résultat int