Свойство | Type | Description | |
---|---|---|---|
DecodeVideo | void | ||
SmackerDecoder | System | ||
UpdatePalette | void |
Méthode | Description | |
---|---|---|
GetAudioData ( int streamIndex ) : byte[] |
Returns the audiodata from the specified audiostream
|
|
GetIndex ( uint x, uint y ) : uint | ||
GetVideoDataBitmap ( ) : |
Encapsulates the video data from the last decoded frame in a System.Drawing.Bitmap
|
|
ReadNextFrame ( ) : void |
Reads the next frame.
|
|
Reset ( ) : void |
Resets the decoder to the first frame, if there is a ring frame the first frame is skipped as it should.
|
|
SeekTo ( int i ) : void |
Set the decoder to decode the specified frame next
|
Méthode | Description | |
---|---|---|
GetColorPalette ( uint nColors ) : System.Drawing.Imaging.ColorPalette |
Hack as described on MSDN to get a clean palette
|
Méthode | Description | |
---|---|---|
DecodeVideo ( ) : void | ||
SmackerDecoder ( SCSharp.Smk.SmackerFile file ) : System |
Creates a new decoder for the specified file
|
|
UpdatePalette ( ) : void |
public GetAudioData ( int streamIndex ) : byte[] | ||
streamIndex | int | The index of the stream to return audio data for, should be between 0 and 7 |
Résultat | byte[] |
protected GetColorPalette ( uint nColors ) : System.Drawing.Imaging.ColorPalette | ||
nColors | uint | the number of colors the palette should contain (between 2-256) |
Résultat | System.Drawing.Imaging.ColorPalette |
public GetVideoDataBitmap ( ) : |
||
Résultat |
public SeekTo ( int i ) : void | ||
i | int | the index of the next frame the decoder should decode |
Résultat | void |