Public Member Functions | |
FlicVideoTrack (Common::SeekableReadStream *stream, uint16 frameCount, uint16 width, uint16 height, bool skipHeader=false) | |
const Graphics::Surface * | decodeNextFrame () override |
bool | loadMsk (Common::SeekableReadStream &stream) |
uint | getDelay () const |
const Common::Rect | getBounds () const |
const Common::Array< Common::Rect > | getMskRects () const |
const Graphics::Surface * | getSurface () const |
Public Member Functions inherited from Video::FlicDecoder::FlicVideoTrack | |
FlicVideoTrack (Common::SeekableReadStream *stream, uint16 frameCount, uint16 width, uint16 height, bool skipHeader=false) | |
virtual void | readHeader () |
bool | endOfTrack () const |
virtual bool | isRewindable () const |
virtual bool | rewind () |
uint16 | getWidth () const |
uint16 | getHeight () const |
Graphics::PixelFormat | getPixelFormat () const |
int | getCurFrame () const |
int | getFrameCount () const |
uint32 | getNextFrameStartTime () const |
virtual void | handleFrame () |
const byte * | getPalette () const |
bool | hasDirtyPalette () const |
const Common::List< Common::Rect > * | getDirtyRects () const |
void | clearDirtyRects () |
void | copyDirtyRectsToBuffer (uint8 *dst, uint pitch) |
Public Member Functions inherited from Video::VideoDecoder::VideoTrack | |
TrackType | getTrackType () const |
virtual bool | setOutputPixelFormat (const Graphics::PixelFormat &format) |
virtual void | setCodecAccuracy (Image::CodecAccuracy accuracy) |
virtual Audio::Timestamp | getFrameTime (uint frame) const |
virtual bool | setReverse (bool reverse) |
virtual bool | isReversed () const |
virtual bool | canDither () const |
virtual void | setDither (const byte *palette) |
Public Member Functions inherited from Video::VideoDecoder::Track | |
virtual bool | isSeekable () const |
virtual bool | seek (const Audio::Timestamp &time) |
void | pause (bool shouldPause) |
bool | isPaused () const |
virtual Audio::Timestamp | getDuration () const |
Additional Inherited Members | |
Public Types inherited from Video::VideoDecoder::Track | |
enum | TrackType { kTrackTypeNone, kTrackTypeVideo, kTrackTypeAudio } |
Protected Member Functions inherited from Video::FlicDecoder::FlicVideoTrack | |
void | copyFrame (uint8 *data) |
void | decodeByteRun (uint8 *data) |
void | decodeDeltaFLC (uint8 *data) |
void | unpackPalette (uint8 *mem) |
Protected Member Functions inherited from Video::VideoDecoder::Track | |
virtual void | pauseIntern (bool shouldPause) |
Protected Attributes inherited from Video::FlicDecoder::FlicVideoTrack | |
Common::SeekableReadStream * | _fileStream |
Graphics::Surface * | _surface |
int | _curFrame |
bool | _atRingFrame |
uint32 | _offsetFrame1 |
uint32 | _offsetFrame2 |
byte * | _palette |
bool | _dirtyPalette |
uint32 | _frameCount |
uint32 | _frameDelay |
uint32 | _startFrameDelay |
uint32 | _nextFrameStartTime |
Common::List< Common::Rect > | _dirtyRects |
|
overridevirtual |
Decode the next frame
Reimplemented from Video::FlicDecoder::FlicVideoTrack.