1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Some changes to the SPU decoder interface

This commit is contained in:
Klaus Schmidinger 2004-06-12 12:59:48 +02:00
parent 0e951afc2b
commit c3144c9ab8
4 changed files with 10 additions and 5 deletions

View File

@ -639,6 +639,7 @@ Sven Goethel <sgoethel@jausoft.com>
for making switching audio channels work without stopping/restarting the DMX
for fixing initializing the highlight area in cDvbSpuDecoder
for suggesting to add cDevice::GetSTC()
for making some changes to the SPU decoder interface
Jan Rieger <jan@ricomp.de>
for suggestions and testing raw keyboard input

View File

@ -2904,3 +2904,4 @@ Video Disk Recorder Revision History
- In order to avoid problems on UTF-8 systems, VDR now checks for the presence
of UTF-8 at program start, and if it is, exists and tells the user to turn off
UTF-8 before starting VDR.
- Some changes to the SPU decoder interface (thanks to Sven Goethel).

View File

@ -8,7 +8,7 @@
*
* parts of this file are derived from the OMS program.
*
* $Id: dvbspu.h 1.4 2004/05/31 08:49:20 kls Exp $
* $Id: dvbspu.h 1.5 2004/06/12 12:57:55 kls Exp $
*/
#ifndef __DVBSPU_H
@ -132,9 +132,6 @@ class cDvbSpuDecoder:public cSpuDecoder {
int ScaleYres(int value);
void DrawBmp(sDvbSpuRect & size, cBitmap * bmp);
void Draw();
void Hide();
public:
cDvbSpuDecoder();
~cDvbSpuDecoder();
@ -147,6 +144,9 @@ class cDvbSpuDecoder:public cSpuDecoder {
uint32_t palette);
void clearHighlight(void);
void Empty(void);
void Hide(void);
void Draw(void);
bool IsVisible(void) { return osd != NULL; }
void processSPU(uint32_t pts, uint8_t * buf);
};

5
spu.h
View File

@ -6,7 +6,7 @@
* This code is distributed under the terms and conditions of the
* GNU GENERAL PUBLIC LICENSE. See the file COPYING for details.
*
* $Id: spu.h 1.1 2002/09/08 14:17:51 kls Exp $
* $Id: spu.h 1.2 2004/06/12 12:56:27 kls Exp $
*/
#ifndef __SPU_VDR_H
@ -32,6 +32,9 @@ class cSpuDecoder {
uint32_t palette) = 0;
virtual void clearHighlight(void) = 0;
virtual void Empty(void) = 0;
virtual void Hide(void) = 0;
virtual void Draw(void) = 0;
virtual bool IsVisible(void) = 0;
virtual void processSPU(uint32_t pts, uint8_t * buf) = 0;
};