22 #ifndef IMAGE_CODECS_CODEC_H 23 #define IMAGE_CODECS_CODEC_H 25 #include "graphics/surface.h" 26 #include "graphics/pixelformat.h" 28 #include "image/codec-options.h" 31 class SeekableReadStream;
129 static byte *createQuickTimeDitherTable(
const byte *palette, uint colorCount);
135 Codec *createBitmapCodec(uint32 tag, uint32 streamTag,
int width,
int height,
int bitsPerPixel);
140 Codec *createQuickTimeCodec(uint32 tag,
int width,
int height,
int bitsPerPixel);
virtual bool setOutputPixelFormat(const Graphics::PixelFormat &format)
Definition: codec.h:94
virtual bool canDither(DitherType type) const
Definition: codec.h:114
virtual void setCodecAccuracy(CodecAccuracy accuracy)
Definition: codec.h:124
virtual bool containsPalette() const
Definition: codec.h:99
Definition: algorithm.h:29
virtual bool hasDirtyPalette() const
Definition: codec.h:109
virtual const byte * getPalette()
Definition: codec.h:104
virtual void setDither(DitherType type, const byte *palette)
Definition: codec.h:119
DitherType
Definition: codec.h:65
Definition: movie_decoder.h:32