summaryrefslogtreecommitdiffstats
path: root/common/rfb/TightEncoder.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2009-03-11 16:15:29 +0000
committerPierre Ossman <ossman@cendio.se>2009-03-11 16:15:29 +0000
commitc6a445f2ae95c96608705b40a7c15f95d56e1ebf (patch)
tree4f6f5a50b7a0b33e25342e5b3dad26b20e514f15 /common/rfb/TightEncoder.h
parent3d2ccc4b63f8694f0cae87c5f12afb5b4b749084 (diff)
downloadtigervnc-c6a445f2ae95c96608705b40a7c15f95d56e1ebf.tar.gz
tigervnc-c6a445f2ae95c96608705b40a7c15f95d56e1ebf.zip
Tweak the quality to JPEG settings mapping a bit.
The percieved quality isn't really linear compared to the actual quality setting, so make it a bit more top heavy. Also disable color subsampling at some levels and make the highest quality lossless. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3660 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/TightEncoder.h')
-rw-r--r--common/rfb/TightEncoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/TightEncoder.h b/common/rfb/TightEncoder.h
index 97731350..35f2f599 100644
--- a/common/rfb/TightEncoder.h
+++ b/common/rfb/TightEncoder.h
@@ -35,7 +35,7 @@ namespace rfb {
unsigned int monoMinRectSize;
int idxZlibLevel, monoZlibLevel, rawZlibLevel;
int idxMaxColorsDivisor;
- int jpegQuality;
+ int jpegQuality, jpegSubSample;
};
//