#include <qtrle.h>
Public Member Functions | |
| QTRLEDecoder (uint16 width, uint16 height, byte bitsPerPixel) | |
| const Graphics::Surface * | decodeFrame (Common::SeekableReadStream &stream) override |
| Graphics::PixelFormat | getPixelFormat () const override |
| bool | containsPalette () const override |
| const byte * | getPalette () override |
| bool | hasDirtyPalette () const override |
| bool | canDither (DitherType type) const override |
| void | setDither (DitherType type, const byte *palette) override |
Public Member Functions inherited from Image::Codec | |
| virtual bool | setOutputPixelFormat (const Graphics::PixelFormat &format) |
| virtual void | setCodecAccuracy (CodecAccuracy accuracy) |
Additional Inherited Members | |
Public Types inherited from Image::Codec | |
| enum | DitherType { kDitherTypeUnknown, kDitherTypeVFW, kDitherTypeQT } |
Static Public Member Functions inherited from Image::Codec | |
| static Graphics::PixelFormat | getDefaultYUVFormat () |
QuickTime Run-Length Encoding decoder.
Used by PICT/QuickTime.
|
overridevirtual |
Decode the frame for the given data and return a pointer to a surface containing the decoded frame.
Implements Image::Codec.
|
overridevirtual |
Get the format that the surface returned from decodeImage() will be in.
Implements Image::Codec.
|
inlineoverridevirtual |
Can this codec's frames contain a palette?
Reimplemented from Image::Codec.
|
inlineoverridevirtual |
Get the palette last decoded from decodeImage
Reimplemented from Image::Codec.
|
inlineoverridevirtual |
Does the codec have a dirty palette?
Reimplemented from Image::Codec.
|
overridevirtual |
Can the codec dither down to 8bpp?
Reimplemented from Image::Codec.
|
overridevirtual |
Activate dithering mode with a palette
Reimplemented from Image::Codec.