summaryrefslogtreecommitdiffstats
path: root/common/rfb/Encoder.h
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2011-08-19 04:57:18 +0000
committerDRC <dcommander@users.sourceforge.net>2011-08-19 04:57:18 +0000
commitb4a8323c25f6440c3051f98439d8246c3e170ce4 (patch)
tree5332faf29b104f1ab5bf5c8eca4b9d8fbd065511 /common/rfb/Encoder.h
parent887c5fd86e052f31a4cd039b5634a16af7c8e780 (diff)
downloadtigervnc-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/Encoder.h')
-rw-r--r--common/rfb/Encoder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/rfb/Encoder.h b/common/rfb/Encoder.h
index 893c0138..da2c5c09 100644
--- a/common/rfb/Encoder.h
+++ b/common/rfb/Encoder.h
@@ -1,4 +1,5 @@
/* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved.
+ * Copyright (C) 2011 D. R. Commander. All Rights Reserved.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -21,6 +22,7 @@
#include <rfb/Rect.h>
#include <rfb/encodings.h>
#include <rfb/TransImageGetter.h>
+#include <rfb/JpegCompressor.h>
namespace rfb {
class SMsgWriter;
@@ -34,6 +36,7 @@ namespace rfb {
virtual void setCompressLevel(int level) {};
virtual void setQualityLevel(int level) {};
+ virtual void setFineQualityLevel(int quality, JPEG_SUBSAMP subsampling) {};
virtual int getNumRects(const Rect &r) { return 1; }
// writeRect() tries to write the given rectangle. If it is unable to