#include "dvbspu.h"
#include <assert.h>
#include <string.h>
#include <inttypes.h>
#include <math.h>
Go to the source code of this file.
|
static uint8_t | getBits (uint8_t *&data, uint8_t &bitf) |
|
◆ CMD_SPU_CHG_COLCON
#define CMD_SPU_CHG_COLCON 0x07 |
◆ CMD_SPU_EOF
◆ CMD_SPU_HIDE
#define CMD_SPU_HIDE 0x02 |
◆ CMD_SPU_MENU
#define CMD_SPU_MENU 0x00 |
◆ CMD_SPU_SET_ALPHA
#define CMD_SPU_SET_ALPHA 0x04 |
◆ CMD_SPU_SET_PALETTE
#define CMD_SPU_SET_PALETTE 0x03 |
◆ CMD_SPU_SET_PXD_OFFSET
#define CMD_SPU_SET_PXD_OFFSET 0x06 |
◆ CMD_SPU_SET_SIZE
#define CMD_SPU_SET_SIZE 0x05 |
◆ CMD_SPU_SHOW
#define CMD_SPU_SHOW 0x01 |
◆ DEBUG
#define DEBUG |
( |
|
format, |
|
|
|
args... |
|
) |
| void() |
◆ DIV
#define DIV |
( |
|
a, |
|
|
|
b |
|
) |
| (a/b)?:1 |
◆ revRect
#define revRect |
( |
|
r1, |
|
|
|
r2 |
|
) |
| { r1.x1 = r2.x2; r1.y1 = r2.y2; r1.x2 = r2.x1; r1.y2 = r2.y1; } |
◆ setMax
#define setMax |
( |
|
a, |
|
|
|
b |
|
) |
| if (a < b) a = b |
◆ setMin
#define setMin |
( |
|
a, |
|
|
|
b |
|
) |
| if (a > b) a = b |
◆ spuU32
#define spuU32 |
( |
|
i | ) |
((spu[i] << 8) + spu[i+1]) |
◆ spuXres
◆ spuYres
◆ getBits()
static uint8_t getBits |
( |
uint8_t *& |
data, |
|
|
uint8_t & |
bitf |
|
) |
| |
|
static |