vdr  2.0.6
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cSubtitleObject Class Reference
Collaboration diagram for cSubtitleObject:
[legend]

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)
 
- 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 (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
 
cBitmapbitmap
 
char textData [Utf8BufSize(256)]
 

Detailed Description

Definition at line 155 of file dvbsubtitle.c.

Constructor & Destructor Documentation

cSubtitleObject::cSubtitleObject ( int  ObjectId,
cBitmap Bitmap 
)

Member Function Documentation

uchar cSubtitleObject::BackgroundPixelCode ( void  )
inline

Definition at line 177 of file dvbsubtitle.c.

References backgroundPixelCode.

Referenced by SetBackgroundPixelCode().

int cSubtitleObject::CodingMethod ( void  )
inline

Definition at line 176 of file dvbsubtitle.c.

References codingMethod.

Referenced by SetCodingMethod().

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

Definition at line 311 of file dvbsubtitle.c.

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

Referenced by DecodeSubBlock().

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

Definition at line 351 of file dvbsubtitle.c.

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

Referenced by DecodeSubBlock().

bool cSubtitleObject::Decode8BppCodeString ( cBitStream bs,
int &  x,
int  y 
)
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 
)
void cSubtitleObject::DecodeSubBlock ( const uchar Data,
int  Length,
bool  Even 
)
void cSubtitleObject::DrawLine ( int  x,
int  y,
tIndex  Index,
int  Length 
)
private
uchar cSubtitleObject::ForegroundPixelCode ( void  )
inline

Definition at line 178 of file dvbsubtitle.c.

References foregroundPixelCode.

Referenced by SetForegroundPixelCode().

bool cSubtitleObject::NonModifyingColorFlag ( void  )
inline

Definition at line 182 of file dvbsubtitle.c.

References nonModifyingColorFlag.

Referenced by SetNonModifyingColorFlag().

int cSubtitleObject::ObjectId ( void  )
inline

Definition at line 174 of file dvbsubtitle.c.

References objectId.

Referenced by cSubtitleObject(), and cDvbSubtitleConverter::ExtractSegment().

void cSubtitleObject::SetBackgroundPixelCode ( uchar  BackgroundPixelCode)
inline

Definition at line 186 of file dvbsubtitle.c.

References BackgroundPixelCode().

void cSubtitleObject::SetCodingMethod ( int  CodingMethod)
inline

Definition at line 189 of file dvbsubtitle.c.

References CodingMethod().

void cSubtitleObject::SetForegroundPixelCode ( uchar  ForegroundPixelCode)
inline

Definition at line 187 of file dvbsubtitle.c.

References ForegroundPixelCode().

void cSubtitleObject::SetNonModifyingColorFlag ( bool  NonModifyingColorFlag)
inline

Definition at line 188 of file dvbsubtitle.c.

References NonModifyingColorFlag().

void cSubtitleObject::SetPosition ( int  x,
int  y 
)
inline

Definition at line 190 of file dvbsubtitle.c.

void cSubtitleObject::SetProviderFlag ( int  ProviderFlag)
inline

Definition at line 191 of file dvbsubtitle.c.

void cSubtitleObject::SetVersion ( int  Version)
inline

Definition at line 185 of file dvbsubtitle.c.

References Version().

const char* cSubtitleObject::TextData ( void  )
inline

Definition at line 179 of file dvbsubtitle.c.

int cSubtitleObject::Version ( void  )
inline

Definition at line 175 of file dvbsubtitle.c.

References version.

Referenced by cDvbSubtitleConverter::ExtractSegment(), and SetVersion().

int cSubtitleObject::X ( void  )
inline

Definition at line 180 of file dvbsubtitle.c.

References px.

int cSubtitleObject::Y ( void  )
inline

Definition at line 181 of file dvbsubtitle.c.

References py.

Member Data Documentation

uchar cSubtitleObject::backgroundPixelCode
private

Definition at line 161 of file dvbsubtitle.c.

Referenced by BackgroundPixelCode(), and cSubtitleObject().

cBitmap* cSubtitleObject::bitmap
private

Definition at line 166 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), DecodeSubBlock(), and DrawLine().

int cSubtitleObject::codingMethod
private

Definition at line 159 of file dvbsubtitle.c.

Referenced by CodingMethod(), and cSubtitleObject().

uchar cSubtitleObject::foregroundPixelCode
private

Definition at line 162 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), and ForegroundPixelCode().

bool cSubtitleObject::nonModifyingColorFlag
private

Definition at line 160 of file dvbsubtitle.c.

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

int cSubtitleObject::objectId
private

Definition at line 157 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), and ObjectId().

int cSubtitleObject::providerFlag
private

Definition at line 163 of file dvbsubtitle.c.

Referenced by cSubtitleObject().

int cSubtitleObject::px
private

Definition at line 164 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), DrawLine(), and X().

int cSubtitleObject::py
private

Definition at line 165 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), DrawLine(), and Y().

char cSubtitleObject::textData[Utf8BufSize(256)]
private

Definition at line 167 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), and DecodeCharacterString().

int cSubtitleObject::version
private

Definition at line 158 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), and Version().


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