Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/brotli/c/enc/bit_cost.c @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 /* Copyright 2013 Google Inc. All Rights Reserved. | |
| 2 | |
| 3 Distributed under MIT license. | |
| 4 See file LICENSE for detail or copy at https://opensource.org/licenses/MIT | |
| 5 */ | |
| 6 | |
| 7 /* Functions to estimate the bit cost of Huffman trees. */ | |
| 8 | |
| 9 #include "bit_cost.h" | |
| 10 | |
| 11 #include <brotli/types.h> | |
| 12 | |
| 13 #include "../common/constants.h" | |
| 14 #include "../common/platform.h" | |
| 15 #include "fast_log.h" | |
| 16 #include "histogram.h" | |
| 17 | |
| 18 #if defined(__cplusplus) || defined(c_plusplus) | |
| 19 extern "C" { | |
| 20 #endif | |
| 21 | |
| 22 #define FN(X) X ## Literal | |
| 23 #include "bit_cost_inc.h" /* NOLINT(build/include) */ | |
| 24 #undef FN | |
| 25 | |
| 26 #define FN(X) X ## Command | |
| 27 #include "bit_cost_inc.h" /* NOLINT(build/include) */ | |
| 28 #undef FN | |
| 29 | |
| 30 #define FN(X) X ## Distance | |
| 31 #include "bit_cost_inc.h" /* NOLINT(build/include) */ | |
| 32 #undef FN | |
| 33 | |
| 34 #if defined(__cplusplus) || defined(c_plusplus) | |
| 35 } /* extern "C" */ | |
| 36 #endif |
