vdr  1.7.27
Public Member Functions | Private Member Functions | Private Attributes
cSubtitleObject Class Reference

List of all members.

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)

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 156 of file dvbsubtitle.c.


Constructor & Destructor Documentation

cSubtitleObject::cSubtitleObject ( int  ObjectId,
cBitmap Bitmap 
)

Member Function Documentation

Definition at line 178 of file dvbsubtitle.c.

References backgroundPixelCode.

Referenced by SetBackgroundPixelCode().

int cSubtitleObject::CodingMethod ( void  ) [inline]

Definition at line 177 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 312 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 352 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 397 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]

Definition at line 179 of file dvbsubtitle.c.

References foregroundPixelCode.

Referenced by SetForegroundPixelCode().

bool cSubtitleObject::NonModifyingColorFlag ( void  ) [inline]

Definition at line 183 of file dvbsubtitle.c.

References nonModifyingColorFlag.

Referenced by SetNonModifyingColorFlag().

int cSubtitleObject::ObjectId ( void  ) [inline]

Definition at line 175 of file dvbsubtitle.c.

References objectId.

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

void cSubtitleObject::SetBackgroundPixelCode ( uchar  BackgroundPixelCode) [inline]

Definition at line 187 of file dvbsubtitle.c.

References backgroundPixelCode, and BackgroundPixelCode().

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

Definition at line 190 of file dvbsubtitle.c.

References codingMethod, and CodingMethod().

void cSubtitleObject::SetForegroundPixelCode ( uchar  ForegroundPixelCode) [inline]

Definition at line 188 of file dvbsubtitle.c.

References foregroundPixelCode, and ForegroundPixelCode().

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

Definition at line 189 of file dvbsubtitle.c.

References nonModifyingColorFlag, and NonModifyingColorFlag().

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

Definition at line 191 of file dvbsubtitle.c.

References px, and py.

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

Definition at line 192 of file dvbsubtitle.c.

References providerFlag.

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

Definition at line 186 of file dvbsubtitle.c.

References version, and Version().

const char* cSubtitleObject::TextData ( void  ) [inline]

Definition at line 180 of file dvbsubtitle.c.

References textData.

int cSubtitleObject::Version ( void  ) [inline]

Definition at line 176 of file dvbsubtitle.c.

References version.

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

int cSubtitleObject::X ( void  ) [inline]

Definition at line 181 of file dvbsubtitle.c.

References px.

int cSubtitleObject::Y ( void  ) [inline]

Definition at line 182 of file dvbsubtitle.c.

References py.


Member Data Documentation

Definition at line 162 of file dvbsubtitle.c.

Referenced by BackgroundPixelCode(), cSubtitleObject(), and SetBackgroundPixelCode().

Definition at line 167 of file dvbsubtitle.c.

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

Definition at line 160 of file dvbsubtitle.c.

Referenced by CodingMethod(), cSubtitleObject(), and SetCodingMethod().

Definition at line 163 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), ForegroundPixelCode(), and SetForegroundPixelCode().

Definition at line 158 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), and ObjectId().

Definition at line 164 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), and SetProviderFlag().

int cSubtitleObject::px [private]

Definition at line 165 of file dvbsubtitle.c.

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

int cSubtitleObject::py [private]

Definition at line 166 of file dvbsubtitle.c.

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

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

Definition at line 168 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), DecodeCharacterString(), and TextData().

int cSubtitleObject::version [private]

Definition at line 159 of file dvbsubtitle.c.

Referenced by cSubtitleObject(), SetVersion(), and Version().


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