| 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 | #ifndef BROTLI_ENC_BIT_COST_H_ |
| 10 | #define BROTLI_ENC_BIT_COST_H_cxx . . $ `c/enc/bit_cost.h:10:9`! |
| 11 | |
| 12 | #include "../common/platform.h"cxx . . $ `<file>/c/common/platform.h`/ |
| 13 | #include "histogram.h"cxx . . $ `<file>/c/enc/histogram.h`/ |
| 14 | |
| 15 | #if defined(__cplusplus) || defined(c_plusplus) |
| 16 | extern "C" { |
| 17 | #endif |
| 18 | |
| 19 | BROTLI_INTERNALcxx . . $ `c/include/brotli/port.h:252:9`! double BrotliBitsEntropycxx . . $ BrotliBitsEntropy(5f24fb80db41cf8c).( |
| 20 | const uint32_tcxx . . $ uint32_t#* population, size_tcxx . . $ size_t# size); |
| 21 | BROTLI_INTERNALcxx . . $ `c/include/brotli/port.h:252:9`! double BrotliPopulationCostLiteralcxx . . $ BrotliPopulationCostLiteral(496f8dd2758e6fa2).( |
| 22 | const HistogramLiteralcxx . . $ HistogramLiteral#* histogram); |
| 23 | BROTLI_INTERNALcxx . . $ `c/include/brotli/port.h:252:9`! double BrotliPopulationCostCommandcxx . . $ BrotliPopulationCostCommand(c27e67068403808d).( |
| 24 | const HistogramCommandcxx . . $ HistogramCommand#* histogram); |
| 25 | BROTLI_INTERNALcxx . . $ `c/include/brotli/port.h:252:9`! double BrotliPopulationCostDistancecxx . . $ BrotliPopulationCostDistance(3992520b5fe99915).( |
| 26 | const HistogramDistancecxx . . $ HistogramDistance#* histogram); |
| 27 | |
| 28 | #if defined(__cplusplus) || defined(c_plusplus) |
| 29 | } /* extern "C" */ |
| 30 | #endif |
| 31 | |
| 32 | #endif /* BROTLI_ENC_BIT_COST_H_ */ |