vdr
1.7.27
|
#include <dvbspu.h>
Public Member Functions | |
void | setPalette (const uint32_t *pal) |
uint32_t | getColor (uint8_t idx, uint8_t trans) const |
void | setPalette (const uint32_t *pal) |
uint32_t | getColor (uint8_t idx, uint8_t trans) const |
Private Member Functions | |
uint32_t | yuv2rgb (uint32_t yuv_color) |
uint32_t | yuv2rgb (uint32_t yuv_color) |
Private Attributes | |
uint32_t | palette [16] |
uint32_t cDvbSpuPalette::getColor | ( | uint8_t | idx, |
uint8_t | trans | ||
) | const [inline] |
Definition at line 201 of file dvbspu.h.
References palette.
Referenced by cDvbSpuBitmap::getBitmap().
uint32_t cDvbSpuPalette::getColor | ( | uint8_t | idx, |
uint8_t | trans | ||
) | const |
void cDvbSpuPalette::setPalette | ( | const uint32_t * | pal | ) |
void cDvbSpuPalette::setPalette | ( | const uint32_t * | pal | ) |
Definition at line 46 of file dvbspu.c.
References palette, and yuv2rgb().
Referenced by cDvbSpuDecoder::setPalette().
uint32_t cDvbSpuPalette::yuv2rgb | ( | uint32_t | yuv_color | ) | [private] |
uint32_t cDvbSpuPalette::yuv2rgb | ( | uint32_t | yuv_color | ) | [inline, private] |
Definition at line 160 of file dvbspu.h.
Referenced by setPalette().
uint32_t cDvbSpuPalette::palette [private] |
Definition at line 56 of file dvbspu.h.
Referenced by getColor(), and setPalette().