diff options
author | Eddie James <eajames@us.ibm.com> | 2018-06-18 16:17:41 -0500 |
---|---|---|
committer | Eddie James <eajames@us.ibm.com> | 2018-06-20 14:35:50 -0500 |
commit | dd873fce451e4b7d7cc69056a62e107aae7c8e7a (patch) | |
tree | 866a64b37a34bb2dd547db597109fc6b486ee9bc /rfb | |
parent | a67e22dd1f139fd8025fae370ad33d861bb657ef (diff) | |
download | libtdevnc-dd873fce451e4b7d7cc69056a62e107aae7c8e7a.tar.gz libtdevnc-dd873fce451e4b7d7cc69056a62e107aae7c8e7a.zip |
Tight: export SendCompressedData and SendTightHeader functions
These functions can be used to send already compressed jpegs to a
client, circumventing the usual rect/region update methods which
operate on a raw rgb framebuffer. Rename the functions with the usual
rfb prefix and add the prototypes in rfb.h.
Signed-off-by: Eddie James <eajames@us.ibm.com>
Diffstat (limited to 'rfb')
-rw-r--r-- | rfb/rfb.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -895,6 +895,8 @@ extern rfbBool rfbTightDisableGradient; extern int rfbNumCodedRectsTight(rfbClientPtr cl, int x,int y,int w,int h); extern rfbBool rfbSendRectEncodingTight(rfbClientPtr cl, int x,int y,int w,int h); +extern rfbBool rfbSendTightHeader(rfbClientPtr cl, int x, int y, int w, int h); +extern rfbBool rfbSendCompressedDataTight(rfbClientPtr cl, char *buf, int compressedLen); #if defined(LIBVNCSERVER_HAVE_LIBPNG) extern rfbBool rfbSendRectEncodingTightPng(rfbClientPtr cl, int x,int y,int w,int h); |