diff options
author | jsorg71 <jsorg71> | 2005-01-12 00:48:11 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2005-01-12 00:48:11 +0000 |
commit | 1d03bafb9e8ff4cef59b041235a986d6e4ae2fce (patch) | |
tree | f7ad121305b66baf59612fdd54753f29324d25e3 /xrdp/xrdp_bitmap_compress.c | |
parent | ff5f2d59b10ca11bc9f5382f94323325dd0045ed (diff) | |
download | xrdp-proprietary-1d03bafb9e8ff4cef59b041235a986d6e4ae2fce.tar.gz xrdp-proprietary-1d03bafb9e8ff4cef59b041235a986d6e4ae2fce.zip |
added bitmap cache
Diffstat (limited to 'xrdp/xrdp_bitmap_compress.c')
-rw-r--r-- | xrdp/xrdp_bitmap_compress.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/xrdp/xrdp_bitmap_compress.c b/xrdp/xrdp_bitmap_compress.c index be170a25..f17eb1d4 100644 --- a/xrdp/xrdp_bitmap_compress.c +++ b/xrdp/xrdp_bitmap_compress.c @@ -434,14 +434,14 @@ /*****************************************************************************/ int xrdp_bitmap_compress(char* in_data, int width, int height, struct stream* s, int bpp, int byte_limit, - int start_line, struct stream* temp_s) + int start_line, struct stream* temp_s, + int e) { char* line; char* last_line; char fom_mask[8192]; int lines_sent; int pixel; - int e; int count; int color_count; int last_pixel; @@ -462,11 +462,6 @@ int xrdp_bitmap_compress(char* in_data, int width, int height, int temp; /* used in macros */ init_stream(temp_s, 0); - e = width % 4; - if (e != 0) - { - e = 4 - e; - } fom_mask_len = 0; last_line = 0; lines_sent = 0; |