vdr
2.0.4
|
Public Member Functions | |
cSubtitleObject (int ObjectId, cBitmap *Bitmap) | |
int | ObjectId (void) |
int | Version (void) |
int | CodingMethod (void) |
uchar | BackgroundPixelCode (void) |
uchar | ForegroundPixelCode (void) |
const char * | TextData (void) |
int | X (void) |
int | Y (void) |
bool | NonModifyingColorFlag (void) |
void | DecodeCharacterString (const uchar *Data, int NumberOfCodes) |
void | DecodeSubBlock (const uchar *Data, int Length, bool Even) |
void | SetVersion (int Version) |
void | SetBackgroundPixelCode (uchar BackgroundPixelCode) |
void | SetForegroundPixelCode (uchar ForegroundPixelCode) |
void | SetNonModifyingColorFlag (bool NonModifyingColorFlag) |
void | SetCodingMethod (int CodingMethod) |
void | SetPosition (int x, int y) |
void | SetProviderFlag (int ProviderFlag) |
![]() | |
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 (int x, int y, tIndex Index, int Length) |
bool | Decode2BppCodeString (cBitStream *bs, int &x, int y, const uint8_t *MapTable) |
bool | Decode4BppCodeString (cBitStream *bs, int &x, int y, const uint8_t *MapTable) |
bool | Decode8BppCodeString (cBitStream *bs, int &x, int y) |
Private Attributes | |
int | objectId |
int | version |
int | codingMethod |
bool | nonModifyingColorFlag |
uchar | backgroundPixelCode |
uchar | foregroundPixelCode |
int | providerFlag |
int | px |
int | py |
cBitmap * | bitmap |
char | textData [Utf8BufSize(256)] |
Definition at line 155 of file dvbsubtitle.c.
cSubtitleObject::cSubtitleObject | ( | int | ObjectId, |
cBitmap * | Bitmap | ||
) |
Definition at line 194 of file dvbsubtitle.c.
References backgroundPixelCode, bitmap, codingMethod, foregroundPixelCode, nonModifyingColorFlag, objectId, ObjectId(), providerFlag, px, py, textData, and version.
|
inline |
Definition at line 177 of file dvbsubtitle.c.
References backgroundPixelCode.
Referenced by SetBackgroundPixelCode().
|
inline |
Definition at line 176 of file dvbsubtitle.c.
References codingMethod.
Referenced by SetCodingMethod().
|
private |
Definition at line 311 of file dvbsubtitle.c.
References DrawLine(), cBitStream::GetBit(), and cBitStream::GetBits().
Referenced by DecodeSubBlock().
|
private |
Definition at line 351 of file dvbsubtitle.c.
References DrawLine(), cBitStream::GetBit(), and cBitStream::GetBits().
Referenced by DecodeSubBlock().
|
private |
Definition at line 396 of file dvbsubtitle.c.
References DrawLine(), cBitStream::GetBit(), and cBitStream::GetBits().
Referenced by DecodeSubBlock().
void cSubtitleObject::DecodeCharacterString | ( | const uchar * | Data, |
int | NumberOfCodes | ||
) |
Definition at line 208 of file dvbsubtitle.c.
References cCharSetConv::Convert(), SI::getCharacterTable(), textData, Utf8StrLen(), and Utf8Strn0Cpy().
void cSubtitleObject::DecodeSubBlock | ( | const uchar * | Data, |
int | Length, | ||
bool | Even | ||
) |
Definition at line 237 of file dvbsubtitle.c.
References bitmap, cPalette::Bpp(), cBitStream::ByteAlign(), dbgobjects, Decode2BppCodeString(), Decode4BppCodeString(), Decode8BppCodeString(), cBitStream::GetBits(), and cBitStream::IsEOF().
|
private |
Definition at line 301 of file dvbsubtitle.c.
References bitmap, nonModifyingColorFlag, px, py, and cBitmap::SetIndex().
Referenced by Decode2BppCodeString(), Decode4BppCodeString(), and Decode8BppCodeString().
|
inline |
Definition at line 178 of file dvbsubtitle.c.
References foregroundPixelCode.
Referenced by SetForegroundPixelCode().
|
inline |
Definition at line 182 of file dvbsubtitle.c.
References nonModifyingColorFlag.
Referenced by SetNonModifyingColorFlag().
|
inline |
Definition at line 174 of file dvbsubtitle.c.
References objectId.
Referenced by cSubtitleObject(), and cDvbSubtitleConverter::ExtractSegment().
|
inline |
Definition at line 186 of file dvbsubtitle.c.
References backgroundPixelCode, and BackgroundPixelCode().
|
inline |
Definition at line 189 of file dvbsubtitle.c.
References codingMethod, and CodingMethod().
|
inline |
Definition at line 187 of file dvbsubtitle.c.
References foregroundPixelCode, and ForegroundPixelCode().
|
inline |
Definition at line 188 of file dvbsubtitle.c.
References nonModifyingColorFlag, and NonModifyingColorFlag().
|
inline |
Definition at line 190 of file dvbsubtitle.c.
|
inline |
Definition at line 191 of file dvbsubtitle.c.
References providerFlag.
|
inline |
Definition at line 185 of file dvbsubtitle.c.
|
inline |
Definition at line 179 of file dvbsubtitle.c.
References textData.
|
inline |
Definition at line 175 of file dvbsubtitle.c.
References version.
Referenced by cDvbSubtitleConverter::ExtractSegment(), and SetVersion().
|
inline |
Definition at line 180 of file dvbsubtitle.c.
References px.
|
inline |
Definition at line 181 of file dvbsubtitle.c.
References py.
|
private |
Definition at line 161 of file dvbsubtitle.c.
Referenced by BackgroundPixelCode(), cSubtitleObject(), and SetBackgroundPixelCode().
|
private |
Definition at line 166 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), DecodeSubBlock(), and DrawLine().
|
private |
Definition at line 159 of file dvbsubtitle.c.
Referenced by CodingMethod(), cSubtitleObject(), and SetCodingMethod().
|
private |
Definition at line 162 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), ForegroundPixelCode(), and SetForegroundPixelCode().
|
private |
Definition at line 160 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), DrawLine(), NonModifyingColorFlag(), and SetNonModifyingColorFlag().
|
private |
Definition at line 157 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), and ObjectId().
|
private |
Definition at line 163 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), and SetProviderFlag().
|
private |
Definition at line 164 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), DrawLine(), SetPosition(), and X().
|
private |
Definition at line 165 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), DrawLine(), SetPosition(), and Y().
|
private |
Definition at line 167 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), DecodeCharacterString(), and TextData().
|
private |
Definition at line 158 of file dvbsubtitle.c.
Referenced by cSubtitleObject(), SetVersion(), and Version().