From cac6362d2207752926f9339c1c547d60d5c2a6a0 Mon Sep 17 00:00:00 2001 From: Andreas Regel Date: Sun, 27 Apr 2008 18:44:00 +0200 Subject: Release version 0.0.9 - dropped support for VDR version lower than 1.3.47. - Now using palette replacemen introduced in VDR 1.4.27, so palette setting workaround is not needed any longer. This simplifies code a bit. - added support for VDR 1.6. Now 1.4 and 1.6 are supported (tested with 1.4.7 and 1.6.0) - added gettext localization support introduced with VDR 1.5.7. - Do not decode B frames when dropping them. - Use cCondWait::SleepMs instead of usleep. - Fixed automatic closing of OSD after some minutes. - Fixed showing wrong channel information. - Added missing inclusion of . - Added new colour reduction mode using 256 dithered colours (thanks to Martin Wache). - Added french translations (thanks to micky979) --- osd.h | 55 +++++++++++++++++++++++++++---------------------------- 1 file changed, 27 insertions(+), 28 deletions(-) (limited to 'osd.h') diff --git a/osd.h b/osd.h index 6bf7427..48f2312 100644 --- a/osd.h +++ b/osd.h @@ -23,43 +23,42 @@ class cQuantize; class cOsdPipObject: public cOsdObject, public cThread, public cStatus { private: - cOsd *m_Osd; - cRingBufferFrame *m_ESBuffer; - cOsdPipReceiver *m_Receiver; - const cChannel *m_Channel; - cBitmap * m_Bitmap; - cOsdInfoWindow * m_InfoWindow; + cOsd *m_Osd; + cRingBufferFrame *m_ESBuffer; + cOsdPipReceiver *m_Receiver; + const cChannel *m_Channel; + cBitmap * m_Bitmap; + cOsdInfoWindow * m_InfoWindow; - bool m_Active; - bool m_Ready; - bool m_Reset; - bool m_MoveMode; - int m_Width, m_Height; - int m_FrameDrop; + bool m_Active; + bool m_Ready; + bool m_Reset; + bool m_MoveMode; + int m_Width, m_Height; + int m_FrameDrop; - unsigned int m_AlphaBase; - unsigned int m_Palette[256]; - int m_PaletteStart; + unsigned int m_AlphaBase; + unsigned int m_Palette[256]; + int m_PaletteStart; - cDecoder decoder; - cQuantize * quantizer; + cDecoder decoder; + cQuantize * quantizer; - void ProcessImage(unsigned char * data, int length); + void ProcessImage(unsigned char * data, int length); - void Stop(void); - void SwapChannels(void); + void Stop(void); + void SwapChannels(void); protected: - virtual void Action(void); - virtual void ChannelSwitch(const cDevice * device, int channelNumber); - virtual void OsdClear(void); - virtual void OsdStatusMessage(const char * message); + virtual void Action(void); + virtual void ChannelSwitch(const cDevice * device, int channelNumber); + virtual void OsdStatusMessage(const char * message); public: - cOsdPipObject(cDevice *Device, const cChannel *Channel); - virtual ~cOsdPipObject(void); + cOsdPipObject(cDevice *Device, const cChannel *Channel); + virtual ~cOsdPipObject(void); - virtual void Show(void); - eOSState ProcessKey(eKeys k); + virtual void Show(void); + eOSState ProcessKey(eKeys k); }; #endif // VDR_OSDPIP_OSD_H -- cgit v1.2.3