Revision: 4811
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4811&view=rev
Author:   ossman_
Date:     2011-11-20 15:39:17 +0000 (Sun, 20 Nov 2011)
Log Message:
-----------
Increase the default compression level to cater to a broader range of users
(bandwidth is often the limiting factor, rather than CPU). Further increases
give little returns, so 2 is currently deemed the best tradeoff.

Modified Paths:
--------------
    trunk/common/rfb/ConnParams.cxx
    trunk/common/rfb/TightEncoder.cxx
    trunk/vncviewer/parameters.cxx

Modified: trunk/common/rfb/ConnParams.cxx
===================================================================
--- trunk/common/rfb/ConnParams.cxx     2011-11-20 15:37:31 UTC (rev 4810)
+++ trunk/common/rfb/ConnParams.cxx     2011-11-20 15:39:17 UTC (rev 4811)
@@ -35,7 +35,7 @@
     supportsDesktopRename(false), supportsLastRect(false),
     supportsSetDesktopSize(false), supportsFence(false),
     supportsContinuousUpdates(false),
-    customCompressLevel(false), compressLevel(6),
+    customCompressLevel(false), compressLevel(2),
     noJpeg(false), qualityLevel(-1), fineQualityLevel(-1),
     subsampling(SUBSAMP_UNDEFINED),
     name_(0), nEncodings_(0), encodings_(0),

Modified: trunk/common/rfb/TightEncoder.cxx
===================================================================
--- trunk/common/rfb/TightEncoder.cxx   2011-11-20 15:37:31 UTC (rev 4810)
+++ trunk/common/rfb/TightEncoder.cxx   2011-11-20 15:39:17 UTC (rev 4811)
@@ -74,8 +74,9 @@
   { 65536, 2048,  24, 9, 9, 7,  64, 96, 92, SUBSAMP_NONE }, // 8
   { 65536, 2048,  32, 9, 9, 9,  96, 96,100, SUBSAMP_NONE }  // 9
 };
-const int TightEncoder::defaultCompressLevel = 1;
 
+const int TightEncoder::defaultCompressLevel = 2;
+
 //
 // Including BPP-dependent implementation of the encoder.
 //

Modified: trunk/vncviewer/parameters.cxx
===================================================================
--- trunk/vncviewer/parameters.cxx      2011-11-20 15:37:31 UTC (rev 4810)
+++ trunk/vncviewer/parameters.cxx      2011-11-20 15:39:17 UTC (rev 4811)
@@ -56,7 +56,7 @@
                                   "Default if CompressLevel is specified.", 
false);
 IntParameter compressLevel("CompressLevel",
                            "Use specified compression level 0 = Low, 6 = High",
-                           1);
+                           2);
 BoolParameter noJpeg("NoJPEG",
                      "Disable lossy JPEG compression in Tight encoding.",
                      false);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to