C# Class WebcamCapture.MediaController

Inheritance: IDisposable
Mostra file Open project: alex-chekhachev/WebcamCapture.NET Class Usage Examples

Public Methods

Method Description
ChangeCameraFormat ( ) : void
ChangePreviewState ( bool showVideo ) : void
DisableFilters ( ) : void
Dispose ( ) : void
FindCaptureDevice ( ) : IBaseFilter
HandleGraphEvent ( ) : void
MediaController ( IntPtr ownerHandle, Control videoWindowControl, FilterController filtersController ) : System
NotifyVideoWindow ( Message &m ) : void
ResetDevice ( ) : void
ResizeVideoWindow ( ) : void
SelectDevice ( DsDevice device ) : void
SetFilterBuilderType ( Type type ) : void

Private Methods

Method Description
AddFiltersToGraph ( ) : IBaseFilter

Adds registered filters to graph.

BuildAndRunGraph ( IBaseFilter sourceFilter ) : void
CaptureVideo ( ) : void
ChangeGraph ( Action action ) : void
ChooseFormat ( IBaseFilter filter ) : void
CloseInterfaces ( ) : void
ConfigureFilters ( ) : void
GetCaptureDevice ( ) : IBaseFilter
GetFormat ( IBaseFilter filter ) : void
GetInterfaces ( ) : void
GetOutputPin ( IBaseFilter filter ) : IPin
GetSourceFilter ( ) : IBaseFilter
HasStoredSettings ( ) : bool
OnFormatChanged ( ResolutionInfo resolutionInfo ) : void
OnFpsUpdated ( ) : void
OnVideoWindowSizeChanged ( ) : void
ResetGraph ( IBaseFilter source ) : void
SetFormat ( IBaseFilter source, int width, int height, int bpp ) : void
SetupVideoWindow ( ) : void
StartTimer ( ) : void

Method Details

ChangeCameraFormat() public method

public ChangeCameraFormat ( ) : void
return void

ChangePreviewState() public method

public ChangePreviewState ( bool showVideo ) : void
showVideo bool
return void

DisableFilters() public method

public DisableFilters ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

FindCaptureDevice() public static method

public static FindCaptureDevice ( ) : IBaseFilter
return IBaseFilter

HandleGraphEvent() public method

public HandleGraphEvent ( ) : void
return void

MediaController() public method

public MediaController ( IntPtr ownerHandle, Control videoWindowControl, FilterController filtersController ) : System
ownerHandle System.IntPtr
videoWindowControl System.Windows.Forms.Control
filtersController WebcamCapture.Filters.FilterController
return System

NotifyVideoWindow() public method

public NotifyVideoWindow ( Message &m ) : void
m System.Windows.Forms.Message
return void

ResetDevice() public method

public ResetDevice ( ) : void
return void

ResizeVideoWindow() public method

public ResizeVideoWindow ( ) : void
return void

SelectDevice() public method

public SelectDevice ( DsDevice device ) : void
device DsDevice
return void

SetFilterBuilderType() public method

public SetFilterBuilderType ( Type type ) : void
type System.Type
return void