Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

dvbspu.c File Reference

#include <assert.h>
#include <string.h>
#include <inttypes.h>
#include <math.h>
#include "osd.h"
#include "osdbase.h"
#include "device.h"
#include "dvbspu.h"

Include dependency graph for dvbspu.c:

Include dependency graph

Go to the source code of this file.

Defines

#define DEBUG(format, args...)
#define setMin(a, b)   if (a > b) a = b
#define setMax(a, b)   if (a < b) a = b
#define spuXres   720
#define spuYres   576
#define revRect(r1, r2)   { r1.x1 = r2.x2; r1.y1 = r2.y2; r1.x2 = r2.x1; r1.y2 = r2.y1; }
#define CMD_SPU_MENU   0x00
#define CMD_SPU_SHOW   0x01
#define CMD_SPU_HIDE   0x02
#define CMD_SPU_SET_PALETTE   0x03
#define CMD_SPU_SET_ALPHA   0x04
#define CMD_SPU_SET_SIZE   0x05
#define CMD_SPU_SET_PXD_OFFSET   0x06
#define CMD_SPU_EOF   0xff
#define spuU32(i)   ((spu[i] << 8) + spu[i+1])

Functions

uint8_t getBits (uint8_t *&data, uint8_t &bitf)


Define Documentation

#define CMD_SPU_EOF   0xff
 

Definition at line 221 of file dvbspu.c.

Referenced by cDvbSpuDecoder::setTime().

#define CMD_SPU_HIDE   0x02
 

Definition at line 216 of file dvbspu.c.

Referenced by cDvbSpuDecoder::setTime().

#define CMD_SPU_MENU   0x00
 

Definition at line 214 of file dvbspu.c.

Referenced by cDvbSpuDecoder::setTime().

#define CMD_SPU_SET_ALPHA   0x04
 

Definition at line 218 of file dvbspu.c.

Referenced by cDvbSpuDecoder::setTime().

#define CMD_SPU_SET_PALETTE   0x03
 

Definition at line 217 of file dvbspu.c.

Referenced by cDvbSpuDecoder::setTime().

#define CMD_SPU_SET_PXD_OFFSET   0x06
 

Definition at line 220 of file dvbspu.c.

Referenced by cDvbSpuDecoder::setTime().

#define CMD_SPU_SET_SIZE   0x05
 

Definition at line 219 of file dvbspu.c.

Referenced by cDvbSpuDecoder::setTime().

#define CMD_SPU_SHOW   0x01
 

Definition at line 215 of file dvbspu.c.

Referenced by cDvbSpuDecoder::setTime().

#define DEBUG format,
args...   
 

Definition at line 45 of file dvbspu.c.

Referenced by cDvbSpuBitmap::getMinSize(), cDvbSpuDecoder::processSPU(), cDvbSpuDecoder::setHighlight(), and cDvbSpuDecoder::setTime().

#define revRect r1,
r2       { r1.x1 = r2.x2; r1.y1 = r2.y2; r1.x2 = r2.x1; r1.y2 = r2.y1; }
 

Definition at line 64 of file dvbspu.c.

Referenced by cDvbSpuBitmap::cDvbSpuBitmap().

#define setMax a,
     if (a < b) a = b
 

Definition at line 59 of file dvbspu.c.

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

#define setMin a,
     if (a > b) a = b
 

Definition at line 58 of file dvbspu.c.

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

#define spuU32      ((spu[i] << 8) + spu[i+1])
 

Definition at line 223 of file dvbspu.c.

Referenced by cDvbSpuDecoder::setTime().

#define spuXres   720
 

Definition at line 61 of file dvbspu.c.

Referenced by cDvbSpuBitmap::cDvbSpuBitmap(), and cDvbSpuBitmap::getBitmap().

#define spuYres   576
 

Definition at line 62 of file dvbspu.c.

Referenced by cDvbSpuBitmap::cDvbSpuBitmap(), and cDvbSpuBitmap::getBitmap().


Function Documentation

uint8_t getBits uint8_t *&    data,
uint8_t &    bitf
[static]
 

Definition at line 161 of file dvbspu.c.

Referenced by cDvbSpuBitmap::putFieldData().


Generated on Wed Feb 5 23:30:23 2003 for VDR by doxygen1.3-rc2