1 /*
2  * Copyright (c) 2016-present, Yann Collet, Facebook, Inc.
3  * All rights reserved.
4  *
5  * This source code is licensed under both the BSD-style license (found in the
6  * LICENSE file in the root directory of this source tree) and the GPLv2 (found
7  * in the COPYING file in the root directory of this source tree).
8  * You may select, at your option, one of the above-listed licenses.
9  */
10 
11 #ifndef LEVEL
12 # error LEVEL(x) must be defined
13 #endif
14 #ifndef FAST_LEVEL
15 # error FAST_LEVEL(x) must be defined
16 #endif
17 
18 /**
19  * The levels are chosen to trigger every strategy in every source size,
20  * as well as some fast levels and the default level.
21  * If you change the compression levels, you should probably update these.
22  */
23 
24 FAST_LEVEL(5)
25 
26 FAST_LEVEL(3)
27 
28 FAST_LEVEL(1)
29 LEVEL(0)
30 LEVEL(1)
31 
32 LEVEL(3)
33 LEVEL(4)
34 LEVEL(5)
35 LEVEL(6)
36 LEVEL(7)
37 
38 LEVEL(9)
39 
40 LEVEL(13)
41 
42 LEVEL(16)
43 
44 LEVEL(19)
45