diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-09-19 10:59:29 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2013-09-19 10:59:29 -0700 |
commit | 2c021f5fab1f0f6f571874431f3d540c6f4add2f (patch) | |
tree | b0b189006923df482bf3519f622d0ea44d7925bf /libxrdp/libxrdp.h | |
parent | 1d09427c57d40429bee3a7cb77fac9f37fee17b5 (diff) | |
download | xrdp-proprietary-2c021f5fab1f0f6f571874431f3d540c6f4add2f.tar.gz xrdp-proprietary-2c021f5fab1f0f6f571874431f3d540c6f4add2f.zip |
don't use a global for turbo jpeg
Diffstat (limited to 'libxrdp/libxrdp.h')
-rw-r--r-- | libxrdp/libxrdp.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libxrdp/libxrdp.h b/libxrdp/libxrdp.h index d31edbb4..da3bcc88 100644 --- a/libxrdp/libxrdp.h +++ b/libxrdp/libxrdp.h @@ -211,6 +211,7 @@ struct xrdp_orders int order_count; int order_level; /* inc for every call to xrdp_orders_init */ struct xrdp_orders_state orders_state; + void* jpeg_han; }; #define PROTO_RDP_40 1 @@ -431,10 +432,14 @@ xrdp_bitmap_compress(char* in_data, int width, int height, int start_line, struct stream* temp_s, int e); int APP_CC -xrdp_jpeg_compress(char* in_data, int width, int height, +xrdp_jpeg_compress(void *handle, char* in_data, int width, int height, struct stream* s, int bpp, int byte_limit, int start_line, struct stream* temp_s, int e, int quality); +void *APP_CC +xrdp_jpeg_init(void); +int APP_CC +xrdp_jpeg_deinit(void *handle); /* xrdp_channel.c */ struct xrdp_channel* APP_CC |