vdr
2.2.0
|
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) |
![]() | |
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, palette8, and cPalette::SetColor().
|
inline |
Definition at line 156 of file dvbsubtitle.c.
Referenced by cSubtitleClut().
|
inline |
Definition at line 157 of file dvbsubtitle.c.
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(), cSetup::SubtitleBgTransparency, cSetup::SubtitleFgTransparency, 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, cSetup::SubtitleBgTransparency, cSetup::SubtitleFgTransparency, and yuv2rgb().
Referenced by cDvbSubtitleConverter::ExtractPgsSegment().
|
private |
Definition at line 318 of file dvbsubtitle.c.
References esyslog, palette2, palette4, palette8, and cPalette::SetColor().
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 cSubtitleClut(), Parse(), and ParsePgs().
|
private |
Definition at line 146 of file dvbsubtitle.c.
Referenced by 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().