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

Stark::Formats::XMGDecoder Class Reference

XMG (still image) decoder. More...

#include <xmg.h>

Collaboration diagram for Stark::Formats::XMGDecoder:

List of all members.

Classes

struct  Block

Static Public Member Functions

static Graphics::Surfacedecode (Common::ReadStream *stream)

Private Member Functions

 XMGDecoder ()
Graphics::SurfacedecodeImage (Common::ReadStream *stream)
Block decodeBlock (byte op)
void drawBlock (const Block &block, Graphics::Surface *surface)
Block processYCrCb ()
Block processTrans ()
Block processRGB ()

Private Attributes

uint32 _width
uint32 _height
uint32 _currX
uint32 _currY
Common::ReadStream_stream
uint32 _transColor

Detailed Description

XMG (still image) decoder.

Definition at line 38 of file xmg.h.


Constructor & Destructor Documentation

Stark::Formats::XMGDecoder::XMGDecoder (  )  [private]

Definition at line 36 of file xmg.cpp.


Member Function Documentation

Graphics::Surface * Stark::Formats::XMGDecoder::decode ( Common::ReadStream stream  )  [static]

Definition at line 45 of file xmg.cpp.

XMGDecoder::Block Stark::Formats::XMGDecoder::decodeBlock ( byte  op  )  [private]

Definition at line 114 of file xmg.cpp.

Graphics::Surface * Stark::Formats::XMGDecoder::decodeImage ( Common::ReadStream stream  )  [private]

Definition at line 50 of file xmg.cpp.

void Stark::Formats::XMGDecoder::drawBlock ( const Block block,
Graphics::Surface surface 
) [private]

Definition at line 137 of file xmg.cpp.

XMGDecoder::Block Stark::Formats::XMGDecoder::processRGB (  )  [private]

Definition at line 200 of file xmg.cpp.

XMGDecoder::Block Stark::Formats::XMGDecoder::processTrans (  )  [private]

Definition at line 189 of file xmg.cpp.

XMGDecoder::Block Stark::Formats::XMGDecoder::processYCrCb (  )  [private]

Definition at line 160 of file xmg.cpp.


Member Data Documentation

Definition at line 61 of file xmg.h.

Definition at line 62 of file xmg.h.

Definition at line 59 of file xmg.h.

Definition at line 64 of file xmg.h.

Definition at line 66 of file xmg.h.

Definition at line 58 of file xmg.h.


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


Generated on Sat Jan 12 2019 05:05:17 for ResidualVM by doxygen 1.7.1
curved edge   curved edge