C# Class MissionPlanner.OSDVideo

Show file Open project: ArduPilot/MissionPlanner

Public Properties

Property Type Description
DSplugin bool
flightdata CurrentState>.Dictionary
image Bitmap
m_Dropped int
startlogtime DateTime
videopos DateTime

Public Methods

Method Description
GetBitMap ( ) : IntPtr

capture the next image

OSDVideo ( ) : System
OSDVideo_camimage ( Image camimage ) : void
Pause ( ) : void
Start ( ) : void
addframe ( object bmp ) : void
dolog ( ) : void
gethud ( Bitmap bmpin, double time ) : Bitmap
timer ( ) : void
writeconsole ( string input ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
BUT_start_Click ( object sender, EventArgs e ) : void
BUT_tlogfile_Click ( object sender, EventArgs e ) : void
BUT_vidfile_Click ( object sender, EventArgs e ) : void
CHK_fullres_CheckedChanged ( object sender, EventArgs e ) : void
ConfigureSampleGrabber ( ISampleGrabber sampGrabber ) : void
GetAudioStreams ( string filename ) : List
GetCurrentFilePath ( Control ctl ) : String
GetFileName ( String filter, Control ctl ) : String
GetFrameRate ( string filename ) : double
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.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

OSDVideo_FormClosing ( object sender, FormClosingEventArgs e ) : void
SaveSizeInfo ( ISampleGrabber sampGrabber ) : void
StartCapture ( ) : void
loadconfig ( ) : void
saveconfig ( ) : void
startup ( ) : void
trackBar1_Scroll ( object sender, EventArgs e ) : void
trackBar_mediapos_Scroll ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetBitMap() public method

capture the next image
public GetBitMap ( ) : IntPtr
return IntPtr

OSDVideo() public method

public OSDVideo ( ) : System
return System

OSDVideo_camimage() public method

public OSDVideo_camimage ( Image camimage ) : void
camimage Image
return void

Pause() public method

public Pause ( ) : void
return void

Start() public method

public Start ( ) : void
return void

addframe() public method

public addframe ( object bmp ) : void
bmp object
return void

dolog() public method

public dolog ( ) : void
return void

gethud() public method

public gethud ( Bitmap bmpin, double time ) : Bitmap
bmpin Bitmap
time double
return Bitmap

timer() public method

public timer ( ) : void
return void

writeconsole() public method

public writeconsole ( string input ) : void
input string
return void

Property Details

DSplugin public property

public bool DSplugin
return bool

flightdata public property

public Dictionary flightdata
return CurrentState>.Dictionary

image public property

public Bitmap image
return Bitmap

m_Dropped public property

public int m_Dropped
return int

startlogtime public property

public DateTime startlogtime
return DateTime

videopos public property

public DateTime videopos
return DateTime