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