Home
last modified time | relevance | path

Searched refs:symbol_count (Results 1 – 6 of 6) sorted by relevance

/external/libgav1/src/utils/
Dentropy_decoder.cc58 int index, int symbol_count) { in ScaleCdf() argument
60 (kMinimumProbabilityPerSymbol * (symbol_count - index)); in ScaleCdf()
63 void UpdateCdf(uint16_t* LIBGAV1_RESTRICT const cdf, const int symbol_count, in UpdateCdf() argument
65 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 …]
Dentropy_decoder.h45 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);
/external/libgav1/src/
Dsymbol_decoder_context_test.cc86 for (int symbol_count = 0; symbol_count < kPaletteSizeSymbolCount; in IncreasePaletteColorIndexCounters() local
87 ++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()
/external/llvm/lib/Object/
DArchive.cpp598 uint32_t symbol_count = 0; in symbol_begin() local
599 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() local
603 buf += sizeof(uint64_t) + (symbol_count * (sizeof(uint64_t))); in symbol_begin()
638 uint32_t symbol_count = 0; in symbol_begin() local
641 symbol_count = read32le(buf); in symbol_begin()
642 buf += 4 + (symbol_count * 2); // Skip indices. in symbol_begin()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DArchive.cpp904 uint32_t symbol_count = 0; in symbol_begin() local
905 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() local
909 buf += sizeof(uint64_t) + (symbol_count * (sizeof(uint64_t))); in symbol_begin()
944 uint32_t symbol_count = 0; in symbol_begin() local
947 symbol_count = read32le(buf); in symbol_begin()
948 buf += 4 + (symbol_count * 2); // Skip indices. in symbol_begin()
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_compute.c212 unsigned symbol_count = in parse_symbol_table() local
222 binary->global_symbol_offsets = CALLOC(symbol_count, sizeof(uint64_t)); in parse_symbol_table()