summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-02-20 12:01:05 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-02-20 12:01:05 +0100
commit51f41252cf70ab0364a411648ed0aa2015e40162 (patch)
tree81e4ad59e2d6b1d948e0f3b716b7a7194e050a4f /device.h
parentf038aaefc84aa0695102dca7c30537b20fd2fa21 (diff)
downloadvdr-51f41252cf70ab0364a411648ed0aa2015e40162.tar.gz
vdr-51f41252cf70ab0364a411648ed0aa2015e40162.tar.bz2
Added support for setting the video display mode
Diffstat (limited to 'device.h')
-rw-r--r--device.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/device.h b/device.h
index 80587992..1e747028 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 1.55 2005/02/06 11:43:04 kls Exp $
+ * $Id: device.h 1.56 2005/02/20 11:30:11 kls Exp $
*/
#ifndef __DEVICE_H
@@ -18,6 +18,7 @@
#include "ringbuffer.h"
#include "sdt.h"
#include "sections.h"
+#include "spu.h"
#include "thread.h"
#include "tools.h"
@@ -56,6 +57,11 @@ enum eVideoSystem { vsPAL,
vsNTSC
};
+enum eVideoDisplayFormat { vdfPanAndScan,
+ vdfLetterBox,
+ vdfCenterCutOut
+ };
+
enum eTrackType { ttNone,
ttAudio,
ttAudioFirst = ttAudio,
@@ -83,7 +89,6 @@ struct tTrackId {
class cChannel;
class cPlayer;
class cReceiver;
-class cSpuDecoder;
class cPesAssembler;
/// The cDevice class is the base from which actual devices can be derived.
@@ -301,6 +306,10 @@ public:
// Video format facilities
public:
+ virtual void SetVideoDisplayFormat(eVideoDisplayFormat VideoDisplayFormat);
+ ///< Sets the video display format to the given one (only useful
+ ///< if this device has an MPEG decoder).
+ ///< A derived class must first call the base class function!
virtual void SetVideoFormat(bool VideoFormat16_9);
///< Sets the output video format to either 16:9 or 4:3 (only useful
///< if this device has an MPEG decoder).