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

Image::MSVideo1Decoder Class Reference

Microsoft Video 1 decoder. More...

#include <msvideo1.h>

Inheritance diagram for Image::MSVideo1Decoder:
Collaboration diagram for Image::MSVideo1Decoder:

List of all members.

Public Member Functions

 MSVideo1Decoder (uint16 width, uint16 height, byte bitsPerPixel)
 ~MSVideo1Decoder ()
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)
void decode16 (Common::SeekableReadStream &stream)

Private Attributes

byte _bitsPerPixel
Graphics::Surface_surface

Detailed Description

Microsoft Video 1 decoder.

Used by BMP/AVI.

Definition at line 35 of file msvideo1.h.


Constructor & Destructor Documentation

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

Definition at line 37 of file msvideo1.cpp.

Image::MSVideo1Decoder::~MSVideo1Decoder (  ) 

Definition at line 45 of file msvideo1.cpp.


Member Function Documentation

void Image::MSVideo1Decoder::decode16 ( Common::SeekableReadStream stream  )  [private]

Definition at line 129 of file msvideo1.cpp.

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

Definition at line 50 of file msvideo1.cpp.

const Graphics::Surface * Image::MSVideo1Decoder::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 216 of file msvideo1.cpp.

Graphics::PixelFormat Image::MSVideo1Decoder::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 msvideo1.h.


Member Data Documentation

Definition at line 44 of file msvideo1.h.

Definition at line 46 of file msvideo1.h.


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


Generated on Sat Mar 16 2019 05:06:28 for ResidualVM by doxygen 1.7.1
curved edge   curved edge