22 #ifndef IMAGE_CODECS_QTRLE_H 23 #define IMAGE_CODECS_QTRLE_H 25 #include "graphics/pixelformat.h" 26 #include "graphics/palette.h" 27 #include "image/codecs/codec.h" 38 QTRLEDecoder(uint16 width, uint16 height, byte bitsPerPixel);
45 const byte *
getPalette()
override { _dirtyPalette =
false;
return _ditherPalette.data(); }
53 uint16 _width, _height;
bool hasDirtyPalette() const override
Definition: qtrle.h:46
void setDither(DitherType type, const byte *palette) override
const byte * getPalette() override
Definition: qtrle.h:45
Graphics::PixelFormat getPixelFormat() const override
const Graphics::Surface * decodeFrame(Common::SeekableReadStream &stream) override
bool canDither(DitherType type) const override
Simple class for handling a palette data.
Definition: palette.h:51
DitherType
Definition: codec.h:65
Definition: movie_decoder.h:32
bool containsPalette() const override
Definition: qtrle.h:44