C# Class cadencii.media.AviReader

Extract bitmaps from AVI files
Exibir arquivo Open project: cadencii/cadencii

Private Properties

Property Type Description
CopyMemory void
dispTime void

Public Methods

Method Description
Close ( ) : void

Closes all streams, files and libraries

Export ( int position ) : Bitmap
Export ( Bitmap bmp, int position ) : void
ExportBitmap ( int position, String dstFileName ) : void

Exports a frame into a bitmap file

ExportEx ( Bitmap bmp, int position ) : void
ExportToArray ( int position, byte &bitmapData, int &width, int &height, int &bit_count ) : void
Open ( string fileName ) : void

Opens an AVI file and creates a GetFrame object

Private Methods

Method Description
CopyMemory ( IntPtr destination, IntPtr source, int length ) : void
dispTime ( string message, System.DateTime start ) : void

Method Details

Close() public method

Closes all streams, files and libraries
public Close ( ) : void
return void

Export() public method

public Export ( int position ) : Bitmap
position int
return System.Drawing.Bitmap

Export() public method

public Export ( Bitmap bmp, int position ) : void
bmp System.Drawing.Bitmap
position int
return void

ExportBitmap() public method

Exports a frame into a bitmap file
public ExportBitmap ( int position, String dstFileName ) : void
position int Position of the frame
dstFileName String Name ofthe file to store the bitmap
return void

ExportEx() public method

public ExportEx ( Bitmap bmp, int position ) : void
bmp System.Drawing.Bitmap
position int
return void

ExportToArray() public method

public ExportToArray ( int position, byte &bitmapData, int &width, int &height, int &bit_count ) : void
position int
bitmapData byte
width int
height int
bit_count int
return void

Open() public method

Opens an AVI file and creates a GetFrame object
public Open ( string fileName ) : void
fileName string Name of the AVI file
return void