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;
Simple class for handling a palette data.
Definition: palette.h:61
DitherType
Definition: codec.h:65
const Graphics::Surface * decodeFrame(Common::SeekableReadStream &stream) override
bool canDither(DitherType type) const override
bool hasDirtyPalette() const override
Definition: qtrle.h:46
void setDither(DitherType type, const byte *palette) override
bool containsPalette() const override
Definition: qtrle.h:44
const byte * getPalette() override
Definition: qtrle.h:45
Graphics::PixelFormat getPixelFormat() const override