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

Image::TrueMotion1Decoder Class Reference

Duck TrueMotion 1 decoder. More...

#include <truemotion1.h>

Inheritance diagram for Image::TrueMotion1Decoder:
Collaboration diagram for Image::TrueMotion1Decoder:

List of all members.

Classes

struct  PredictorTableEntry

Public Member Functions

 TrueMotion1Decoder ()
 ~TrueMotion1Decoder ()
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 selectDeltaTables (int deltaTableIndex)
void decodeHeader (Common::SeekableReadStream &stream)
void decode16 ()
int makeYdt16Entry (int p1, int p2)
int makeCdt16Entry (int p1, int p2)
void genVectorTable16 (const byte *selVectorTable)

Private Attributes

Graphics::Surface_surface
int _mbChangeBitsRowSize
byte_buf
byte_mbChangeBits
byte_indexStream
int _indexStreamSize
int _flags
PredictorTableEntry _yPredictorTable [1024]
PredictorTableEntry _cPredictorTable [1024]
int _blockType
int _blockWidth
int _blockHeight
int16 _ydt [8]
int16 _cdt [8]
int _lastDeltaset
int _lastVectable
uint32_vertPred
struct {
   byte   headerSize
   byte   compression
   byte   deltaset
   byte   vectable
   uint16   ysize
   uint16   xsize
   uint16   checksum
   byte   version
   byte   headerType
   byte   flags
   byte   control
   uint16   xoffset
   uint16   yoffset
   uint16   width
   uint16   height
_header

Detailed Description

Duck TrueMotion 1 decoder.

Used by BMP/AVI.

Definition at line 40 of file truemotion1.h.


Constructor & Destructor Documentation

Image::TrueMotion1Decoder::TrueMotion1Decoder (  ) 
Image::TrueMotion1Decoder::~TrueMotion1Decoder (  ) 

Member Function Documentation

void Image::TrueMotion1Decoder::decode16 (  )  [private]
const Graphics::Surface* Image::TrueMotion1Decoder::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.

void Image::TrueMotion1Decoder::decodeHeader ( Common::SeekableReadStream stream  )  [private]
void Image::TrueMotion1Decoder::genVectorTable16 ( const byte selVectorTable  )  [private]
Graphics::PixelFormat Image::TrueMotion1Decoder::getPixelFormat (  )  const [inline, virtual]

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

Implements Image::Codec.

Definition at line 48 of file truemotion1.h.

int Image::TrueMotion1Decoder::makeCdt16Entry ( int  p1,
int  p2 
) [private]
int Image::TrueMotion1Decoder::makeYdt16Entry ( int  p1,
int  p2 
) [private]
void Image::TrueMotion1Decoder::selectDeltaTables ( int  deltaTableIndex  )  [private]

Member Data Documentation

Definition at line 69 of file truemotion1.h.

Definition at line 67 of file truemotion1.h.

Definition at line 68 of file truemotion1.h.

Definition at line 54 of file truemotion1.h.

Definition at line 72 of file truemotion1.h.

Definition at line 57 of file truemotion1.h.

struct { ... } Image::TrueMotion1Decoder::_header [private]

Definition at line 54 of file truemotion1.h.

Definition at line 55 of file truemotion1.h.

Definition at line 74 of file truemotion1.h.

Definition at line 74 of file truemotion1.h.

Definition at line 54 of file truemotion1.h.

Definition at line 53 of file truemotion1.h.

Definition at line 76 of file truemotion1.h.

Definition at line 71 of file truemotion1.h.


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


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