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* LIBGAV1_RESTRICT const cdf, const int symbol_count, in UpdateCdf() argument65 const uint16_t count = cdf[symbol_count]; in UpdateCdf()84 const int rate = (count >> 4) + 4 + static_cast<int>(symbol_count > 3); in UpdateCdf()106 assert(symbol_count - 1 > 0); in UpdateCdf()114 } while (++i < symbol_count - 1); in UpdateCdf()115 cdf[symbol_count] += static_cast<uint16_t>(count < 32); in UpdateCdf()198 template <int symbol_count>200 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);
86 for (int symbol_count = 0; symbol_count < kPaletteSizeSymbolCount; in IncreasePaletteColorIndexCounters() local87 ++symbol_count) { in IncreasePaletteColorIndexCounters()88 const int cdf_size = symbol_count + kMinPaletteSize; in IncreasePaletteColorIndexCounters()90 palette_color_index_cdf_plane[symbol_count][context][cdf_size] += value; in IncreasePaletteColorIndexCounters()
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()
212 unsigned symbol_count = in parse_symbol_table() local222 binary->global_symbol_offsets = CALLOC(symbol_count, sizeof(uint64_t)); in parse_symbol_table()