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

Image::MJPEGDecoder Class Reference

Motion JPEG decoder. More...

#include <mjpeg.h>

Inheritance diagram for Image::MJPEGDecoder:
Collaboration diagram for Image::MJPEGDecoder:

List of all members.

Public Member Functions

 MJPEGDecoder ()
 ~MJPEGDecoder ()
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::PixelFormat _pixelFormat
Graphics::Surface_surface

Detailed Description

Motion JPEG decoder.

Used by BMP/AVI.

Definition at line 44 of file mjpeg.h.


Constructor & Destructor Documentation

Image::MJPEGDecoder::MJPEGDecoder (  ) 

Definition at line 42 of file mjpeg.cpp.

Image::MJPEGDecoder::~MJPEGDecoder (  ) 

Definition at line 47 of file mjpeg.cpp.


Member Function Documentation

const Graphics::Surface * Image::MJPEGDecoder::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 152 of file mjpeg.cpp.

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

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

Implements Image::Codec.

Definition at line 50 of file mjpeg.h.


Member Data Documentation

Definition at line 53 of file mjpeg.h.

Definition at line 54 of file mjpeg.h.


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


Generated on Sat Sep 14 2019 05:04:40 for ResidualVM by doxygen 1.7.1
curved edge   curved edge