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

Image::MSRLEDecoder Class Reference

Microsoft Run-Length Encoding decoder. More...

#include <msrle.h>

Inheritance diagram for Image::MSRLEDecoder:
Collaboration diagram for Image::MSRLEDecoder:

List of all members.

Public Member Functions

 MSRLEDecoder (uint16 width, uint16 height, byte bitsPerPixel)
 ~MSRLEDecoder ()
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 Member Functions

void decode8 (Common::SeekableReadStream &stream)

Private Attributes

byte _bitsPerPixel
Graphics::Surface_surface

Detailed Description

Microsoft Run-Length Encoding decoder.

Used by BMP/AVI.

Definition at line 35 of file msrle.h.


Constructor & Destructor Documentation

Image::MSRLEDecoder::MSRLEDecoder ( uint16  width,
uint16  height,
byte  bitsPerPixel 
)

Definition at line 31 of file msrle.cpp.

Image::MSRLEDecoder::~MSRLEDecoder (  ) 

Definition at line 37 of file msrle.cpp.


Member Function Documentation

void Image::MSRLEDecoder::decode8 ( Common::SeekableReadStream stream  )  [private]

Definition at line 51 of file msrle.cpp.

const Graphics::Surface * Image::MSRLEDecoder::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 42 of file msrle.cpp.

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

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

Implements Image::Codec.

Definition at line 41 of file msrle.h.


Member Data Documentation

Definition at line 44 of file msrle.h.

Definition at line 46 of file msrle.h.


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


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