Differential D6342 Diff 20011 extern/draco/dracoenc/src/draco/compression/entropy/rans_symbol_coding.h
Changeset View
Changeset View
Standalone View
Standalone View
extern/draco/dracoenc/src/draco/compression/entropy/rans_symbol_coding.h
| Context not available. | |||||
| // Compute approximate frequency table size needed for storing the provided | // Compute approximate frequency table size needed for storing the provided | ||||
| // symbols. | // symbols. | ||||
| static int64_t ApproximateRAnsFrequencyTableBits(int32_t max_value, | static inline int64_t ApproximateRAnsFrequencyTableBits( | ||||
| int num_unique_symbols) { | int32_t max_value, int num_unique_symbols) { | ||||
| // Approximate number of bits for storing zero frequency entries using the | // Approximate number of bits for storing zero frequency entries using the | ||||
| // run length encoding (with max length of 64). | // run length encoding (with max length of 64). | ||||
| const int64_t table_zero_frequency_bits = | const int64_t table_zero_frequency_bits = | ||||
| Context not available. | |||||