ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Image::SMCDecoder Class Reference

Apple SMC decoder. More...

#include <smc.h>

Inheritance diagram for Image::SMCDecoder:
Collaboration diagram for Image::SMCDecoder:

List of all members.

Public Member Functions

 SMCDecoder (uint16 width, uint16 height)
 ~SMCDecoder ()
const Graphics::SurfacedecodeFrame (Common::SeekableReadStream &stream)
 Decode the frame for the given data and return a pointer to a surface containing the decoded frame.
Graphics::PixelFormat getPixelFormat () const
 Get the format that the surface returned from decodeImage() will be in.

Private Attributes

Graphics::Surface_surface
byte _colorPairs [COLORS_PER_TABLE *CPAIR]
byte _colorQuads [COLORS_PER_TABLE *CQUAD]
byte _colorOctets [COLORS_PER_TABLE *COCTET]

Detailed Description

Apple SMC decoder.

Used by PICT/QuickTime.

Definition at line 42 of file smc.h.


Constructor & Destructor Documentation

Image::SMCDecoder::SMCDecoder ( uint16  width,
uint16  height 
)

Definition at line 48 of file smc.cpp.

Image::SMCDecoder::~SMCDecoder (  ) 

Definition at line 53 of file smc.cpp.


Member Function Documentation

const Graphics::Surface * Image::SMCDecoder::decodeFrame ( Common::SeekableReadStream stream  )  [virtual]

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.

Definition at line 58 of file smc.cpp.

Graphics::PixelFormat Image::SMCDecoder::getPixelFormat (  )  const [inline, virtual]

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

Implements Image::Codec.

Definition at line 48 of file smc.h.


Member Data Documentation

byte Image::SMCDecoder::_colorOctets[COLORS_PER_TABLE *COCTET] [private]

Definition at line 56 of file smc.h.

byte Image::SMCDecoder::_colorPairs[COLORS_PER_TABLE *CPAIR] [private]

Definition at line 54 of file smc.h.

byte Image::SMCDecoder::_colorQuads[COLORS_PER_TABLE *CQUAD] [private]

Definition at line 55 of file smc.h.

Definition at line 51 of file smc.h.


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


Generated on Sat May 18 2019 05:06:50 for ResidualVM by doxygen 1.7.1
curved edge   curved edge