diff options
author | Christian Beier <dontmind@freeshell.org> | 2011-01-29 19:34:12 +0100 |
---|---|---|
committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2011-01-31 12:07:45 -0600 |
commit | afa21ae2e6198ef54f61f7d4d2633caaecaba60e (patch) | |
tree | 2d6fc762677a2a2d840a9aab94d8956456f9f852 /common/minilzo.h | |
parent | 617a5f8b6bf7c5693c47e172ae2682cb4a58de8b (diff) | |
download | libvncserver-minilzo.zip libvncserver-minilzo.tar.gz |
Update minilzo library used for Ultra encoding to ver 2.04.minilzo
According to the minilzo README, this brings a significant
speedup on 64-bit architechtures.
Changes compared to old version 1.08 can be found here:
http://www.oberhumer.com/opensource/lzo/lzonews.php
Signed-off-by: Christian Beier <dontmind@freeshell.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'common/minilzo.h')
-rw-r--r-- | common/minilzo.h | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/common/minilzo.h b/common/minilzo.h index 937db19..bd8ad65 100644 --- a/common/minilzo.h +++ b/common/minilzo.h @@ -2,6 +2,14 @@ This file is part of the LZO real-time data compression library. + Copyright (C) 2010 Markus Franz Xaver Johannes Oberhumer + Copyright (C) 2009 Markus Franz Xaver Johannes Oberhumer + Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer + Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer + Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer + Copyright (C) 2005 Markus Franz Xaver Johannes Oberhumer + Copyright (C) 2004 Markus Franz Xaver Johannes Oberhumer + Copyright (C) 2003 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2002 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2001 Markus Franz Xaver Johannes Oberhumer Copyright (C) 2000 Markus Franz Xaver Johannes Oberhumer @@ -24,7 +32,7 @@ You should have received a copy of the GNU General Public License along with the LZO library; see the file COPYING. If not, write to the Free Software Foundation, Inc., - 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Markus F.X.J. Oberhumer <markus@oberhumer.com> @@ -39,9 +47,9 @@ #ifndef __MINILZO_H -#define __MINILZO_H +#define __MINILZO_H 1 -#define MINILZO_VERSION 0x1080 +#define MINILZO_VERSION 0x2040 #ifdef __LZOCONF_H # error "you cannot use both LZO and miniLZO" @@ -75,20 +83,20 @@ extern "C" { /* compression */ LZO_EXTERN(int) -lzo1x_1_compress ( const lzo_byte *src, lzo_uint src_len, - lzo_byte *dst, lzo_uintp dst_len, +lzo1x_1_compress ( const lzo_bytep src, lzo_uint src_len, + lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem ); /* decompression */ LZO_EXTERN(int) -lzo1x_decompress ( const lzo_byte *src, lzo_uint src_len, - lzo_byte *dst, lzo_uintp dst_len, +lzo1x_decompress ( const lzo_bytep src, lzo_uint src_len, + lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem /* NOT USED */ ); /* safe decompression with overrun testing */ LZO_EXTERN(int) -lzo1x_decompress_safe ( const lzo_byte *src, lzo_uint src_len, - lzo_byte *dst, lzo_uintp dst_len, +lzo1x_decompress_safe ( const lzo_bytep src, lzo_uint src_len, + lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem /* NOT USED */ ); @@ -97,3 +105,4 @@ lzo1x_decompress_safe ( const lzo_byte *src, lzo_uint src_len, #endif #endif /* already included */ + |