diff options
author | DRC <dcommander@users.sourceforge.net> | 2011-08-19 04:57:18 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2011-08-19 04:57:18 +0000 |
commit | b4a8323c25f6440c3051f98439d8246c3e170ce4 (patch) | |
tree | 5332faf29b104f1ab5bf5c8eca4b9d8fbd065511 /common/rfb/JpegCompressor.h | |
parent | 887c5fd86e052f31a4cd039b5634a16af7c8e780 (diff) | |
download | tigervnc-b4a8323c25f6440c3051f98439d8246c3e170ce4.tar.gz tigervnc-b4a8323c25f6440c3051f98439d8246c3e170ce4.zip |
Add support for TurboVNC pseudo-encodings and Grayscale JPEG compression so that, when a TurboVNC viewer is connected, the TigerVNC Server will behave exactly like the TurboVNC Server.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4641 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/JpegCompressor.h')
-rw-r--r-- | common/rfb/JpegCompressor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/rfb/JpegCompressor.h b/common/rfb/JpegCompressor.h index 6860b415..668c9a00 100644 --- a/common/rfb/JpegCompressor.h +++ b/common/rfb/JpegCompressor.h @@ -51,9 +51,11 @@ namespace rfb { } JPEG_DEST_MGR; enum JPEG_SUBSAMP { - SUBSAMP_NONE, + SUBSAMP_UNDEFINED = -1, + SUBSAMP_NONE = 0, + SUBSAMP_420, SUBSAMP_422, - SUBSAMP_420 + SUBSAMP_GRAY }; class JpegCompressor : public rdr::MemOutStream { |