C# Class WebEye.Controls.Wpf.DirectShowProxy

Inheritance: IDisposable
Mostrar archivo Open project: jacobbo/WebEye Class Usage Examples

Private Properties

Property Type Description
AddCaptureFilter void
AddRenderFilter void
BindToDll void
BuildCaptureGraph void
DestroyCaptureGraph void
DirectShowProxy System
EnumVideoInputDevices void
FreeLibrary System.Boolean
GetCurrentImage System.Drawing.Bitmap
GetProcAddress System.IntPtr
GetVideoSize System.Drawing.Size
LoadDll void
LoadLibrary System.IntPtr
ResetCaptureGraph void
Start void
Stop void
ThrowExceptionForResult void

Public Methods

Method Description
Dispose ( ) : void

Private Methods

Method Description
AddCaptureFilter ( String devicePath ) : void

Adds a video stream source to a video capture graph.

AddRenderFilter ( IntPtr hWnd ) : void

Adds a renderer filter to a video capture graph, which renders a video stream within a container window.

BindToDll ( IntPtr hDll ) : void

Binds the class instance methods to the dll functions.

BuildCaptureGraph ( ) : void

Builds a video capture graph.

DestroyCaptureGraph ( ) : void

Destroys a video capture graph.

DirectShowProxy ( ) : System

Initializes a new instance of the DirectShowProxy class.

EnumVideoInputDevices ( EnumVideoInputDevicesCallback callback ) : void

Enumerates video input devices in a system.

FreeLibrary ( IntPtr hModule ) : System.Boolean
GetCurrentImage ( ) : Bitmap

Retrieves the current image being displayed by the renderer filter.

GetProcAddress ( IntPtr hModule, String procName ) : IntPtr
GetVideoSize ( ) : Size

Retrieves the unstretched video size.

LoadDll ( ) : void

Extracts the directshow utils dll from resources to the temp file and loads it.

LoadLibrary ( String lpFileName ) : IntPtr
ResetCaptureGraph ( ) : void

Removes a video stream source from a video capture graph.

Start ( ) : void

Runs all the filters in a video capture graph. While the graph is running, data moves through the graph and is rendered.

Stop ( ) : void

Stops all the filters in a video filter graph.

ThrowExceptionForResult ( Int32 hresult, String message ) : void

Throws the DirectShowException exception for the result.

Method Details

Dispose() public method

public Dispose ( ) : void
return void