vdr
1.7.27
|
#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 272 of file include/vdr/tools.h.
cBitStream::cBitStream | ( | const uint8_t * | Data, |
int | Length | ||
) | [inline] |
Definition at line 278 of file include/vdr/tools.h.
cBitStream::~cBitStream | ( | ) | [inline] |
Definition at line 279 of file include/vdr/tools.h.
cBitStream::cBitStream | ( | const uint8_t * | Data, |
int | Length | ||
) | [inline] |
cBitStream::~cBitStream | ( | ) | [inline] |
void cBitStream::ByteAlign | ( | void | ) |
Definition at line 1222 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 1205 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 1214 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 | ) |
const uint8_t* cBitStream::GetData | ( | void | ) | const [inline] |
const uint8_t* cBitStream::GetData | ( | void | ) | const [inline] |
Definition at line 291 of file include/vdr/tools.h.
Referenced by cDvbSubtitleConverter::ExtractSegment().
int cBitStream::Index | ( | void | ) | const [inline] |
Definition at line 290 of file include/vdr/tools.h.
Referenced by cDvbSubtitleConverter::ExtractSegment().
int cBitStream::Index | ( | void | ) | const [inline] |
bool cBitStream::IsEOF | ( | void | ) | const [inline] |
Definition at line 287 of file include/vdr/tools.h.
Referenced by cSubtitleObject::DecodeSubBlock(), and cDvbSubtitleConverter::ExtractSegment().
bool cBitStream::IsEOF | ( | void | ) | const [inline] |
int cBitStream::Length | ( | void | ) | const [inline] |
int cBitStream::Length | ( | void | ) | const [inline] |
Definition at line 289 of file include/vdr/tools.h.
Referenced by cDvbSubtitleConverter::ExtractSegment(), and SetLength().
void cBitStream::Reset | ( | void | ) | [inline] |
Definition at line 288 of file include/vdr/tools.h.
void cBitStream::Reset | ( | void | ) | [inline] |
bool cBitStream::SetLength | ( | int | Length | ) |
bool cBitStream::SetLength | ( | int | Length | ) |
Definition at line 1236 of file tools.c.
References length, and Length().
Referenced by cDvbSubtitleConverter::ExtractSegment().
void cBitStream::SkipBit | ( | void | ) | [inline] |
Definition at line 286 of file include/vdr/tools.h.
Referenced by cDvbSubtitleConverter::ExtractSegment().
void cBitStream::SkipBit | ( | void | ) | [inline] |
void cBitStream::SkipBits | ( | int | n | ) | [inline] |
void cBitStream::SkipBits | ( | int | n | ) | [inline] |
Definition at line 285 of file include/vdr/tools.h.
Referenced by ByteAlign(), cDvbSubtitleConverter::ExtractSegment(), and WordAlign().
void cBitStream::WordAlign | ( | void | ) |
void cBitStream::WordAlign | ( | void | ) |
Definition at line 1229 of file tools.c.
References index, and SkipBits().
Referenced by cDvbSubtitleConverter::ExtractSegment().
const uint8_t * cBitStream::data [private] |
Definition at line 274 of file include/vdr/tools.h.
Referenced by GetBit().
int cBitStream::index [private] |
Definition at line 276 of file include/vdr/tools.h.
Referenced by ByteAlign(), GetBit(), and WordAlign().
int cBitStream::length [private] |
Definition at line 275 of file include/vdr/tools.h.
Referenced by GetBit(), and SetLength().