~nik90/ubuntu/precise/vlc/keywords

« back to all changes in this revision

Viewing changes to modules/video_filter/atmo/FnordlichtConnection.cpp

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2012-02-13 01:34:02 UTC
  • mfrom: (1.1.44)
  • Revision ID: package-import@ubuntu.com-20120213013402-7utx6r7s9dg3r0pf
Tags: 2.0.0~unix-0ubuntu1
* New upstream release (Closes: #499381, #573064, #624027, LP: #455825,
  #573775, #695882, #705151, #708448, #738381, #743581, #747757, #817924,
  #931083).
* Remove dropped mozilla-plugin-vlc, vlc-plugin-ggi, and vlc-plugin-svgalib.
  The Mozilla browser plug-in is now provided by a separate source tarball.
* Add new plugins to and remove dropped plugins from vlc-nox.
* Add new and remove dropped build dependencies:
  + libbluray-dev (for Blu-ray support)
  + libresid-builder-dev
  + libsamplerate0-dev
  + libsidplay2-dev
  + lbspeexdsp-dev
  + libxcb-composite0-dev
  - libgtk2.0-dev
  - xulrunner-dev
* vlc-plugin-fluidsynth depends on fluid-soundfont-gm or
  musescore-soundfont-gm for having a sound font for playing MIDI files.
* Drop all patches (they were either backported or accepted by upstream).
* Update symbols for libvlc5.
* Install plugins.dat instead of running vlc-cache-gen in postinst.
* Update minimum version of build dependencies.
* Change Build-Dependency from libupnp3-dev to unversioned libupnp-dev.
  (Closes: #656831)

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 *  along with this program; if not, write to the Free Software
20
20
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
21
 *
22
 
 * $Id: 4f026e5cd6d338f260b94458b5eb56a43c82402c $
 
22
 * $Id: 73a6ff09311196a8e944641570c13843291109a9 $
23
23
 */
24
24
 
 
25
#ifdef HAVE_CONFIG_H
 
26
# include "config.h"
 
27
#endif
25
28
 
26
29
#include "AtmoDefs.h"
27
30
#include "FnordlichtConnection.h"
81
84
        return ATMO_FALSE;
82
85
    }
83
86
    /* change serial settings (Speed, stopbits etc.) */
84
 
    DCB dcb; // f�r comport-parameter
 
87
    DCB dcb; // für comport-parameter
85
88
    dcb.DCBlength = sizeof(DCB);
86
89
    GetCommState(m_hComport, &dcb); // ger current serialport settings
87
90
    dcb.BaudRate = 19200;       // set speed
143
146
    return (m_hComport != INVALID_HANDLE_VALUE);
144
147
}
145
148
 
146
 
ATMO_BOOL CFnordlichtConnection::HardwareWhiteAdjust(int global_gamma,
147
 
                                           int global_contrast,
148
 
                                           int contrast_red,
149
 
                                           int contrast_green,
150
 
                                           int contrast_blue,
151
 
                                           int gamma_red,
152
 
                                           int gamma_green,
153
 
                                           int gamma_blue,
154
 
                                           ATMO_BOOL storeToEeprom)
155
 
{
156
 
    return ATMO_FALSE; //no hardware adjust required
157
 
}
158
 
 
159
149
/*
160
150
    def fade_rgb(addr, r, g, b, step, delay)
161
151
       $dev.write addr.chr