#include <hnm.h>
Public Member Functions | |
uint16 | getWidth () const |
uint16 | getHeight () const |
Graphics::PixelFormat | getPixelFormat () const override |
void | setWarpMode (bool warpMode) |
Public Member Functions inherited from Image::Codec | |
virtual const Graphics::Surface * | decodeFrame (Common::SeekableReadStream &stream)=0 |
virtual bool | setOutputPixelFormat (const Graphics::PixelFormat &format) |
virtual bool | containsPalette () const |
virtual const byte * | getPalette () |
virtual bool | hasDirtyPalette () const |
virtual bool | canDither (DitherType type) const |
virtual void | setDither (DitherType type, const byte *palette) |
virtual void | setCodecAccuracy (CodecAccuracy accuracy) |
Protected Member Functions | |
HNM6Decoder (uint16 width, uint16 height, const Graphics::PixelFormat &format, bool videoMode=false) | |
Protected Attributes | |
uint16 | _width |
uint16 | _height |
Graphics::PixelFormat | _format |
bool | _warpMode |
bool | _videoMode |
Additional Inherited Members | |
Public Types inherited from Image::Codec | |
enum | DitherType { kDitherTypeUnknown, kDitherTypeVFW, kDitherTypeQT } |
Static Public Member Functions inherited from Image::Codec | |
static byte * | createQuickTimeDitherTable (const byte *palette, uint colorCount) |
HNM6 image decoder interface.
Used by HNM6 image and video formats.
|
inlineoverridevirtual |
Get the format that the surface returned from decodeImage() will be in.
Implements Image::Codec.