Searched refs:symbol_count (Results 1 – 6 of 6) sorted by relevance
58 int index, int symbol_count) { in ScaleCdf() argument60 (kMinimumProbabilityPerSymbol * (symbol_count - index)); in ScaleCdf()63 void UpdateCdf(uint16_t* const cdf, const int symbol_count, const int symbol) { in UpdateCdf() argument64 const uint16_t count = cdf[symbol_count]; in UpdateCdf()83 const int rate = (count >> 4) + 4 + static_cast<int>(symbol_count > 3); in UpdateCdf()105 assert(symbol_count - 1 > 0); in UpdateCdf()113 } while (++i < symbol_count - 1); in UpdateCdf()114 cdf[symbol_count] += static_cast<uint16_t>(count < 32); in UpdateCdf()197 template <int symbol_count>199 static_assert(symbol_count >= 7 && symbol_count <= 9, ""); in UpdateCdf7To9()[all …]
45 int ReadSymbol(uint16_t* cdf, int symbol_count);53 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);77 LIBGAV1_ALWAYS_INLINE int ReadSymbol3Or4(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()
904 uint32_t symbol_count = 0; in symbol_begin() local905 symbol_count = read32be(buf); in symbol_begin()906 buf += sizeof(uint32_t) + (symbol_count * (sizeof(uint32_t))); in symbol_begin()908 uint64_t symbol_count = read64be(buf); in symbol_begin() local909 buf += sizeof(uint64_t) + (symbol_count * (sizeof(uint64_t))); in symbol_begin()944 uint32_t symbol_count = 0; in symbol_begin() local947 symbol_count = read32le(buf); in symbol_begin()948 buf += 4 + (symbol_count * 2); // Skip indices. in symbol_begin()
900 uint32_t symbol_count = 0; in symbol_begin() local901 symbol_count = read32be(buf); in symbol_begin()902 buf += sizeof(uint32_t) + (symbol_count * (sizeof(uint32_t))); in symbol_begin()904 uint64_t symbol_count = read64be(buf); in symbol_begin() local905 buf += sizeof(uint64_t) + (symbol_count * (sizeof(uint64_t))); in symbol_begin()940 uint32_t symbol_count = 0; in symbol_begin() local943 symbol_count = read32le(buf); in symbol_begin()944 buf += 4 + (symbol_count * 2); // Skip indices. in symbol_begin()
212 unsigned symbol_count = in parse_symbol_table() local222 binary->global_symbol_offsets = CALLOC(symbol_count, sizeof(uint64_t)); in parse_symbol_table()