]>
Commit | Line | Data |
---|---|---|
11b7501a SB |
1 | /* Copyright 2013 Google Inc. All Rights Reserved.\r |
2 | \r | |
3 | Distributed under MIT license.\r | |
4 | See file LICENSE for detail or copy at https://opensource.org/licenses/MIT\r | |
5 | */\r | |
6 | \r | |
7 | /* Functions to estimate the bit cost of Huffman trees. */\r | |
8 | \r | |
9 | #include "./bit_cost.h"\r | |
10 | \r | |
11 | #include "../common/constants.h"\r | |
12 | #include "../common/types.h"\r | |
13 | #include "./fast_log.h"\r | |
14 | #include "./histogram.h"\r | |
15 | #include "./port.h"\r | |
16 | \r | |
17 | #if defined(__cplusplus) || defined(c_plusplus)\r | |
18 | extern "C" {\r | |
19 | #endif\r | |
20 | \r | |
21 | #define FN(X) X ## Literal\r | |
22 | #include "./bit_cost_inc.h" /* NOLINT(build/include) */\r | |
23 | #undef FN\r | |
24 | \r | |
25 | #define FN(X) X ## Command\r | |
26 | #include "./bit_cost_inc.h" /* NOLINT(build/include) */\r | |
27 | #undef FN\r | |
28 | \r | |
29 | #define FN(X) X ## Distance\r | |
30 | #include "./bit_cost_inc.h" /* NOLINT(build/include) */\r | |
31 | #undef FN\r | |
32 | \r | |
33 | #if defined(__cplusplus) || defined(c_plusplus)\r | |
34 | } /* extern "C" */\r | |
35 | #endif\r |