vdr 2.7.6
cSubtitleObject Class Reference

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)
 
- 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
 
cListObjectPrev (void) const
 
cListObjectNext (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
 
uchartopData
 
ucharbotData
 
char * txtData
 
int lineHeight
 

Detailed Description

Definition at line 341 of file dvbsubtitle.c.

Constructor & Destructor Documentation

◆ cSubtitleObject()

cSubtitleObject::cSubtitleObject ( int ObjectId)

◆ ~cSubtitleObject()

cSubtitleObject::~cSubtitleObject ( )

Definition at line 388 of file dvbsubtitle.c.

References botData, topData, and txtData.

Member Function Documentation

◆ Decode2BppCodeString()

bool cSubtitleObject::Decode2BppCodeString ( cBitmap * Bitmap,
int px,
int py,
cBitStream * bs,
int & x,
int y,
const uint8_t * MapTable )
private

Definition at line 571 of file dvbsubtitle.c.

References DrawLine(), cBitStream::GetBit(), and cBitStream::GetBits().

Referenced by DecodeSubBlock().

◆ Decode4BppCodeString()

bool cSubtitleObject::Decode4BppCodeString ( cBitmap * Bitmap,
int px,
int py,
cBitStream * bs,
int & x,
int y,
const uint8_t * MapTable )
private

Definition at line 611 of file dvbsubtitle.c.

References DrawLine(), cBitStream::GetBit(), and cBitStream::GetBits().

Referenced by DecodeSubBlock().

◆ Decode8BppCodeString()

bool cSubtitleObject::Decode8BppCodeString ( cBitmap * Bitmap,
int px,
int py,
cBitStream * bs,
int & x,
int y )
private

Definition at line 656 of file dvbsubtitle.c.

References DrawLine(), cBitStream::GetBit(), and cBitStream::GetBits().

Referenced by DecodeSubBlock().

◆ DecodeCharacterString()

void cSubtitleObject::DecodeCharacterString ( const uchar * Data,
int NumberOfCodes )
private

◆ DecodePgsCodeString()

bool cSubtitleObject::DecodePgsCodeString ( cBitmap * Bitmap,
int px,
int py,
cBitStream * bs,
int & x,
int y )
private

Definition at line 681 of file dvbsubtitle.c.

References DrawLine(), cBitStream::GetBits(), and cBitStream::IsEOF().

Referenced by DecodeSubBlock().

◆ DecodeSubBlock()

void cSubtitleObject::DecodeSubBlock ( cBitmap * Bitmap,
int px,
int py,
const uchar * Data,
int Length,
bool Even )
private

◆ DrawLine()

void cSubtitleObject::DrawLine ( cBitmap * Bitmap,
int x,
int y,
tIndex Index,
int Length )
private

◆ NonModifyingColorFlag()

bool cSubtitleObject::NonModifyingColorFlag ( void )
inline

Definition at line 369 of file dvbsubtitle.c.

References nonModifyingColorFlag.

◆ ObjectCodingMethod()

int cSubtitleObject::ObjectCodingMethod ( void )
inline

Definition at line 368 of file dvbsubtitle.c.

References objectCodingMethod.

◆ ObjectId()

int cSubtitleObject::ObjectId ( void )
inline

Definition at line 366 of file dvbsubtitle.c.

References objectId.

Referenced by cSubtitleObject().

◆ ObjectVersionNumber()

int cSubtitleObject::ObjectVersionNumber ( void )
inline

Definition at line 367 of file dvbsubtitle.c.

References objectVersionNumber.

◆ Parse()

◆ ParsePgs()

◆ Render()

Member Data Documentation

◆ botData

uchar* cSubtitleObject::botData
private

Definition at line 351 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), Parse(), Render(), and ~cSubtitleObject().

◆ botLength

int cSubtitleObject::botLength
private

Definition at line 348 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), Parse(), and Render().

◆ lineHeight

int cSubtitleObject::lineHeight
private

Definition at line 353 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), and Render().

◆ nonModifyingColorFlag

bool cSubtitleObject::nonModifyingColorFlag
private

Definition at line 346 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), DrawLine(), NonModifyingColorFlag(), Parse(), and ParsePgs().

◆ objectCodingMethod

int cSubtitleObject::objectCodingMethod
private

Definition at line 345 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), ObjectCodingMethod(), Parse(), ParsePgs(), and Render().

◆ objectId

int cSubtitleObject::objectId
private

Definition at line 343 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), ObjectId(), Parse(), and ParsePgs().

◆ objectVersionNumber

int cSubtitleObject::objectVersionNumber
private

Definition at line 344 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), ObjectVersionNumber(), Parse(), and ParsePgs().

◆ topData

uchar* cSubtitleObject::topData
private

Definition at line 350 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), Parse(), ParsePgs(), Render(), and ~cSubtitleObject().

◆ topIndex

int cSubtitleObject::topIndex
private

Definition at line 349 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), and ParsePgs().

◆ topLength

int cSubtitleObject::topLength
private

Definition at line 347 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), Parse(), ParsePgs(), and Render().

◆ txtData

char* cSubtitleObject::txtData
private

Definition at line 352 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), DecodeCharacterString(), Render(), and ~cSubtitleObject().


The documentation for this class was generated from the following file: