vdr 2.6.7
|
Public Member Functions | |
cDvbSubtitlePage (int PageId) | |
void | Parse (int64_t Pts, cBitStream &bs) |
void | ParsePgs (int64_t Pts, cBitStream &bs) |
int | PageId (void) |
int | PageTimeout (void) |
int | PageVersionNumber (void) |
int | PageState (void) |
int64_t | Pts (void) const |
bool | Pending (void) |
cSubtitleObjects * | Objects (void) |
tArea * | GetAreas (int &NumAreas) |
tArea | CombineAreas (int NumAreas, const tArea *Areas) |
tArea | ScaleArea (const tArea &Area, double FactorX, double FactorY) |
cSubtitleObject * | GetObjectById (int ObjectId, bool New=false) |
cSubtitleClut * | GetClutById (int ClutId, bool New=false) |
cSubtitleRegion * | GetRegionById (int RegionId, bool New=false) |
cSubtitleRegionRef * | GetRegionRefByIndex (int RegionRefIndex) |
void | AddRegionRef (cSubtitleRegionRef *rf) |
void | SetPending (bool Pending) |
![]() | |
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 Attributes | |
int | pageId |
int | pageTimeout |
int | pageVersionNumber |
int | pageState |
int64_t | pts |
bool | pending |
cSubtitleObjects | objects |
cList< cSubtitleClut > | cluts |
cList< cSubtitleRegion > | regions |
cList< cSubtitleRegionRef > | regionRefs |
Definition at line 973 of file dvbsubtitle.c.
cDvbSubtitlePage::cDvbSubtitlePage | ( | int | PageId | ) |
Definition at line 1007 of file dvbsubtitle.c.
References pageId, PageId(), pageState, pageTimeout, pageVersionNumber, pending, and pts.
|
inline |
Definition at line 1003 of file dvbsubtitle.c.
References cListBase::Add(), and regionRefs.
Referenced by cDvbSubtitleConverter::ExtractPgsSegment().
Definition at line 1106 of file dvbsubtitle.c.
References tArea::bpp, max(), min(), tArea::x1, tArea::x2, tArea::y1, and tArea::y2.
Referenced by cDvbSubtitleConverter::FinishPage().
tArea * cDvbSubtitlePage::GetAreas | ( | int & | NumAreas | ) |
Definition at line 1082 of file dvbsubtitle.c.
References tArea::bpp, cListBase::Count(), cList< T >::First(), GetRegionById(), cList< T >::Next(), regionRefs, regions, tArea::x1, tArea::x2, tArea::y1, and tArea::y2.
Referenced by cDvbSubtitleConverter::FinishPage().
cSubtitleClut * cDvbSubtitlePage::GetClutById | ( | int | ClutId, |
bool | New = false ) |
Definition at line 1137 of file dvbsubtitle.c.
References cListBase::Add(), cluts, cList< T >::First(), and cList< T >::Next().
Referenced by cDvbSubtitleConverter::ExtractPgsSegment(), cDvbSubtitleConverter::ExtractSegment(), and cDvbSubtitleConverter::FinishPage().
cSubtitleObject * cDvbSubtitlePage::GetObjectById | ( | int | ObjectId, |
bool | New = false ) |
Definition at line 1163 of file dvbsubtitle.c.
References cSubtitleObjects::GetObjectById(), and objects.
Referenced by cDvbSubtitleConverter::ExtractPgsSegment(), and cDvbSubtitleConverter::ExtractSegment().
cSubtitleRegion * cDvbSubtitlePage::GetRegionById | ( | int | RegionId, |
bool | New = false ) |
Definition at line 1150 of file dvbsubtitle.c.
References cListBase::Add(), cList< T >::First(), cList< T >::Next(), and regions.
Referenced by cDvbSubtitleConverter::ExtractPgsSegment(), cDvbSubtitleConverter::ExtractSegment(), cDvbSubtitleConverter::FinishPage(), and GetAreas().
|
inline |
Definition at line 1002 of file dvbsubtitle.c.
References cList< T >::Get(), and regionRefs.
Referenced by cDvbSubtitleConverter::FinishPage().
|
inline |
Definition at line 995 of file dvbsubtitle.c.
References objects.
Referenced by cDvbSubtitleConverter::FinishPage().
|
inline |
|
inline |
Definition at line 992 of file dvbsubtitle.c.
References pageState.
Referenced by cDvbSubtitleConverter::FinishPage().
|
inline |
Definition at line 990 of file dvbsubtitle.c.
References pageTimeout.
Referenced by cDvbSubtitleConverter::FinishPage().
|
inline |
Definition at line 991 of file dvbsubtitle.c.
References pageVersionNumber.
void cDvbSubtitlePage::Parse | ( | int64_t | Pts, |
cBitStream & | bs ) |
Definition at line 1017 of file dvbsubtitle.c.
References cListBase::Add(), cListBase::Clear(), cluts, dbgpages, cBitStream::GetBits(), cBitStream::IsEOF(), objects, pageId, pageState, pageTimeout, pageVersionNumber, pending, pts, Pts(), regionRefs, regions, and cBitStream::SkipBits().
Referenced by cDvbSubtitleConverter::ExtractSegment().
void cDvbSubtitlePage::ParsePgs | ( | int64_t | Pts, |
cBitStream & | bs ) |
Definition at line 1053 of file dvbsubtitle.c.
References cListBase::Clear(), cluts, dbgpages, cBitStream::GetBits(), objects, pageId, pageState, pageTimeout, pageVersionNumber, pending, pts, Pts(), regionRefs, regions, and cBitStream::SkipBits().
Referenced by cDvbSubtitleConverter::ExtractPgsSegment().
|
inline |
Definition at line 994 of file dvbsubtitle.c.
References pending.
Referenced by cDvbSubtitleConverter::ExtractPgsSegment(), cDvbSubtitleConverter::ExtractSegment(), and SetPending().
|
inline |
Definition at line 993 of file dvbsubtitle.c.
References pts.
Referenced by cDvbSubtitleConverter::FinishPage(), Parse(), and ParsePgs().
Definition at line 1124 of file dvbsubtitle.c.
References tArea::bpp, tArea::Width(), tArea::x1, tArea::x2, tArea::y1, and tArea::y2.
Referenced by cDvbSubtitleConverter::FinishPage().
|
inline |
Definition at line 1004 of file dvbsubtitle.c.
References pending, and Pending().
Referenced by cDvbSubtitleConverter::ExtractPgsSegment(), and cDvbSubtitleConverter::ExtractSegment().
|
private |
Definition at line 982 of file dvbsubtitle.c.
Referenced by GetClutById(), Parse(), and ParsePgs().
|
private |
Definition at line 981 of file dvbsubtitle.c.
Referenced by GetObjectById(), Objects(), Parse(), and ParsePgs().
|
private |
Definition at line 975 of file dvbsubtitle.c.
Referenced by cDvbSubtitlePage(), PageId(), Parse(), and ParsePgs().
|
private |
Definition at line 978 of file dvbsubtitle.c.
Referenced by cDvbSubtitlePage(), PageState(), Parse(), and ParsePgs().
|
private |
Definition at line 976 of file dvbsubtitle.c.
Referenced by cDvbSubtitlePage(), PageTimeout(), Parse(), and ParsePgs().
|
private |
Definition at line 977 of file dvbsubtitle.c.
Referenced by cDvbSubtitlePage(), PageVersionNumber(), Parse(), and ParsePgs().
|
private |
Definition at line 980 of file dvbsubtitle.c.
Referenced by cDvbSubtitlePage(), Parse(), ParsePgs(), Pending(), and SetPending().
|
private |
Definition at line 979 of file dvbsubtitle.c.
Referenced by cDvbSubtitlePage(), Parse(), ParsePgs(), and Pts().
|
private |
Definition at line 984 of file dvbsubtitle.c.
Referenced by AddRegionRef(), GetAreas(), GetRegionRefByIndex(), Parse(), and ParsePgs().
|
private |
Definition at line 983 of file dvbsubtitle.c.
Referenced by GetAreas(), GetRegionById(), Parse(), and ParsePgs().