C# Class AvCapWPF.CapDevice

Inheritance: System.Windows.DependencyObject, IDisposable
Show file Open project: evilmachina/theMachine

Public Properties

Property Type Description
BitmapSourceProperty System.Windows.DependencyProperty
FramerateProperty System.Windows.DependencyProperty
SystemDeviceEnum System.Guid
VideoInputDevice System.Guid

Public Methods

Method Description
CapDevice ( ) : System
CapDevice ( string moniker ) : System
Dispose ( ) : void
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
CreateFileMapping ( IntPtr hFile, IntPtr lpFileMappingAttributes, uint flProtect, uint dwMaximumSizeHigh, uint dwMaximumSizeLow, string lpName ) : IntPtr
MapViewOfFile ( IntPtr hFileMappingObject, uint dwDesiredAccess, uint dwFileOffsetHigh, uint dwFileOffsetLow, uint dwNumberOfBytesToMap ) : IntPtr
Release ( ) : void
RunWorker ( ) : void
UpdateFramerate ( ) : void
capGrabber_NewFrameArrived ( object sender, EventArgs e ) : void
capGrabber_PropertyChanged ( object sender, System e ) : void

Method Details

CapDevice() public method

public CapDevice ( ) : System
return System

CapDevice() public method

public CapDevice ( string moniker ) : System
moniker string
return System

Dispose() public method

public Dispose ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

BitmapSourceProperty public static property

public static DependencyProperty,System.Windows BitmapSourceProperty
return System.Windows.DependencyProperty

FramerateProperty public static property

public static DependencyProperty,System.Windows FramerateProperty
return System.Windows.DependencyProperty

SystemDeviceEnum public static property

public static Guid,System SystemDeviceEnum
return System.Guid

VideoInputDevice public static property

public static Guid,System VideoInputDevice
return System.Guid