Searched refs:symbol_count (Results 1 – 6 of 6) sorted by relevance
61 int index, int symbol_count) { in ScaleCdf() argument63 (kMinimumProbabilityPerSymbol * (symbol_count - index)); in ScaleCdf()66 void UpdateCdf(uint16_t* const cdf, const int symbol_count, const int symbol) { in UpdateCdf() argument67 const uint16_t count = cdf[symbol_count]; in UpdateCdf()84 const int rate = (4 | (count >> 4)) + static_cast<int>(symbol_count > 3); in UpdateCdf()106 for (int i = 0; i < symbol_count - 1; ++i) { in UpdateCdf()113 cdf[symbol_count] += static_cast<uint16_t>(count < 32); in UpdateCdf()189 template <int symbol_count>191 static_assert(symbol_count >= 7 && symbol_count <= 9, ""); in UpdateCdf7To9()193 const uint16_t count = cdf[symbol_count]; in UpdateCdf7To9()[all …]
41 int ReadSymbol(uint16_t* cdf, int symbol_count);49 template <int symbol_count>68 inline int ReadSymbolImpl(const uint16_t* cdf, int symbol_count);72 inline int ReadSymbolImplBinarySearch(const uint16_t* cdf, int symbol_count);
598 uint32_t symbol_count = 0; in symbol_begin() local599 symbol_count = read32be(buf); in symbol_begin()600 buf += sizeof(uint32_t) + (symbol_count * (sizeof(uint32_t))); in symbol_begin()602 uint64_t symbol_count = read64be(buf); in symbol_begin() local603 buf += sizeof(uint64_t) + (symbol_count * (sizeof(uint64_t))); in symbol_begin()638 uint32_t symbol_count = 0; in symbol_begin() local641 symbol_count = read32le(buf); in symbol_begin()642 buf += 4 + (symbol_count * 2); // Skip indices. in symbol_begin()
906 uint32_t symbol_count = 0; in symbol_begin() local907 symbol_count = read32be(buf); in symbol_begin()908 buf += sizeof(uint32_t) + (symbol_count * (sizeof(uint32_t))); in symbol_begin()910 uint64_t symbol_count = read64be(buf); in symbol_begin() local911 buf += sizeof(uint64_t) + (symbol_count * (sizeof(uint64_t))); in symbol_begin()946 uint32_t symbol_count = 0; in symbol_begin() local949 symbol_count = read32le(buf); in symbol_begin()950 buf += 4 + (symbol_count * 2); // Skip indices. in symbol_begin()
120 const int symbol_count = 3 - static_cast<int>(cdf_index == 0); in ReadFixedTransformSize() local122 symbol_decoder_context_.tx_depth_cdf[cdf_index][context], symbol_count); in ReadFixedTransformSize()
212 unsigned symbol_count = in parse_symbol_table() local222 binary->global_symbol_offsets = CALLOC(symbol_count, sizeof(uint64_t)); in parse_symbol_table()