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

Image::BitmapRawDecoder Class Reference

Bitmap raw image decoder. More...

#include <bmp_raw.h>

Inheritance diagram for Image::BitmapRawDecoder:
Collaboration diagram for Image::BitmapRawDecoder:

List of all members.

Public Member Functions

 BitmapRawDecoder (int width, int height, int bitsPerPixel)
 ~BitmapRawDecoder ()
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
int _width
int _height
int _bitsPerPixel

Detailed Description

Bitmap raw image decoder.

Used by BMP/AVI.

Definition at line 35 of file bmp_raw.h.


Constructor & Destructor Documentation

Image::BitmapRawDecoder::BitmapRawDecoder ( int  width,
int  height,
int  bitsPerPixel 
)

Definition at line 31 of file bmp_raw.cpp.

Image::BitmapRawDecoder::~BitmapRawDecoder (  ) 

Definition at line 36 of file bmp_raw.cpp.


Member Function Documentation

const Graphics::Surface * Image::BitmapRawDecoder::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 40 of file bmp_raw.cpp.

Graphics::PixelFormat Image::BitmapRawDecoder::getPixelFormat (  )  const [virtual]

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

Implements Image::Codec.

Definition at line 134 of file bmp_raw.cpp.


Member Data Documentation

Definition at line 46 of file bmp_raw.h.

Definition at line 45 of file bmp_raw.h.

Definition at line 44 of file bmp_raw.h.

Definition at line 45 of file bmp_raw.h.


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


Generated on Sat Sep 21 2019 05:03:59 for ResidualVM by doxygen 1.7.1
curved edge   curved edge