cSubtitleObject Class Reference

Inheritance diagram for cSubtitleObject:

Inheritance graph
[legend]
Collaboration diagram for cSubtitleObject:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cSubtitleObject (int ObjectId, cBitmap *Bitmap)
int ObjectId (void)
int Version (void)
int CodingMethod (void)
bool NonModifyingColorFlag (void)
void DecodeSubBlock (const uchar *Data, int Length, bool Even)
void SetVersion (int Version)
void SetBackgroundColor (uchar BackgroundColor)
void SetForegroundColor (uchar ForegroundColor)
void SetNonModifyingColorFlag (bool NonModifyingColorFlag)
void SetCodingMethod (int CodingMethod)
void SetPosition (int x, int y)
void SetProviderFlag (int ProviderFlag)

Private Member Functions

void DrawLine (int x, int y, tIndex Index, int Length)
uchar Get2Bits (const uchar *Data, int &Index)
uchar Get4Bits (const uchar *Data, int &Index)
bool Decode2BppCodeString (const uchar *Data, int &Index, int &x, int y)
bool Decode4BppCodeString (const uchar *Data, int &Index, int &x, int y)
bool Decode8BppCodeString (const uchar *Data, int &Index, int &x, int y)

Private Attributes

int objectId
int version
int codingMethod
bool nonModifyingColorFlag
int nibblePos
uchar backgroundColor
uchar foregroundColor
int providerFlag
int px
int py
cBitmapbitmap


Detailed Description

Definition at line 87 of file dvbsubtitle.c.


Constructor & Destructor Documentation

cSubtitleObject::cSubtitleObject ( int  ObjectId,
cBitmap Bitmap 
)


Member Function Documentation

void cSubtitleObject::DrawLine ( int  x,
int  y,
tIndex  Index,
int  Length 
) [private]

Definition at line 182 of file dvbsubtitle.c.

References bitmap, nonModifyingColorFlag, px, py, and cBitmap::SetIndex().

Referenced by Decode2BppCodeString(), Decode4BppCodeString(), and Decode8BppCodeString().

Here is the call graph for this function:

uchar cSubtitleObject::Get2Bits ( const uchar Data,
int &  Index 
) [private]

Definition at line 192 of file dvbsubtitle.c.

References nibblePos.

Referenced by Decode2BppCodeString().

uchar cSubtitleObject::Get4Bits ( const uchar Data,
int &  Index 
) [private]

Definition at line 203 of file dvbsubtitle.c.

References nibblePos.

Referenced by Decode4BppCodeString().

bool cSubtitleObject::Decode2BppCodeString ( const uchar Data,
int &  Index,
int &  x,
int  y 
) [private]

Definition at line 217 of file dvbsubtitle.c.

References DrawLine(), and Get2Bits().

Referenced by DecodeSubBlock().

Here is the call graph for this function:

bool cSubtitleObject::Decode4BppCodeString ( const uchar Data,
int &  Index,
int &  x,
int  y 
) [private]

Definition at line 258 of file dvbsubtitle.c.

References DrawLine(), and Get4Bits().

Referenced by DecodeSubBlock().

Here is the call graph for this function:

bool cSubtitleObject::Decode8BppCodeString ( const uchar Data,
int &  Index,
int &  x,
int  y 
) [private]

Definition at line 304 of file dvbsubtitle.c.

References DrawLine().

Referenced by DecodeSubBlock().

Here is the call graph for this function:

int cSubtitleObject::ObjectId ( void   )  [inline]

Definition at line 108 of file dvbsubtitle.c.

Referenced by cDvbSubtitleConverter::ExtractSegment().

int cSubtitleObject::Version ( void   )  [inline]

Definition at line 109 of file dvbsubtitle.c.

References cSubtitleClut::version.

Referenced by cDvbSubtitleConverter::ExtractSegment().

int cSubtitleObject::CodingMethod ( void   )  [inline]

Definition at line 110 of file dvbsubtitle.c.

bool cSubtitleObject::NonModifyingColorFlag ( void   )  [inline]

Definition at line 111 of file dvbsubtitle.c.

void cSubtitleObject::DecodeSubBlock ( const uchar Data,
int  Length,
bool  Even 
)

Definition at line 136 of file dvbsubtitle.c.

References dbgobjects, Decode2BppCodeString(), Decode4BppCodeString(), Decode8BppCodeString(), and nibblePos.

Here is the call graph for this function:

void cSubtitleObject::SetVersion ( int  Version  )  [inline]

Definition at line 113 of file dvbsubtitle.c.

References cSubtitleClut::version.

Referenced by cDvbSubtitleConverter::ExtractSegment().

void cSubtitleObject::SetBackgroundColor ( uchar  BackgroundColor  )  [inline]

Definition at line 114 of file dvbsubtitle.c.

void cSubtitleObject::SetForegroundColor ( uchar  ForegroundColor  )  [inline]

Definition at line 115 of file dvbsubtitle.c.

void cSubtitleObject::SetNonModifyingColorFlag ( bool  NonModifyingColorFlag  )  [inline]

Definition at line 116 of file dvbsubtitle.c.

void cSubtitleObject::SetCodingMethod ( int  CodingMethod  )  [inline]

Definition at line 117 of file dvbsubtitle.c.

Referenced by cDvbSubtitleConverter::ExtractSegment().

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

Definition at line 118 of file dvbsubtitle.c.

void cSubtitleObject::SetProviderFlag ( int  ProviderFlag  )  [inline]

Definition at line 119 of file dvbsubtitle.c.


Member Data Documentation

Definition at line 89 of file dvbsubtitle.c.

Referenced by cSubtitleObject().

int cSubtitleObject::version [private]

Definition at line 91 of file dvbsubtitle.c.

Referenced by cSubtitleObject().

Definition at line 92 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), and DrawLine().

Definition at line 93 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), DecodeSubBlock(), Get2Bits(), and Get4Bits().

Definition at line 94 of file dvbsubtitle.c.

Referenced by cSubtitleObject().

Definition at line 95 of file dvbsubtitle.c.

Referenced by cSubtitleObject().

Definition at line 96 of file dvbsubtitle.c.

Referenced by cSubtitleObject().

int cSubtitleObject::px [private]

Definition at line 97 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), and DrawLine().

int cSubtitleObject::py [private]

Definition at line 98 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), and DrawLine().

Definition at line 99 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), and DrawLine().


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

Generated on Tue Nov 4 20:02:26 2008 for VDR by  doxygen 1.5.6