vdr
2.2.0
|
Go to the source code of this file.
Macros | |
#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_CHG_COLCON 0x07 |
#define | CMD_SPU_EOF 0xff |
#define | spuU32(i) ((spu[i] << 8) + spu[i+1]) |
#define | DIV(a, b) (a/b)?:1 |
Functions | |
static uint8_t | getBits (uint8_t *&data, uint8_t &bitf) |
#define CMD_SPU_CHG_COLCON 0x07 |
Definition at line 225 of file dvbspu.c.
Referenced by cDvbSpuDecoder::setTime().
#define CMD_SPU_EOF 0xff |
Definition at line 226 of file dvbspu.c.
Referenced by cDvbSpuDecoder::setTime().
#define CMD_SPU_HIDE 0x02 |
Definition at line 220 of file dvbspu.c.
Referenced by cDvbSpuDecoder::setTime().
#define CMD_SPU_MENU 0x00 |
Definition at line 218 of file dvbspu.c.
Referenced by cDvbSpuDecoder::setTime().
#define CMD_SPU_SET_ALPHA 0x04 |
Definition at line 222 of file dvbspu.c.
Referenced by cDvbSpuDecoder::setTime().
#define CMD_SPU_SET_PALETTE 0x03 |
Definition at line 221 of file dvbspu.c.
Referenced by cDvbSpuDecoder::setTime().
#define CMD_SPU_SET_PXD_OFFSET 0x06 |
Definition at line 224 of file dvbspu.c.
Referenced by cDvbSpuDecoder::setTime().
#define CMD_SPU_SET_SIZE 0x05 |
Definition at line 223 of file dvbspu.c.
Referenced by cDvbSpuDecoder::setTime().
#define CMD_SPU_SHOW 0x01 |
Definition at line 219 of file dvbspu.c.
Referenced by cDvbSpuDecoder::setTime().
#define DEBUG | ( | format, | |
args... | |||
) |
Definition at line 41 of file dvbspu.c.
Referenced by cDvbSpuDecoder::Draw(), cDvbSpuBitmap::getMinSize(), cDvbSpuDecoder::processSPU(), cDvbSpuDecoder::setHighlight(), cDvbSpuDecoder::SetSpuScaling(), and cDvbSpuDecoder::setTime().
#define DIV | ( | a, | |
b | |||
) | (a/b)?:1 |
Referenced by cDvbSpuDecoder::Draw().
#define revRect | ( | r1, | |
r2 | |||
) | { r1.x1 = r2.x2; r1.y1 = r2.y2; r1.x2 = r2.x1; r1.y2 = r2.y1; } |
Definition at line 61 of file dvbspu.c.
Referenced by cDvbSpuBitmap::cDvbSpuBitmap().
#define setMax | ( | a, | |
b | |||
) | if (a < b) a = b |
Definition at line 55 of file dvbspu.c.
Referenced by cDvbSpuDecoder::Draw(), cDvbSpuBitmap::getMinSize(), and cDvbSpuBitmap::putPixel().
#define setMin | ( | a, | |
b | |||
) | if (a > b) a = b |
Definition at line 54 of file dvbspu.c.
Referenced by cDvbSpuDecoder::Draw(), cDvbSpuBitmap::getMinSize(), and cDvbSpuBitmap::putPixel().
#define spuU32 | ( | i | ) | ((spu[i] << 8) + spu[i+1]) |
Definition at line 228 of file dvbspu.c.
Referenced by cDvbSpuDecoder::setTime().
#define spuXres 720 |
Definition at line 58 of file dvbspu.c.
Referenced by cDvbSpuBitmap::cDvbSpuBitmap(), cDvbSpuBitmap::getBitmap(), cDvbSpuBitmap::putPixel(), and cDvbSpuDecoder::SetSpuScaling().
#define spuYres 576 |
Definition at line 59 of file dvbspu.c.
Referenced by cDvbSpuBitmap::cDvbSpuBitmap(), cDvbSpuBitmap::getBitmap(), and cDvbSpuDecoder::SetSpuScaling().
|
static |
Definition at line 165 of file dvbspu.c.
Referenced by cDvbSpuBitmap::putFieldData().