/* edgelzo_config1x.h -- configuration for the LZO1X algorithm



   This file is part of the LZO-Professional data compression library.



   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

   Copyright (C) 1999 Markus Franz Xaver Johannes Oberhumer

   Copyright (C) 1998 Markus Franz Xaver Johannes Oberhumer

   Copyright (C) 1997 Markus Franz Xaver Johannes Oberhumer

   Copyright (C) 1996 Markus Franz Xaver Johannes Oberhumer

   All Rights Reserved.



   CONFIDENTIAL & PROPRIETARY SOURCE CODE.



   ANY USAGE OF THIS FILE IS SUBJECT TO YOUR LICENSE AGREEMENT.



   Markus F.X.J. Oberhumer

   <markus@oberhumer.com>

   http://www.oberhumer.com/products/lzo-professional/

 */





/* WARNING: this file should *not* be used by applications. It is

   part of the implementation of the library and is subject

   to change.

 */





#ifndef __LZO_CONFIG1X_H

#define __LZO_CONFIG1X_H



#if !defined(LZO1X) && !defined(LZO1Y) && !defined(LZO1Z)

#  define LZO1X

#endif



#include "edgelzo_lzo_conf.h"

#if !defined(__LZO_IN_MINILZO)

#include "lzo/edgelzo_lzo1x.h"

#endif





/***********************************************************************

//

************************************************************************/



#define LZO_EOF_CODE

#undef LZO_DETERMINISTIC



#define M1_MAX_OFFSET   0x0400

#ifndef M2_MAX_OFFSET

#define M2_MAX_OFFSET   0x0800

#endif

#define M3_MAX_OFFSET   0x4000

#define M4_MAX_OFFSET   0xbfff



#define MX_MAX_OFFSET   (M1_MAX_OFFSET + M2_MAX_OFFSET)



#define M1_MIN_LEN      2

#define M1_MAX_LEN      2

#define M2_MIN_LEN      3

#ifndef M2_MAX_LEN

#define M2_MAX_LEN      8

#endif

#define M3_MIN_LEN      3

#define M3_MAX_LEN      33

#define M4_MIN_LEN      3

#define M4_MAX_LEN      9



#define M1_MARKER       0

#define M2_MARKER       64

#define M3_MARKER       32

#define M4_MARKER       16





/***********************************************************************

//

************************************************************************/



#ifndef MIN_LOOKAHEAD

#define MIN_LOOKAHEAD       (M2_MAX_LEN + 1)

#endif



#if defined(LZO_NEED_DICT_H)



#ifndef LZO_HASH

#define LZO_HASH            LZO_HASH_LZO_INCREMENTAL_B

#endif

#define DL_MIN_LEN          M2_MIN_LEN

#include "edgelzo_lzo_dict.h"



#endif







#endif /* already included */



/*

vi:ts=4:et

*/



