Debian Codegraph @

c/enc/literal_cost.h

raw symbols SCIP
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 /* Literal cost model to allow backward reference replacement to be efficient.
8 */
9
10 #ifndef BROTLI_ENC_LITERAL_COST_H_
11 #define BROTLI_ENC_LITERAL_COST_H_cxx . . $ `c/enc/literal_cost.h:11:9`!
12
13 #include "../common/platform.h"cxx . . $ `<file>/c/common/platform.h`/
14
15 #if defined(__cplusplus) || defined(c_plusplus)
16 extern "C" {
17 #endif
18
19 /* Estimates how many bits the literals in the interval [pos, pos + len) in the
20 ring-buffer (data, mask) will take entropy coded and writes these estimates
21 to the cost[0..len) array. */
22 BROTLI_INTERNALcxx . . $ `c/include/brotli/port.h:252:9`! void BrotliEstimateBitCostsForLiteralscxx . . $ BrotliEstimateBitCostsForLiterals(13b4dd8cd095fb8).(
23 size_tcxx . . $ size_t# pos, size_tcxx . . $ size_t# len, size_tcxx . . $ size_t# mask, const uint8_tcxx . . $ uint8_t#* data, size_tcxx . . $ size_t#* histogram,
24 float* cost);
25
26 #if defined(__cplusplus) || defined(c_plusplus)
27 } /* extern "C" */
28 #endif
29
30 #endif /* BROTLI_ENC_LITERAL_COST_H_ */