summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
authorAndreas Regel <andreas.regel@powarman.de>2004-07-31 23:55:00 +0200
committerAndreas Regel <andreas.regel@powarman.de>2004-07-31 23:55:00 +0200
commitc024446839241af2fa7d618ce49cc8c1e5693f7f (patch)
tree6fe9beb2336294e030a739c4039911fb3e51d477 /setup.h
parent1df133b2a0565a35c3b07e043bd04b449869a0cb (diff)
downloadvdr-plugin-osdpip-c024446839241af2fa7d618ce49cc8c1e5693f7f.tar.gz
vdr-plugin-osdpip-c024446839241af2fa7d618ce49cc8c1e5693f7f.tar.bz2
Release version 0.0.6v0.0.6
- added channel swapping. It is now possible to swap the currently viewed channel with the pip channel by pressing the red key. (thanks to Sascha Volkenandt) - added support for other aspect ratios than 4:3. Image is now correctly scaled and black border is added when necessary. - added automatic frame dropping that always takes the last frame from the ringbuffer. - added -D_GNU_SOURCE to DEFINES in Makefile - fixed a memory leak: missing deletion of frame ringbuffer - fixed a memory leak: missing frame deletion in case of a full ringbuffer - small speedup through just putting relevant frames to ringbuffer - updated finnish translations (thanks to Rolf Ahrenberg)
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/setup.h b/setup.h
new file mode 100644
index 0000000..0a3dab0
--- /dev/null
+++ b/setup.h
@@ -0,0 +1,61 @@
+/*
+ * OSD Picture in Picture plugin for the Video Disk Recorder
+ *
+ * See the README file for copyright information and how to reach the author.
+ */
+
+#ifndef VDR_OSDPIP_SETUP_H
+#define VDR_OSDPIP_SETUP_H
+
+#include <vdr/plugin.h>
+
+const int kDepthGrey16 = 0;
+const int kDepthGrey256 = 1;
+const int kDepthColor256fix = 2;
+const int kDepthColor128var = 3;
+
+const int kFrameModeI = 0;
+const int kFrameModeIP = 1;
+const int kFrameModeIPB = 2;
+
+const int kInfoTopLeft = 0;
+const int kInfoTopRight = 1;
+const int kInfoBottomLeft = 2;
+const int kInfoBottomRight = 3;
+
+struct cOsdPipSetup {
+ cOsdPipSetup(void);
+
+ bool SetupParse(const char *Name, const char *Value);
+
+ int XPosition;
+ int YPosition;
+ int CropLeft;
+ int CropRight;
+ int CropTop;
+ int CropBottom;
+ int ColorDepth;
+ int Size;
+ int FrameMode;
+ int FrameDrop;
+ int SwapFfmpeg;
+ int ShowInfo;
+ int InfoWidth;
+ int InfoPosition;
+};
+
+extern cOsdPipSetup OsdPipSetup;
+
+class cOsdPipSetupPage: public cMenuSetupPage {
+private:
+ cOsdPipSetup m_NewOsdPipSetup;
+
+protected:
+ virtual void Store(void);
+
+public:
+ cOsdPipSetupPage(void);
+ virtual ~cOsdPipSetupPage();
+};
+
+#endif // VDR_OSDPIP_SETUP_H