C# Class NScumm.Core.Video.SmackerVideoTrack

Inheritance: FixedRateVideoTrack
Show file Open project: scemino/nscumm

Public Methods

Method Description
DecodeFrame ( BitStream bs ) : void
DecodeNextFrame ( ) : Surface
GetPalette ( ) : byte[]
HasDirtyPalette ( ) : bool
IncreaseCurrentFrame ( ) : void
ReadTrees ( BitStream bs, int mMapSize, int mClrSize, int fullSize, int typeSize ) : void
Rewind ( ) : bool
SmackerVideoTrack ( uint width, uint height, uint frameCount, Rational frameRate, uint flags, uint signature ) : System
UnpackPalette ( Stream stream ) : void

Private Methods

Method Description
GetBlockRun ( int index ) : uint

Method Details

DecodeFrame() public method

public DecodeFrame ( BitStream bs ) : void
bs BitStream
return void

DecodeNextFrame() public method

public DecodeNextFrame ( ) : Surface
return NScumm.Core.Graphics.Surface

GetPalette() public method

public GetPalette ( ) : byte[]
return byte[]

HasDirtyPalette() public method

public HasDirtyPalette ( ) : bool
return bool

IncreaseCurrentFrame() public method

public IncreaseCurrentFrame ( ) : void
return void

ReadTrees() public method

public ReadTrees ( BitStream bs, int mMapSize, int mClrSize, int fullSize, int typeSize ) : void
bs BitStream
mMapSize int
mClrSize int
fullSize int
typeSize int
return void

Rewind() public method

public Rewind ( ) : bool
return bool

SmackerVideoTrack() public method

public SmackerVideoTrack ( uint width, uint height, uint frameCount, Rational frameRate, uint flags, uint signature ) : System
width uint
height uint
frameCount uint
frameRate Rational
flags uint
signature uint
return System

UnpackPalette() public method

public UnpackPalette ( Stream stream ) : void
stream Stream
return void