summaryrefslogtreecommitdiff
path: root/dvbspu.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-05-09 16:41:59 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-05-09 16:41:59 +0200
commit74646c048722be45ba4c5becec8765540fe940e8 (patch)
tree709b6807860b3d6fb32f9f2b220a055f573f19ab /dvbspu.h
parentbf543736b630a67123aad71998ca354de3a7cfeb (diff)
downloadvdr-74646c048722be45ba4c5becec8765540fe940e8.tar.gz
vdr-74646c048722be45ba4c5becec8765540fe940e8.tar.bz2
Removed limitation to PAL resolution from SPU handling
Diffstat (limited to 'dvbspu.h')
-rw-r--r--dvbspu.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/dvbspu.h b/dvbspu.h
index bc69b51c..685681be 100644
--- a/dvbspu.h
+++ b/dvbspu.h
@@ -8,7 +8,7 @@
*
* parts of this file are derived from the OMS program.
*
- * $Id: dvbspu.h 1.12 2006/04/17 11:00:00 kls Exp $
+ * $Id: dvbspu.h 2.1 2009/05/09 16:26:45 kls Exp $
*/
#ifndef __DVBSPU_H
@@ -32,10 +32,10 @@ typedef struct sDvbSpuRect {
int x1, y1;
int x2, y2;
- int width() {
+ int width() const {
return x2 - x1 + 1;
};
- int height() {
+ int height() const {
return y2 - y1 + 1;
};
@@ -63,8 +63,6 @@ class cDvbSpuPalette {
// --- cDvbSpuBitmap----------------------------------------------------------
class cDvbSpuBitmap {
-
- public:
private:
sDvbSpuRect bmpsize;
sDvbSpuRect minsize[4];