C# Class cadencii.media.AviReader

Extract bitmaps from AVI files
Afficher le fichier Open project: cadencii/cadencii

Private Properties

Свойство Type Description
CopyMemory void
dispTime void

Méthodes publiques

Méthode 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

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

Method Details

Close() public méthode

Closes all streams, files and libraries
public Close ( ) : void
Résultat void

Export() public méthode

public Export ( int position ) : Bitmap
position int
Résultat System.Drawing.Bitmap

Export() public méthode

public Export ( Bitmap bmp, int position ) : void
bmp System.Drawing.Bitmap
position int
Résultat void

ExportBitmap() public méthode

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
Résultat void

ExportEx() public méthode

public ExportEx ( Bitmap bmp, int position ) : void
bmp System.Drawing.Bitmap
position int
Résultat void

ExportToArray() public méthode

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
Résultat void

Open() public méthode

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