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

Image::Indeo::GetBits Class Reference

Intel Indeo Bitstream reader. More...

#include <get_bits.h>

Inheritance diagram for Image::Indeo::GetBits:
Collaboration diagram for Image::Indeo::GetBits:

List of all members.

Public Member Functions

 GetBits (const byte *dataPtr, uint32 dataSize)
int getBitsLeft () const
 The number of bits left.
template<int maxDepth>
int getVLC2 (int16(*table)[2], int bits)
 Parse a VLC code.

Detailed Description

Intel Indeo Bitstream reader.

Definition at line 34 of file get_bits.h.

Constructor & Destructor Documentation

Image::Indeo::GetBits::GetBits ( const byte dataPtr,
uint32  dataSize 
) [inline]


Definition at line 39 of file get_bits.h.

Member Function Documentation

int Image::Indeo::GetBits::getBitsLeft (  )  const [inline]

The number of bits left.

Definition at line 44 of file get_bits.h.

template<int maxDepth>
int Image::Indeo::GetBits::getVLC2 ( int16(*)  table[2],
int  bits 
) [inline]

Parse a VLC code.

bits is the number of bits which will be read at once, must be identical to nbBits in init_vlc()
maxDepth is the number of times bits bits must be read to completely read the longest vlc code = (max_vlc_length + bits - 1) / bits

Definition at line 55 of file get_bits.h.

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

Generated on Sat Sep 19 2020 05:05:48 for ResidualVM by doxygen 1.7.1
curved edge   curved edge