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

Intel Indeo 3 decoder. More...

#include <indeo3.h>

Inheritance diagram for Image::Indeo3Decoder:
Collaboration diagram for Image::Indeo3Decoder:

List of all members.

Classes

struct  YUVBufs

Public Member Functions

 Indeo3Decoder (uint16 width, uint16 height, uint bitsPerPixel=24)
 ~Indeo3Decoder ()
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.

Static Public Member Functions

static bool isIndeo3 (Common::SeekableReadStream &stream)

Private Member Functions

void buildModPred ()
void allocFrames ()
void decodeChunk (byte *cur, byte *ref, int width, int height, const byte *buf1, uint32 fflags2, const byte *hdr, const byte *buf2, int min_width_160)

Private Attributes

Graphics::Surface_surface
Graphics::PixelFormat _pixelFormat
YUVBufs _iv_frame [2]
YUVBufs_cur_frame
YUVBufs_ref_frame
byte_ModPred
uint16_corrector_type

Static Private Attributes

static const int _corrector_type_0 [24]
static const int _corrector_type_2 [8] = { 9, 7, 6, 8, 5, 4, 3, 2 }
static const uint32 correction []
static const uint32 correctionloworder []
static const uint32 correctionhighorder []

Detailed Description

Intel Indeo 3 decoder.

Used by BMP/AVI.

Used in video:

  • VMDDecoder

Definition at line 47 of file indeo3.h.


Constructor & Destructor Documentation

Image::Indeo3Decoder::Indeo3Decoder ( uint16  width,
uint16  height,
uint  bitsPerPixel = 24 
)

Definition at line 43 of file indeo3.cpp.

Image::Indeo3Decoder::~Indeo3Decoder (  ) 

Definition at line 76 of file indeo3.cpp.


Member Function Documentation

void Image::Indeo3Decoder::allocFrames (  )  [private]

Definition at line 137 of file indeo3.cpp.

void Image::Indeo3Decoder::buildModPred (  )  [private]

Definition at line 110 of file indeo3.cpp.

void Image::Indeo3Decoder::decodeChunk ( byte cur,
byte ref,
int  width,
int  height,
const byte buf1,
uint32  fflags2,
const byte hdr,
const byte buf2,
int  min_width_160 
) [private]

Definition at line 396 of file indeo3.cpp.

const Graphics::Surface * Image::Indeo3Decoder::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 188 of file indeo3.cpp.

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

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

Implements Image::Codec.

Definition at line 85 of file indeo3.cpp.

bool Image::Indeo3Decoder::isIndeo3 ( Common::SeekableReadStream stream  )  [static]

Definition at line 89 of file indeo3.cpp.


Member Data Documentation

Definition at line 83 of file indeo3.h.

const int Image::Indeo3Decoder::_corrector_type_0 [static, private]
Initial value:
 {
    195, 159, 133, 115, 101,  93,  87,  77,
    195, 159, 133, 115, 101,  93,  87,  77,
    128,  79,  79,  79,  79,  79,  79,  79
}

Definition at line 62 of file indeo3.h.

const int Image::Indeo3Decoder::_corrector_type_2 = { 9, 7, 6, 8, 5, 4, 3, 2 } [static, private]

Definition at line 63 of file indeo3.h.

Definition at line 79 of file indeo3.h.

Definition at line 78 of file indeo3.h.

Definition at line 82 of file indeo3.h.

Definition at line 80 of file indeo3.h.

Definition at line 58 of file indeo3.h.

const uint32 Image::Indeo3Decoder::correction [static, private]

Definition at line 64 of file indeo3.h.

Definition at line 66 of file indeo3.h.

Definition at line 65 of file indeo3.h.


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


Generated on Sat Mar 23 2019 05:08:22 for ResidualVM by doxygen 1.7.1
curved edge   curved edge