summaryrefslogtreecommitdiff
path: root/dvbsubtitle.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-03-12 16:08:08 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2011-03-12 16:08:08 +0100
commit2bd17596a045fd77a5b0cf757d9a954c0f23d1f7 (patch)
treeda6bc587d47a7f5c38d6001c410587fb203001ff /dvbsubtitle.h
parent11cca8015c0c1b66a9a4bb9255ab0b1183cca529 (diff)
downloadvdr-2bd17596a045fd77a5b0cf757d9a954c0f23d1f7.tar.gz
vdr-2bd17596a045fd77a5b0cf757d9a954c0f23d1f7.tar.bz2
The original display size of subtitles is now used to scale them properly when displaying them on an HD OSD1.7.17
Diffstat (limited to 'dvbsubtitle.h')
-rw-r--r--dvbsubtitle.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/dvbsubtitle.h b/dvbsubtitle.h
index 69572b49..6e717659 100644
--- a/dvbsubtitle.h
+++ b/dvbsubtitle.h
@@ -6,7 +6,7 @@
*
* Original author: Marco Schlüßler <marco@lordzodiac.de>
*
- * $Id: dvbsubtitle.h 2.4 2011/03/12 13:07:59 kls Exp $
+ * $Id: dvbsubtitle.h 2.5 2011/03/12 14:03:42 kls Exp $
*/
#ifndef __DVBSUBTITLE_H
@@ -33,9 +33,13 @@ private:
int windowVerticalOffset;
int windowWidth;
int windowHeight;
+ int osdDeltaX;
+ int osdDeltaY;
+ double osdFactor;
cList<cDvbSubtitlePage> *pages;
cList<cDvbSubtitleBitmaps> *bitmaps;
tColor yuv2rgb(int Y, int Cb, int Cr);
+ void SetOsdData(void);
bool AssertOsd(void);
int ExtractSegment(const uchar *Data, int Length, int64_t Pts);
void FinishPage(cDvbSubtitlePage *Page);