cDvbSpuBitmap Class Reference

#include <dvbspu.h>

Collaboration diagram for cDvbSpuBitmap:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cDvbSpuBitmap (sDvbSpuRect size, uint8_t *fodd, uint8_t *eodd, uint8_t *feven, uint8_t *eeven)
 ~cDvbSpuBitmap ()
bool getMinSize (const aDvbSpuPalDescr paldescr, sDvbSpuRect &size) const
cBitmapgetBitmap (const aDvbSpuPalDescr paldescr, const cDvbSpuPalette &pal, sDvbSpuRect &size) const

Private Member Functions

void putPixel (int xp, int yp, int len, uint8_t colorid)
void putFieldData (int field, uint8_t *data, uint8_t *endp)

Private Attributes

sDvbSpuRect bmpsize
sDvbSpuRect minsize [4]
uint8_t * bmp


Detailed Description

Definition at line 65 of file dvbspu.h.


Constructor & Destructor Documentation

cDvbSpuBitmap::cDvbSpuBitmap ( sDvbSpuRect  size,
uint8_t *  fodd,
uint8_t *  eodd,
uint8_t *  feven,
uint8_t *  eeven 
)

Definition at line 63 of file dvbspu.c.

References bmp, bmpsize, minsize, putFieldData(), revRect, spuXres, spuYres, sDvbSpuRect::x1, sDvbSpuRect::x2, sDvbSpuRect::y1, and sDvbSpuRect::y2.

Here is the call graph for this function:

cDvbSpuBitmap::~cDvbSpuBitmap (  ) 

Definition at line 85 of file dvbspu.c.

References bmp.


Member Function Documentation

void cDvbSpuBitmap::putPixel ( int  xp,
int  yp,
int  len,
uint8_t  colorid 
) [private]

Definition at line 151 of file dvbspu.c.

References bmp, minsize, setMax, setMin, and spuXres.

Referenced by putFieldData().

void cDvbSpuBitmap::putFieldData ( int  field,
uint8_t *  data,
uint8_t *  endp 
) [private]

Definition at line 172 of file dvbspu.c.

References bmpsize, getBits(), putPixel(), sDvbSpuRect::x1, sDvbSpuRect::x2, sDvbSpuRect::y1, and sDvbSpuRect::y2.

Referenced by cDvbSpuBitmap().

Here is the call graph for this function:

bool cDvbSpuBitmap::getMinSize ( const aDvbSpuPalDescr  paldescr,
sDvbSpuRect size 
) const

Definition at line 125 of file dvbspu.c.

References DEBUG, minsize, setMax, setMin, sDvbSpuRect::x1, sDvbSpuRect::x2, sDvbSpuRect::y1, and sDvbSpuRect::y2.

Referenced by cDvbSpuDecoder::Draw().

cBitmap * cDvbSpuBitmap::getBitmap ( const aDvbSpuPalDescr  paldescr,
const cDvbSpuPalette pal,
sDvbSpuRect size 
) const

Definition at line 90 of file dvbspu.c.

References bmp, cDvbSpuPalette::getColor(), sDvbSpuRect::height(), cPalette::SetColor(), cBitmap::SetIndex(), spuXres, spuYres, sDvbSpuRect::width(), sDvbSpuRect::x1, and sDvbSpuRect::y1.

Referenced by cDvbSpuDecoder::Draw().

Here is the call graph for this function:


Member Data Documentation

Definition at line 69 of file dvbspu.h.

Referenced by cDvbSpuBitmap(), and putFieldData().

Definition at line 70 of file dvbspu.h.

Referenced by cDvbSpuBitmap(), getMinSize(), and putPixel().

uint8_t* cDvbSpuBitmap::bmp [private]

Definition at line 71 of file dvbspu.h.

Referenced by cDvbSpuBitmap(), getBitmap(), putPixel(), and ~cDvbSpuBitmap().


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

Generated on Tue Jan 13 14:28:39 2009 for VDR by  doxygen 1.5.6