ScummVM API documentation
Titanic::CJPEGDecode Class Reference
Inheritance diagram for Titanic::CJPEGDecode:
Image::JPEGDecoder Image::ImageDecoder Image::Codec

Public Member Functions

void decode (OSVideoSurface &surface, const CString &name)
 
- Public Member Functions inherited from Image::JPEGDecoder
void destroy () override
 
bool loadStream (Common::SeekableReadStream &str) override
 
const Graphics::SurfacegetSurface () const override
 
const Graphics::SurfacedecodeFrame (Common::SeekableReadStream &stream) override
 
void setCodecAccuracy (CodecAccuracy accuracy) override
 
Graphics::PixelFormat getPixelFormat () const override
 
bool setOutputPixelFormat (const Graphics::PixelFormat &format) override
 
void setOutputColorSpace (ColorSpace outSpace)
 
- Public Member Functions inherited from Image::ImageDecoder
virtual const byte * getPalette () const
 
virtual bool hasPalette () const
 
virtual uint16 getPaletteColorCount () const
 
virtual bool hasTransparentColor () const
 
virtual uint32 getTransparentColor () const
 
- Public Member Functions inherited from Image::Codec
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)
 

Additional Inherited Members

- Public Types inherited from Image::JPEGDecoder
enum  ColorSpace { kColorSpaceRGB, kColorSpaceYUV }
 
- 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)
 

Member Function Documentation

◆ decode()

void Titanic::CJPEGDecode::decode ( OSVideoSurface surface,
const CString name 
)

Decode the image file onto the passed surface


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