summaryrefslogtreecommitdiffstats
path: root/rfb/rfb.h
diff options
context:
space:
mode:
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r--rfb/rfb.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index 91dea83..3f0dbc0 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -673,9 +673,10 @@ typedef struct _rfbClientRec {
int afterEncBufLen;
#if defined(LIBVNCSERVER_HAVE_LIBZ) || defined(LIBVNCSERVER_HAVE_LIBPNG)
uint32_t tightEncoding; /* rfbEncodingTight or rfbEncodingTightPng */
-#ifdef LIBVNCSERVER_HAVE_TURBOVNC
+#ifdef LIBVNCSERVER_HAVE_LIBJPEG
/* TurboVNC Encoding support (extends TightVNC) */
- int tightSubsampLevel;
+ int turboSubsampLevel;
+ int turboQualityLevel; // 1-100 scale
#endif
#endif
@@ -875,8 +876,8 @@ extern rfbBool rfbSendRectEncodingZlib(rfbClientPtr cl, int x, int y, int w,
#define TIGHT_DEFAULT_COMPRESSION 6
-#ifdef LIBVNCSERVER_HAVE_TURBOVNC
-#define TIGHT_DEFAULT_SUBSAMP 0
+#ifdef LIBVNCSERVER_HAVE_LIBJPEG
+#define TURBO_DEFAULT_SUBSAMP 0
#endif
extern rfbBool rfbTightDisableGradient;