C# 클래스 LitDev.Engines.Capture

Summary description for MainForm.
상속: ISampleGrabberCB, IDisposable
파일 보기 프로젝트 열기: litdev1/LitDev 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_Dropped int

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

Capture() 공개 메소드

Use capture device zero, default frame rate and size
public Capture ( ) : System
리턴 System

Capture() 공개 메소드

Use specified capture device, default frame rate and size
public Capture ( int iDeviceNum ) : System
iDeviceNum int
리턴 System

Capture() 공개 메소드

Use specified capture device, specified frame rate and default size
public Capture ( int iDeviceNum, int iFrameRate ) : System
iDeviceNum int
iFrameRate int
리턴 System

Capture() 공개 메소드

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
리턴 System

Dispose() 공개 메소드

release everything.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetBitMap() 공개 메소드

capture the next image
public GetBitMap ( ) : IntPtr
리턴 System.IntPtr

Pause() 공개 메소드

public Pause ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

프로퍼티 상세

m_Dropped 공개적으로 프로퍼티

public int m_Dropped
리턴 int