blob: 944f5c365281def190575a4b7df11daeeb280865 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "indexer/coding_params.hpp"
#include "indexer/point_to_int64.hpp"
namespace search
{
static const uint8_t kCategoriesLang = 128;
static const uint8_t kPointCodingBits = 20;
} // namespace search
namespace trie
{
inline serial::CodingParams GetCodingParams(serial::CodingParams const & orig)
{
return serial::CodingParams(search::kPointCodingBits,
PointU2PointD(orig.GetBasePoint(), orig.GetCoordBits()));
}
} // namespace trie
|