|
vdr 2.8.1
|
Public Member Functions | |
| cSubtitleClut (int ClutId) | |
| void | Parse (cBitStream &bs) |
| void | ParsePgs (cBitStream &bs) |
| int | ClutId (void) |
| int | ClutVersionNumber (void) |
| const cPalette * | GetPalette (int Bpp) |
| Public Member Functions inherited from cListObject | |
| 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 | |
| tColor | yuv2rgb (int Y, int Cb, int Cr) |
| void | SetColor (int Bpp, int Index, tColor Color) |
Private Attributes | |
| int | clutId |
| int | clutVersionNumber |
| cPalette | palette2 |
| cPalette | palette4 |
| cPalette | palette8 |
Definition at line 143 of file dvbsubtitle.c.
| cSubtitleClut::cSubtitleClut | ( | int | ClutId | ) |
Definition at line 161 of file dvbsubtitle.c.
References ArgbToColor(), ClutId(), clutId, clutVersionNumber, palette2, palette4, and palette8.
|
inline |
|
inline |
Definition at line 157 of file dvbsubtitle.c.
References clutVersionNumber.
| const cPalette * cSubtitleClut::GetPalette | ( | int | Bpp | ) |
Definition at line 328 of file dvbsubtitle.c.
References esyslog, palette2, palette4, and palette8.
Referenced by cDvbSubtitleConverter::FinishPage(), and cSubtitleObject::Parse().
| void cSubtitleClut::Parse | ( | cBitStream & | bs | ) |
Definition at line 230 of file dvbsubtitle.c.
References clutId, clutVersionNumber, dbgcluts, cBitStream::GetBit(), cBitStream::GetBits(), cBitStream::IsEOF(), SetColor(), Setup, cBitStream::SkipBits(), and yuv2rgb().
Referenced by cDvbSubtitleConverter::ExtractSegment().
| void cSubtitleClut::ParsePgs | ( | cBitStream & | bs | ) |
Definition at line 277 of file dvbsubtitle.c.
References ArgbToColor(), clutId, clutVersionNumber, dbgcluts, cBitStream::GetBits(), cBitStream::IsEOF(), SetColor(), Setup, and yuv2rgb().
Referenced by cDvbSubtitleConverter::ExtractPgsSegment().
|
private |
Definition at line 318 of file dvbsubtitle.c.
References esyslog, cListObject::Index(), palette2, palette4, and palette8.
Referenced by Parse(), and ParsePgs().
|
private |
Definition at line 302 of file dvbsubtitle.c.
References constrain().
Referenced by Parse(), and ParsePgs().
|
private |
Definition at line 145 of file dvbsubtitle.c.
Referenced by ClutId(), cSubtitleClut(), Parse(), and ParsePgs().
|
private |
Definition at line 146 of file dvbsubtitle.c.
Referenced by ClutVersionNumber(), cSubtitleClut(), Parse(), and ParsePgs().
|
private |
Definition at line 147 of file dvbsubtitle.c.
Referenced by cSubtitleClut(), GetPalette(), and SetColor().
|
private |
Definition at line 148 of file dvbsubtitle.c.
Referenced by cSubtitleClut(), GetPalette(), and SetColor().
|
private |
Definition at line 149 of file dvbsubtitle.c.
Referenced by cSubtitleClut(), GetPalette(), and SetColor().