|
vdr
2.2.0
|
#include <dvbspu.h>
Public Member Functions | |
| cDvbSpuDecoder () | |
| ~cDvbSpuDecoder () | |
| int | setTime (uint32_t pts) |
| cSpuDecoder::eScaleMode | getScaleMode (void) |
| void | setScaleMode (cSpuDecoder::eScaleMode ScaleMode) |
| void | setPalette (uint32_t *pal) |
| void | setHighlight (uint16_t sx, uint16_t sy, uint16_t ex, uint16_t ey, uint32_t palette) |
| void | clearHighlight (void) |
| void | Empty (void) |
| void | Hide (void) |
| void | Draw (void) |
| bool | IsVisible (void) |
| void | processSPU (uint32_t pts, uint8_t *buf, bool AllowedShow) |
Public Member Functions inherited from cSpuDecoder | |
| virtual | ~cSpuDecoder () |
Private Types | |
| enum | spFlag { spNONE, spHIDE, spSHOW, spMENU } |
Private Member Functions | |
| int | cmdOffs (void) |
| int | spuSize (void) |
| void | SetSpuScaling (void) |
| sDvbSpuRect | CalcAreaSize (sDvbSpuRect fgsize, cBitmap *fgbmp, sDvbSpuRect bgsize, cBitmap *bgbmp) |
| int | CalcAreaBpp (cBitmap *fgbmp, cBitmap *bgbmp) |
Private Attributes | |
| cOsd * | osd |
| cMutex | mutex |
| uint8_t * | spu |
| uint32_t | spupts |
| bool | clean |
| bool | restricted_osd |
| spFlag | state |
| cSpuDecoder::eScaleMode | scaleMode |
| double | xscaling |
| double | yscaling |
| bool | highlight |
| sDvbSpuRect | hlpsize |
| aDvbSpuPalDescr | hlpDescr |
| cDvbSpuPalette | palette |
| sDvbSpuRect | size |
| aDvbSpuPalDescr | palDescr |
| uint16_t | DCSQ_offset |
| uint16_t | prev_DCSQ_offset |
| cDvbSpuBitmap * | spubmp |
| bool | allowedShow |
Additional Inherited Members | |
Public Types inherited from cSpuDecoder | |
| enum | eScaleMode { eSpuNormal, eSpuLetterBox, eSpuPanAndScan } |
|
private |
|
private |
Definition at line 344 of file dvbspu.c.
References max(), min(), sDvbSpuRect::x1, sDvbSpuRect::x2, sDvbSpuRect::y1, and sDvbSpuRect::y2.
|
virtual |
Implements cSpuDecoder.
|
virtual |
Implements cSpuDecoder.
Definition at line 402 of file dvbspu.c.
References DEBUG, DIV, dsyslog, cBitmap::Height(), cOsdProvider::NewOsd(), oeOk, cDvbSpuPalette::palette, cBitmap::Scaled(), setMax, setMin, cBitmap::Width(), tArea::Width(), sDvbSpuRect::x1, sDvbSpuRect::x2, tArea::x2, sDvbSpuRect::y1, and sDvbSpuRect::y2.
|
virtual |
Implements cSpuDecoder.
|
inlinevirtual |
Implements cSpuDecoder.
|
virtual |
Implements cSpuDecoder.
|
inlinevirtual |
Implements cSpuDecoder.
|
virtual |
|
virtual |
Implements cSpuDecoder.
Definition at line 306 of file dvbspu.c.
References DEBUG, and sDvbSpuPalDescr::index.
|
virtual |
Implements cSpuDecoder.
Definition at line 301 of file dvbspu.c.
References cDvbSpuPalette::palette.
|
virtual |
Implements cSpuDecoder.
|
private |
Definition at line 249 of file dvbspu.c.
References DEBUG, cDevice::GetOsdSize(), cSetup::OSDHeight, cSetup::OSDWidth, cDevice::PrimaryDevice(), Setup, spuXres, and spuYres.
|
virtual |
Implements cSpuDecoder.
Definition at line 547 of file dvbspu.c.
References CMD_SPU_CHG_COLCON, CMD_SPU_EOF, CMD_SPU_HIDE, CMD_SPU_MENU, CMD_SPU_SET_ALPHA, CMD_SPU_SET_PALETTE, CMD_SPU_SET_PXD_OFFSET, CMD_SPU_SET_SIZE, CMD_SPU_SHOW, DEBUG, esyslog, and spuU32.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.11