]>
git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/BrotliCompress/enc/cluster.h
1 /* Copyright 2013 Google Inc. All Rights Reserved.
3 Distributed under MIT license.
4 See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
7 /* Functions for clustering similar histograms together. */
9 #ifndef BROTLI_ENC_CLUSTER_H_
10 #define BROTLI_ENC_CLUSTER_H_
12 #include "../common/types.h"
13 #include "./histogram.h"
17 #if defined(__cplusplus) || defined(c_plusplus)
21 typedef struct HistogramPair
{
28 #define CODE(X) /* Declaration */;
30 #define FN(X) X ## Literal
31 #include "./cluster_inc.h" /* NOLINT(build/include) */
34 #define FN(X) X ## Command
35 #include "./cluster_inc.h" /* NOLINT(build/include) */
38 #define FN(X) X ## Distance
39 #include "./cluster_inc.h" /* NOLINT(build/include) */
44 #if defined(__cplusplus) || defined(c_plusplus)
48 #endif /* BROTLI_ENC_CLUSTER_H_ */