C# Class NScumm.Core.Video.VideoDecoder

Datei anzeigen Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
Close ( ) : void
DecodeNextFrame ( ) : Surface
GetHeight ( ) : ushort
GetWidth ( ) : ushort
HasAudio ( ) : bool
LoadStream ( Stream stream ) : bool
Rewind ( ) : bool
Start ( ) : void

Protected Methods

Method Description
AddTrack ( ITrack track, bool isExternal = false ) : void
GetTrack ( int track ) : ITrack
ReadNextPacket ( ) : void
ResetPauseStartTime ( ) : void
SupportsAudioTrackSwitching ( ) : bool

Private Methods

Method Description
FindNextVideoTrack ( ) : VideoTrack
GetTime ( ) : uint
GetTimeToNextFrame ( ) : uint
HasFramesLeft ( ) : bool
SetRate ( Rational rate ) : void
SetReverse ( bool reverse ) : bool
StartAudio ( ) : void
StartAudioLimit ( Timestamp limit ) : void
Stop ( ) : void
StopAudio ( ) : void

Method Details

AddTrack() protected method

protected AddTrack ( ITrack track, bool isExternal = false ) : void
track ITrack
isExternal bool
return void

Close() public method

public Close ( ) : void
return void

DecodeNextFrame() public method

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

GetHeight() public method

public GetHeight ( ) : ushort
return ushort

GetTrack() protected method

protected GetTrack ( int track ) : ITrack
track int
return ITrack

GetWidth() public method

public GetWidth ( ) : ushort
return ushort

HasAudio() public method

public HasAudio ( ) : bool
return bool

LoadStream() public abstract method

public abstract LoadStream ( Stream stream ) : bool
stream Stream
return bool

ReadNextPacket() protected method

protected ReadNextPacket ( ) : void
return void

ResetPauseStartTime() protected method

protected ResetPauseStartTime ( ) : void
return void

Rewind() public method

public Rewind ( ) : bool
return bool

Start() public method

public Start ( ) : void
return void

SupportsAudioTrackSwitching() protected method

protected SupportsAudioTrackSwitching ( ) : bool
return bool