C# Class QuadVideo.VideoSource

Inheritance: ISampleGrabberCB, IDisposable
Show file Open project: Wiladams/NewTOAPIA

Public Methods

Method Description
Dispose ( ) : void

release everything.

GetFirstVideoInputDevice ( ) : IBaseFilter
GetInterfaces ( ) : void
Initialize ( ) : void
Pause ( ) : void
ReleaseInterfaces ( ) : void
Run ( ) : void
SetupGraph ( ) : void
VideoSource ( ) : System

Private Methods

Method Description
ConfigureSampleGrabber ( ISampleGrabber sampGrabber, int width, int height ) : void

Set the options on the sample grabber

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

Read and store the properties

SetConfigParms ( IPin pStill, int iWidth, int iHeight, short iBPP ) : void

Method Details

Dispose() public method

release everything.
public Dispose ( ) : void
return void

GetFirstVideoInputDevice() public method

public GetFirstVideoInputDevice ( ) : IBaseFilter
return IBaseFilter

GetInterfaces() public method

public GetInterfaces ( ) : void
return void

Initialize() public method

public Initialize ( ) : void
return void

Pause() public method

public Pause ( ) : void
return void

ReleaseInterfaces() public method

public ReleaseInterfaces ( ) : void
return void

Run() public method

public Run ( ) : void
return void

SetupGraph() public method

public SetupGraph ( ) : void
return void

VideoSource() public method

public VideoSource ( ) : System
return System