C# 클래스 NewTOAPIA.DirectShow.VideoCaptureDevice

VideoCaptureDevice - capture video from local device
상속: IVideoSource
파일 보기 프로젝트 열기: Wiladams/NewTOAPIA 1 사용 예제들

공개 메소드들

메소드 설명
CreateCaptureDeviceFromIndex ( int index, int width, int height ) : VideoCaptureDevice
CreateCaptureDeviceFromName ( string friendlyName, int width, int height ) : VideoCaptureDevice
GetCameraControl ( ) : IAMCameraControl
GetNumberOfInputDevices ( ) : int
SignalToStop ( ) : void
Start ( ) : void
Stop ( ) : void
VideoCaptureDevice ( ) : System
VideoCaptureDevice ( DsDevice device, int width, int height ) : System
WaitForStop ( ) : void
WorkerThread ( ) : void

보호된 메소드들

메소드 설명
OnNewBuffer ( double SampleTime, IntPtr pBuffer, int BufferLen ) : int

비공개 메소드들

메소드 설명
AcquireInterfaces ( ) : void
AddFilters ( ) : void
AddSampleGrabber ( ) : void
AddSourceFilter ( ) : void
ConfigureSourceFilter ( IAMStreamConfig streamConfig, int iWidth, int iHeight, short bitsPerPixel ) : void

Configure the capture filter once it is in the graph.

We configure the source filter with the desired size, mediasubtype, and bits per pixel. This must be done before the capture pin is connected to other filters in the graph.

ConnectFilters ( ) : void
Free ( ) : void
GetCaptureSize ( ) : void
GetIndexedVideoInputDevice ( int indexed ) : IBaseFilter
ReleaseInterfaces ( ) : void
SetupGraph ( ) : void

메소드 상세

CreateCaptureDeviceFromIndex() 공개 정적인 메소드

public static CreateCaptureDeviceFromIndex ( int index, int width, int height ) : VideoCaptureDevice
index int
width int
height int
리턴 VideoCaptureDevice

CreateCaptureDeviceFromName() 공개 정적인 메소드

public static CreateCaptureDeviceFromName ( string friendlyName, int width, int height ) : VideoCaptureDevice
friendlyName string
width int
height int
리턴 VideoCaptureDevice

GetCameraControl() 공개 메소드

public GetCameraControl ( ) : IAMCameraControl
리턴 IAMCameraControl

GetNumberOfInputDevices() 공개 정적인 메소드

public static GetNumberOfInputDevices ( ) : int
리턴 int

OnNewBuffer() 보호된 메소드

protected OnNewBuffer ( double SampleTime, IntPtr pBuffer, int BufferLen ) : int
SampleTime double
pBuffer System.IntPtr
BufferLen int
리턴 int

SignalToStop() 공개 메소드

public SignalToStop ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

VideoCaptureDevice() 공개 메소드

public VideoCaptureDevice ( ) : System
리턴 System

VideoCaptureDevice() 공개 메소드

public VideoCaptureDevice ( DsDevice device, int width, int height ) : System
device NewTOAPIA.DirectShow.Core.DsDevice
width int
height int
리턴 System

WaitForStop() 공개 메소드

public WaitForStop ( ) : void
리턴 void

WorkerThread() 공개 메소드

public WorkerThread ( ) : void
리턴 void