ScummVM API documentation
Image::Indeo3Decoder Class Reference

#include <indeo3.h>

Inheritance diagram for Image::Indeo3Decoder:
Image::Codec

Public Member Functions

 Indeo3Decoder (uint16 width, uint16 height, uint bitsPerPixel=24)
 
const Graphics::SurfacedecodeFrame (Common::SeekableReadStream &stream) override
 
Graphics::PixelFormat getPixelFormat () const override
 
bool setOutputPixelFormat (const Graphics::PixelFormat &format) override
 
- 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)
 
virtual void setCodecAccuracy (CodecAccuracy accuracy)
 

Static Public Member Functions

static bool isIndeo3 (Common::SeekableReadStream &stream)
 
- Static Public Member Functions inherited from Image::Codec
static byte * createQuickTimeDitherTable (const byte *palette, uint colorCount)
 

Additional Inherited Members

- Public Types inherited from Image::Codec
enum  DitherType { kDitherTypeUnknown, kDitherTypeVFW, kDitherTypeQT }
 

Detailed Description

Intel Indeo 3 decoder.

Used by BMP/AVI.

Used in video:

  • VMDDecoder

Member Function Documentation

◆ decodeFrame()

const Graphics::Surface* Image::Indeo3Decoder::decodeFrame ( Common::SeekableReadStream stream)
overridevirtual

Decode the frame for the given data and return a pointer to a surface containing the decoded frame.

Returns
a pointer to the decoded frame

Implements Image::Codec.

◆ getPixelFormat()

Graphics::PixelFormat Image::Indeo3Decoder::getPixelFormat ( ) const
overridevirtual

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

Implements Image::Codec.

◆ setOutputPixelFormat()

bool Image::Indeo3Decoder::setOutputPixelFormat ( const Graphics::PixelFormat format)
inlineoverridevirtual

Select the preferred format to use, for codecs where this is faster than converting the image afterwards. Returns true if supported, and false otherwise.

Reimplemented from Image::Codec.


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