vdr 2.7.6
|
Public Member Functions | |
cSubtitleObject (int ObjectId) | |
~cSubtitleObject () | |
void | Parse (cBitStream &bs) |
void | ParsePgs (cBitStream &bs) |
int | ObjectId (void) |
int | ObjectVersionNumber (void) |
int | ObjectCodingMethod (void) |
bool | NonModifyingColorFlag (void) |
void | Render (cBitmap *Bitmap, int px, int py, tIndex IndexFg, tIndex IndexBg) |
![]() | |
cListObject (void) | |
virtual | ~cListObject () |
virtual int | Compare (const cListObject &ListObject) const |
void | Append (cListObject *Object) |
void | Insert (cListObject *Object) |
void | Unlink (void) |
int | Index (void) const |
cListObject * | Prev (void) const |
cListObject * | Next (void) const |
Private Member Functions | |
void | DrawLine (cBitmap *Bitmap, int x, int y, tIndex Index, int Length) |
bool | Decode2BppCodeString (cBitmap *Bitmap, int px, int py, cBitStream *bs, int &x, int y, const uint8_t *MapTable) |
bool | Decode4BppCodeString (cBitmap *Bitmap, int px, int py, cBitStream *bs, int &x, int y, const uint8_t *MapTable) |
bool | Decode8BppCodeString (cBitmap *Bitmap, int px, int py, cBitStream *bs, int &x, int y) |
bool | DecodePgsCodeString (cBitmap *Bitmap, int px, int py, cBitStream *bs, int &x, int y) |
void | DecodeSubBlock (cBitmap *Bitmap, int px, int py, const uchar *Data, int Length, bool Even) |
void | DecodeCharacterString (const uchar *Data, int NumberOfCodes) |
Private Attributes | |
int | objectId |
int | objectVersionNumber |
int | objectCodingMethod |
bool | nonModifyingColorFlag |
int | topLength |
int | botLength |
int | topIndex |
uchar * | topData |
uchar * | botData |
char * | txtData |
int | lineHeight |
Definition at line 341 of file dvbsubtitle.c.
cSubtitleObject::cSubtitleObject | ( | int | ObjectId | ) |
Definition at line 373 of file dvbsubtitle.c.
References botData, botLength, lineHeight, nonModifyingColorFlag, objectCodingMethod, ObjectId(), objectId, objectVersionNumber, topData, topIndex, topLength, and txtData.
cSubtitleObject::~cSubtitleObject | ( | ) |
Definition at line 388 of file dvbsubtitle.c.
|
private |
Definition at line 571 of file dvbsubtitle.c.
References DrawLine(), cBitStream::GetBit(), and cBitStream::GetBits().
Referenced by DecodeSubBlock().
|
private |
Definition at line 611 of file dvbsubtitle.c.
References DrawLine(), cBitStream::GetBit(), and cBitStream::GetBits().
Referenced by DecodeSubBlock().
|
private |
Definition at line 656 of file dvbsubtitle.c.
References DrawLine(), cBitStream::GetBit(), and cBitStream::GetBits().
Referenced by DecodeSubBlock().
|
private |
Definition at line 466 of file dvbsubtitle.c.
References cCharSetConv::Convert(), dbgobjects, SI::getCharacterTable(), cCharSetConv::SystemCharacterTable(), and txtData.
Referenced by Parse().
|
private |
Definition at line 681 of file dvbsubtitle.c.
References DrawLine(), cBitStream::GetBits(), and cBitStream::IsEOF().
Referenced by DecodeSubBlock().
|
private |
Definition at line 494 of file dvbsubtitle.c.
References cPalette::Bpp(), cBitStream::ByteAlign(), dbgpixel, Decode2BppCodeString(), Decode4BppCodeString(), Decode8BppCodeString(), DecodePgsCodeString(), cBitStream::GetBits(), and cBitStream::IsEOF().
Referenced by Render().
Definition at line 563 of file dvbsubtitle.c.
References cListObject::Index(), nonModifyingColorFlag, and cBitmap::SetIndex().
Referenced by Decode2BppCodeString(), Decode4BppCodeString(), Decode8BppCodeString(), and DecodePgsCodeString().
|
inline |
Definition at line 369 of file dvbsubtitle.c.
References nonModifyingColorFlag.
|
inline |
Definition at line 368 of file dvbsubtitle.c.
References objectCodingMethod.
|
inline |
|
inline |
Definition at line 367 of file dvbsubtitle.c.
References objectVersionNumber.
void cSubtitleObject::Parse | ( | cBitStream & | bs | ) |
Definition at line 395 of file dvbsubtitle.c.
References botData, botLength, cPalette::Bpp(), cBitmap::Clean(), dbgobjects, DebugObjects, DecodeCharacterString(), cBitmap::Dirty(), cBitStream::GetBit(), cBitStream::GetBits(), cBitStream::GetData(), cSubtitleClut::GetPalette(), MALLOC, nonModifyingColorFlag, objectCodingMethod, objectId, objectVersionNumber, Render(), cPalette::Replace(), SD, cBitStream::SkipBit(), topData, topLength, and cBitStream::WordAlign().
Referenced by cDvbSubtitleConverter::ExtractSegment().
void cSubtitleObject::ParsePgs | ( | cBitStream & | bs | ) |
Definition at line 443 of file dvbsubtitle.c.
References dbgobjects, cBitStream::GetBits(), cBitStream::GetData(), cBitStream::Index(), cBitStream::Length(), MALLOC, nonModifyingColorFlag, objectCodingMethod, objectId, objectVersionNumber, cBitStream::SkipBits(), topData, topIndex, and topLength.
Referenced by cDvbSubtitleConverter::ExtractPgsSegment().
Definition at line 703 of file dvbsubtitle.c.
References botData, botLength, cPalette::Bpp(), cPalette::Color(), cFont::CreateFont(), DecodeSubBlock(), cBitmap::DrawBitmap(), cBitmap::DrawText(), cFont::Height(), lineHeight, objectCodingMethod, cBitmap::Scaled(), Setup, topData, topLength, txtData, and cFont::Width().
Referenced by Parse().
|
private |
Definition at line 351 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), Parse(), Render(), and ~cSubtitleObject().
|
private |
Definition at line 348 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), Parse(), and Render().
|
private |
Definition at line 353 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), and Render().
|
private |
Definition at line 346 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), DrawLine(), NonModifyingColorFlag(), Parse(), and ParsePgs().
|
private |
Definition at line 345 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), ObjectCodingMethod(), Parse(), ParsePgs(), and Render().
|
private |
Definition at line 343 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), ObjectId(), Parse(), and ParsePgs().
|
private |
Definition at line 344 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), ObjectVersionNumber(), Parse(), and ParsePgs().
|
private |
Definition at line 350 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), Parse(), ParsePgs(), Render(), and ~cSubtitleObject().
|
private |
Definition at line 349 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), and ParsePgs().
|
private |
Definition at line 347 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), Parse(), ParsePgs(), and Render().
|
private |
Definition at line 352 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), DecodeCharacterString(), Render(), and ~cSubtitleObject().