ScummVM API documentation
Image::HNM6Decoder Class Reference

#include <hnm.h>

Inheritance diagram for Image::HNM6Decoder:
Image::Codec

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::SurfacedecodeFrame (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)
 

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)
 

Detailed Description

HNM6 image decoder interface.

Used by HNM6 image and video formats.

Member Function Documentation

◆ getPixelFormat()

Graphics::PixelFormat Image::HNM6Decoder::getPixelFormat ( ) const
inlineoverridevirtual

Get the format that the surface returned from decodeImage() will be in.

Implements Image::Codec.


The documentation for this class was generated from the following file: