Home
last modified time | relevance | path

Searched refs:cache_bits (Results 1 – 10 of 10) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-cache.hh35 template <unsigned int key_bits, unsigned int value_bits, unsigned int cache_bits>
38 static_assert ((key_bits >= cache_bits), "");
39 static_assert ((key_bits + value_bits - cache_bits <= 8 * sizeof (hb_atomic_int_t)), "");
53 unsigned int k = key & ((1u<<cache_bits)-1); in get()
55 …if ((key_bits + value_bits - cache_bits == 8 * sizeof (hb_atomic_int_t) && v == (unsigned int) -1)… in get()
56 (v >> value_bits) != (key >> cache_bits)) in get()
66 unsigned int k = key & ((1u<<cache_bits)-1); in set()
67 unsigned int v = ((key>>cache_bits)<<value_bits) | value; in set()
73 hb_atomic_int_t values[1u<<cache_bits];
/external/webp/src/enc/
Dbackward_references_enc.c444 int cache_bits, VP8LBackwardRefs* const refs) { in BackwardReferencesRle() argument
447 const int use_color_cache = (cache_bits > 0); in BackwardReferencesRle()
450 if (use_color_cache && !VP8LColorCacheInit(&hashers, cache_bits)) { in BackwardReferencesRle()
486 const uint32_t* const argb, int cache_bits, in BackwardReferencesLz77() argument
493 const int use_color_cache = (cache_bits > 0); in BackwardReferencesLz77()
498 cc_init = VP8LColorCacheInit(&hashers, cache_bits); in BackwardReferencesLz77()
558 const uint32_t* const argb, int cache_bits, in BackwardReferencesLz77Box() argument
702 return BackwardReferencesLz77(xsize, ysize, argb, cache_bits, hash_chain, in BackwardReferencesLz77Box()
833 int cache_bits, in BackwardRefsWithLocalCache() argument
838 if (!VP8LColorCacheInit(&hashers, cache_bits)) return 0; in BackwardRefsWithLocalCache()
[all …]
Dbackward_references_cost_enc.c61 static int CostModelBuild(CostModel* const m, int xsize, int cache_bits, in CostModelBuild() argument
65 VP8LHistogram* const histo = VP8LAllocateHistogram(cache_bits); in CostModelBuild()
70 VP8LHistogramInit(histo, cache_bits, /*init_arrays=*/ 1); in CostModelBuild()
564 int xsize, int ysize, const uint32_t* const argb, int cache_bits, in BackwardReferencesHashChainDistanceOnly() argument
571 const int use_color_cache = (cache_bits > 0); in BackwardReferencesHashChainDistanceOnly()
574 ((cache_bits > 0) ? (1 << cache_bits) : 0)); in BackwardReferencesHashChainDistanceOnly()
590 cc_init = VP8LColorCacheInit(&hashers, cache_bits); in BackwardReferencesHashChainDistanceOnly()
594 if (!CostModelBuild(cost_model, xsize, cache_bits, refs)) { in BackwardReferencesHashChainDistanceOnly()
706 const uint32_t* const argb, int cache_bits, in BackwardReferencesHashChainFollowChosenPath() argument
709 const int use_color_cache = (cache_bits > 0); in BackwardReferencesHashChainFollowChosenPath()
[all …]
Dhistogram_enc.c36 const int cache_bits = p->palette_code_bits_; in HistogramClear() local
37 const int histo_size = VP8LGetHistogramSize(cache_bits); in HistogramClear()
39 p->palette_code_bits_ = cache_bits; in HistogramClear()
62 int VP8LGetHistogramSize(int cache_bits) { in VP8LGetHistogramSize() argument
63 const int literal_size = VP8LHistogramNumCodes(cache_bits); in VP8LGetHistogramSize()
111 VP8LHistogram* VP8LAllocateHistogram(int cache_bits) { in VP8LAllocateHistogram() argument
113 const int total_size = VP8LGetHistogramSize(cache_bits); in VP8LAllocateHistogram()
119 VP8LHistogramInit(histo, cache_bits, /*init_arrays=*/ 0); in VP8LAllocateHistogram()
125 int cache_bits) { in HistogramSetResetPointers() argument
127 const int histo_size = VP8LGetHistogramSize(cache_bits); in HistogramSetResetPointers()
[all …]
Dhistogram_enc.h87 VP8LHistogramSet* VP8LAllocateHistogramSet(int size, int cache_bits);
95 VP8LHistogram* VP8LAllocateHistogram(int cache_bits);
112 int histogram_bits, int cache_bits,
Dvp8l_enc.c805 int cache_bits = 0; in EncodeImageNoHuffman() local
822 cache_bits, /*do_no_cache=*/0, hash_chain, refs_array, &cache_bits); in EncodeImageNoHuffman()
825 histogram_image = VP8LAllocateHistogramSet(1, cache_bits); in EncodeImageNoHuffman()
882 const CrunchConfig* const config, int* cache_bits, int histogram_bits, in EncodeImageInternal() argument
921 cache_bits_init = (*cache_bits == 0) ? MAX_COLOR_CACHE_BITS : *cache_bits; in EncodeImageInternal()
1046 *cache_bits = cache_bits_tmp; in EncodeImageInternal()
1670 stats->cache_bits = enc->cache_bits_; in EncodeStreamHook()
Dalpha_enc.c275 stats->cache_bits = best.stats.cache_bits; in ApplyFiltersAndEncode()
/external/webp/src/webp/
Dencode.h225 int cache_bits; // number of bits for color cache lookup member
/external/webp/include/webp/
Dencode.h225 int cache_bits; // number of bits for color cache lookup member
/external/fmtlib/include/fmt/
Dformat.h1224 static const int cache_bits = 64;
1250 static const int cache_bits = 128;