22 #ifndef VIDEO_FLICDECODER_H 23 #define VIDEO_FLICDECODER_H 25 #include "video/video_decoder.h" 26 #include "common/list.h" 27 #include "common/rect.h" 30 class SeekableReadStream;
57 void clearDirtyRects();
58 void copyDirtyRectsToBuffer(uint8 *dst, uint pitch);
66 virtual void readHeader();
68 bool endOfTrack()
const;
70 virtual bool rewind();
72 uint16 getWidth()
const;
73 uint16 getHeight()
const;
79 virtual void handleFrame();
80 const byte *
getPalette()
const { _dirtyPalette =
false;
return _palette; }
84 void clearDirtyRects() { _dirtyRects.
clear(); }
85 void copyDirtyRectsToBuffer(uint8 *dst, uint pitch);
97 mutable bool _dirtyPalette;
100 uint32 _frameDelay, _startFrameDelay;
101 uint32 _nextFrameStartTime;
105 void copyFrame(uint8 *data);
106 void decodeByteRun(uint8 *data);
107 void decodeDeltaFLC(uint8 *data);
108 void unpackPalette(uint8 *mem);
Definition: flic_decoder.h:61
bool hasDirtyPalette() const
Definition: flic_decoder.h:81
uint32 getNextFrameStartTime() const
Definition: flic_decoder.h:77
Definition: flic_decoder.h:49
Definition: video_decoder.h:53
int getFrameCount() const
Definition: flic_decoder.h:76
Definition: algorithm.h:29
Definition: formatinfo.h:28
void clear()
Definition: list.h:206
const byte * getPalette() const
Definition: flic_decoder.h:80
Definition: avi_frames.h:36
int getCurFrame() const
Definition: flic_decoder.h:75
virtual bool isRewindable() const
Definition: flic_decoder.h:69
Definition: video_decoder.h:577