diff options
author | horchi <vdr@jwendel.de> | 2012-11-29 07:05:54 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2012-11-29 07:05:54 +0100 |
commit | 3a2a85db5e18c027c84ec6a40dfe0babfa9dae98 (patch) | |
tree | eac9664f899ad56de9cfef6c73edcefed09d4f96 /seduthread.h | |
parent | 6f0d9df3807c95e2c10549a0c578d5c1a6d2fa91 (diff) | |
download | vdr-plugin-seduatmo-3a2a85db5e18c027c84ec6a40dfe0babfa9dae98.tar.gz vdr-plugin-seduatmo-3a2a85db5e18c027c84ec6a40dfe0babfa9dae98.tar.bz2 |
added rainbow fader
Diffstat (limited to 'seduthread.h')
-rw-r--r-- | seduthread.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/seduthread.h b/seduthread.h index 038a2ec..38ca6cc 100644 --- a/seduthread.h +++ b/seduthread.h @@ -1,3 +1,10 @@ +/* + * seduthread.h: A plugin for the Video Disk Recorder + * + * See the README file for copyright information and how to reach the author. + * + * $Id: seduthread.h,v 1.64 2012/11/28 06:29:24 wendel Exp $ + */ #include <termios.h> #include <queue> @@ -23,8 +30,8 @@ class PixQueue { public: - PixQueue() { clear(); } - virtual ~PixQueue() { clear(); } + PixQueue() { clear(); } + virtual ~PixQueue() { clear(); } void clear() { while (!pQueue.empty()) pQueue.pop(); r=g=b=0; } int getCount() { return pQueue.size(); } @@ -191,4 +198,7 @@ class cSeduThread : public cThread, public cSeduService int imageSize; int imageWidth; int imageHeight; + + Pixel getRainbowColor(); + Pixel hsv2Rgb(int h, double s, double v); }; |