diff options
author | Christian Beier <dontmind@freeshell.org> | 2018-01-23 17:31:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-23 17:31:42 +0100 |
commit | d34c7b07aca7a8c7cd0ea0fb41971992e5dc4670 (patch) | |
tree | e0c6c2799c5fdfafacdce5e301d665fdeb3e50e8 /rfb | |
parent | ccd7208cf32b4011db0b558185df9f8caf8f5455 (diff) | |
parent | d7b14624cbb9ed7b9df3532658e1edba8da606a6 (diff) | |
download | libtdevnc-d34c7b07aca7a8c7cd0ea0fb41971992e5dc4670.tar.gz libtdevnc-d34c7b07aca7a8c7cd0ea0fb41971992e5dc4670.zip |
Merge pull request #203 from dcommander/turbovnc-client
Include Tight decoding optimizations from TurboVNC
Diffstat (limited to 'rfb')
-rw-r--r-- | rfb/rfbclient.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h index 72d672a..ec6ee55 100644 --- a/rfb/rfbclient.h +++ b/rfb/rfbclient.h @@ -7,6 +7,7 @@ */ /* + * Copyright (C) 2017 D. R. Commander. All Rights Reserved. * Copyright (C) 2000, 2001 Const Kaplinsky. All Rights Reserved. * Copyright (C) 2000 Tridia Corporation. All Rights Reserved. * Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved. @@ -51,6 +52,7 @@ #endif #include <rfb/rfbproto.h> #include <rfb/keysym.h> +#include "turbojpeg.h" #ifdef LIBVNCSERVER_HAVE_SASL #include <sasl/sasl.h> @@ -295,7 +297,7 @@ typedef struct _rfbClient { uint8_t tightPrevRow[2048*3*sizeof(uint16_t)]; #ifdef LIBVNCSERVER_HAVE_LIBJPEG - /** JPEG decoder state. */ + /** JPEG decoder state (obsolete-- do not use). */ rfbBool jpegError; struct jpeg_source_mgr* jpegSrcManager; @@ -422,6 +424,14 @@ typedef struct _rfbClient { GetUserProc GetUser; #endif /* LIBVNCSERVER_HAVE_SASL */ + +#ifdef LIBVNCSERVER_HAVE_LIBZ +#ifdef LIBVNCSERVER_HAVE_LIBJPEG + /** JPEG decoder state. */ + tjhandle tjhnd; + +#endif +#endif } rfbClient; /* cursor.c */ |