1 /* config1f.h -- configuration for the LZO1F algorithm
3 This file is part of the LZO real-time data compression library.
5 Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer
8 The LZO library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License as
10 published by the Free Software Foundation; either version 2 of
11 the License, or (at your option) any later version.
13 The LZO library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with the LZO library; see the file COPYING.
20 If not, write to the Free Software Foundation, Inc.,
21 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 Markus F.X.J. Oberhumer
24 <markus@oberhumer.com>
25 http://www.oberhumer.com/opensource/lzo/
29 /* WARNING: this file should *not* be used by applications. It is
30 part of the implementation of the library and is subject
35 #ifndef __LZO_CONFIG1F_H
36 #define __LZO_CONFIG1F_H 1
39 #include <lzo/lzo1f.h>
42 /***********************************************************************
44 ************************************************************************/
46 #define LZO_EOF_CODE 1
47 #undef LZO_DETERMINISTIC
49 #define M2_MAX_OFFSET 0x0800
50 #define M3_MAX_OFFSET 0x3fff
60 /***********************************************************************
62 ************************************************************************/
65 #define MIN_LOOKAHEAD (M2_MAX_LEN + 1)
68 #if defined(LZO_NEED_DICT_H)
71 #define LZO_HASH LZO_HASH_LZO_INCREMENTAL_A
73 #define DL_MIN_LEN M2_MIN_LEN
80 #endif /* already included */
83 /* vim:set ts=4 sw=4 et: */