GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
symbol_encoding.cc File Reference
Include dependency graph for symbol_encoding.cc:

Namespaces

namespace  draco

Typedefs

typedef uint64_t draco::TaggedBitLengthFrequencies[kMaxTagSymbolBitLength]

Functions

void draco::SetSymbolEncodingMethod (Options *options, SymbolCodingMethod method)
bool draco::SetSymbolEncodingCompressionLevel (Options *options, int compression_level)
template<template< int > class SymbolEncoderT>
bool draco::EncodeTaggedSymbols (const uint32_t *symbols, int num_values, int num_components, const std::vector< uint32_t > &bit_lengths, EncoderBuffer *target_buffer)
template<template< int > class SymbolEncoderT>
bool draco::EncodeRawSymbols (const uint32_t *symbols, int num_values, uint32_t max_entry_value, int32_t num_unique_symbols, const Options *options, EncoderBuffer *target_buffer)
bool draco::EncodeSymbols (const uint32_t *symbols, int num_values, int num_components, const Options *options, EncoderBuffer *target_buffer)
template<class SymbolEncoderT>
bool draco::EncodeRawSymbolsInternal (const uint32_t *symbols, int num_values, uint32_t max_entry_value, EncoderBuffer *target_buffer)

Variables

constexpr int32_t draco::kMaxTagSymbolBitLength = 32
constexpr int draco::kMaxRawEncodingBitLength = 18
constexpr int draco::kDefaultSymbolCodingCompressionLevel = 7