|
vdr
2.0.7
|
#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 |
Private Attributes | |
| const uint8_t * | data |
| int | length |
| int | index |
|
inline |
| void cBitStream::ByteAlign | ( | void | ) |
Definition at line 1294 of file tools.c.
References index, and SkipBits().
Referenced by cSubtitleObject::DecodeSubBlock().
| int cBitStream::GetBit | ( | void | ) |
Definition at line 1277 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 1286 of file tools.c.
References GetBit().
Referenced by cSubtitleObject::Decode2BppCodeString(), cSubtitleObject::Decode4BppCodeString(), cSubtitleObject::Decode8BppCodeString(), cSubtitleObject::DecodeSubBlock(), and cDvbSubtitleConverter::ExtractSegment().
|
inline |
Definition at line 320 of file tools.h.
Referenced by cDvbSubtitleConverter::ExtractSegment().
|
inline |
Definition at line 319 of file tools.h.
Referenced by cDvbSubtitleConverter::ExtractSegment().
|
inline |
Definition at line 316 of file tools.h.
Referenced by cSubtitleObject::DecodeSubBlock(), and cDvbSubtitleConverter::ExtractSegment().
|
inline |
Definition at line 318 of file tools.h.
Referenced by cDvbSubtitleConverter::ExtractSegment(), and SetLength().
| bool cBitStream::SetLength | ( | int | Length | ) |
Definition at line 1308 of file tools.c.
References length, and Length().
Referenced by cDvbSubtitleConverter::ExtractSegment().
|
inline |
Definition at line 315 of file tools.h.
Referenced by cDvbSubtitleConverter::ExtractSegment().
|
inline |
Definition at line 314 of file tools.h.
Referenced by ByteAlign(), cDvbSubtitleConverter::ExtractSegment(), and WordAlign().
| void cBitStream::WordAlign | ( | void | ) |
Definition at line 1301 of file tools.c.
References index, and SkipBits().
Referenced by cDvbSubtitleConverter::ExtractSegment().
|
private |
|
private |
Definition at line 305 of file tools.h.
Referenced by ByteAlign(), GetBit(), and WordAlign().
|
private |
Definition at line 304 of file tools.h.
Referenced by GetBit(), and SetLength().
1.8.8