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" 28 #include "graphics/palette.h" 31 class SeekableReadStream;
58 void clearDirtyRects();
59 void copyDirtyRectsToBuffer(uint8 *dst, uint pitch);
67 virtual void readHeader();
69 bool endOfTrack()
const;
71 virtual bool rewind();
73 uint16 getWidth()
const;
74 uint16 getHeight()
const;
80 virtual void handleFrame();
81 const byte *
getPalette()
const { _dirtyPalette =
false;
return _palette.data(); }
85 void clearDirtyRects() { _dirtyRects.
clear(); }
86 void copyDirtyRectsToBuffer(uint8 *dst, uint pitch);
98 mutable bool _dirtyPalette;
101 uint32 _frameDelay, _startFrameDelay;
102 uint32 _nextFrameStartTime;
106 void copyFrame(uint8 *data);
107 void decodeByteRun(uint8 *data);
108 void decodeDeltaFLC(uint8 *data);
109 void unpackPalette(uint8 *mem);
Definition: flic_decoder.h:62
bool hasDirtyPalette() const
Definition: flic_decoder.h:82
uint32 getNextFrameStartTime() const
Definition: flic_decoder.h:78
Definition: flic_decoder.h:50
Definition: video_decoder.h:53
int getFrameCount() const
Definition: flic_decoder.h:77
Definition: algorithm.h:29
Definition: formatinfo.h:28
void clear()
Definition: list.h:245
const byte * getPalette() const
Definition: flic_decoder.h:81
Simple class for handling a palette data.
Definition: palette.h:51
Definition: avi_frames.h:36
int getCurFrame() const
Definition: flic_decoder.h:76
virtual bool isRewindable() const
Definition: flic_decoder.h:70
Definition: video_decoder.h:589