ScummVM API documentation
Petka::FlicDecoder::FlicVideoTrack Class Reference
Inheritance diagram for Petka::FlicDecoder::FlicVideoTrack:
Video::FlicDecoder::FlicVideoTrack Video::VideoDecoder::VideoTrack Video::VideoDecoder::Track

Public Member Functions

 FlicVideoTrack (Common::SeekableReadStream *stream, uint16 frameCount, uint16 width, uint16 height, bool skipHeader=false)
 
const Graphics::SurfacedecodeNextFrame () override
 
bool loadMsk (Common::SeekableReadStream &stream)
 
uint getDelay () const
 
const Common::Rect getBounds () const
 
const Common::Array< Common::RectgetMskRects () const
 
const Graphics::SurfacegetSurface () 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
 

Member Function Documentation

◆ decodeNextFrame()

const Graphics::Surface* Petka::FlicDecoder::FlicVideoTrack::decodeNextFrame ( )
overridevirtual

Decode the next frame

Reimplemented from Video::FlicDecoder::FlicVideoTrack.


The documentation for this class was generated from the following file: