#include <get_bits.h>
Public Member Functions | |
| GetBits (const byte *dataPtr, uint32 dataSize) | |
| int | getBitsLeft () const |
| template<int maxDepth, int bits> | |
| int | getVLC2 (int16(*table)[2]) |
Public Member Functions inherited from Common::BitStreamImpl< STREAM, CONTAINER, valueBits, isLE, MSB2LSB > | |
| BitStreamImpl (STREAM *stream, DisposeAfterUse::Flag disposeAfterUse=DisposeAfterUse::NO) | |
| BitStreamImpl (STREAM &stream) | |
| uint | peekBit () |
| uint | getBit () |
| template<int n> | |
| uint32 | peekBits () |
| template<int n> | |
| uint32 | getBits () |
| uint32 | peekBits (size_t n) |
| uint32 | getBits (size_t n) |
| void | addBit (uint32 &x, uint32 n) |
| void | rewind () |
| void | skip (uint32 n) |
| void | align () |
| uint32 | pos () const |
| uint32 | size () const |
| bool | eos () const |
Additional Inherited Members | |
Static Public Member Functions inherited from Common::BitStreamImpl< STREAM, CONTAINER, valueBits, isLE, MSB2LSB > | |
| static bool | isMSB2LSB () |
Intel Indeo Bitstream reader
|
inline |
Constructor
|
inline |
The number of bits left
|
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 |