vdr
1.7.31
|
#include <tools.h>
Public Member Functions | |
cBitStream (const uint8_t *Data, int Length) | |
~cBitStream () | |
int | GetBit (void) |
uint32_t | GetBits (int n) |
void | ByteAlign (void) |
void | WordAlign (void) |
bool | SetLength (int Length) |
void | SkipBits (int n) |
void | SkipBit (void) |
bool | IsEOF (void) const |
void | Reset (void) |
int | Length (void) const |
int | Index (void) const |
const uint8_t * | GetData (void) const |
cBitStream (const uint8_t *Data, int Length) | |
~cBitStream () | |
int | GetBit (void) |
uint32_t | GetBits (int n) |
void | ByteAlign (void) |
void | WordAlign (void) |
bool | SetLength (int Length) |
void | SkipBits (int n) |
void | SkipBit (void) |
bool | IsEOF (void) const |
void | Reset (void) |
int | Length (void) const |
int | Index (void) const |
const uint8_t * | GetData (void) const |
Private Attributes | |
const uint8_t * | data |
int | length |
int | index |
Definition at line 293 of file include/vdr/tools.h.
|
inline |
Definition at line 299 of file include/vdr/tools.h.
|
inline |
Definition at line 300 of file include/vdr/tools.h.
|
inline |
void cBitStream::ByteAlign | ( | void | ) |
Definition at line 1259 of file tools.c.
References index, and SkipBits().
Referenced by cSubtitleObject::DecodeSubBlock().
void cBitStream::ByteAlign | ( | void | ) |
int cBitStream::GetBit | ( | void | ) |
int cBitStream::GetBit | ( | void | ) |
Definition at line 1242 of file tools.c.
References data, index, and length.
Referenced by cSubtitleObject::Decode2BppCodeString(), cSubtitleObject::Decode4BppCodeString(), cSubtitleObject::Decode8BppCodeString(), cDvbSubtitleConverter::ExtractSegment(), and GetBits().
uint32_t cBitStream::GetBits | ( | int | n | ) |
Definition at line 1251 of file tools.c.
References GetBit().
Referenced by cSubtitleObject::Decode2BppCodeString(), cSubtitleObject::Decode4BppCodeString(), cSubtitleObject::Decode8BppCodeString(), cSubtitleObject::DecodeSubBlock(), and cDvbSubtitleConverter::ExtractSegment().
uint32_t cBitStream::GetBits | ( | int | n | ) |
|
inline |
Definition at line 312 of file include/vdr/tools.h.
Referenced by cDvbSubtitleConverter::ExtractSegment().
|
inline |
Definition at line 311 of file include/vdr/tools.h.
Referenced by cDvbSubtitleConverter::ExtractSegment().
|
inline |
Definition at line 308 of file include/vdr/tools.h.
Referenced by cSubtitleObject::DecodeSubBlock(), and cDvbSubtitleConverter::ExtractSegment().
|
inline |
Definition at line 310 of file include/vdr/tools.h.
Referenced by cDvbSubtitleConverter::ExtractSegment(), and SetLength().
|
inline |
Definition at line 309 of file include/vdr/tools.h.
bool cBitStream::SetLength | ( | int | Length | ) |
bool cBitStream::SetLength | ( | int | Length | ) |
Definition at line 1273 of file tools.c.
References length, and Length().
Referenced by cDvbSubtitleConverter::ExtractSegment().
|
inline |
Definition at line 307 of file include/vdr/tools.h.
Referenced by cDvbSubtitleConverter::ExtractSegment().
|
inline |
Definition at line 306 of file include/vdr/tools.h.
Referenced by ByteAlign(), cDvbSubtitleConverter::ExtractSegment(), and WordAlign().
void cBitStream::WordAlign | ( | void | ) |
void cBitStream::WordAlign | ( | void | ) |
Definition at line 1266 of file tools.c.
References index, and SkipBits().
Referenced by cDvbSubtitleConverter::ExtractSegment().
|
private |
Definition at line 295 of file include/vdr/tools.h.
Referenced by GetBit().
|
private |
Definition at line 297 of file include/vdr/tools.h.
Referenced by ByteAlign(), GetBit(), and WordAlign().
|
private |
Definition at line 296 of file include/vdr/tools.h.
Referenced by GetBit(), and SetLength().