Home
last modified time | relevance | path

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

/external/harfbuzz_ng/src/
Dhb-cache-private.hh35 template <unsigned int key_bits, unsigned int value_bits, unsigned int cache_bits>
38 ASSERT_STATIC (key_bits >= cache_bits);
39 ASSERT_STATIC (key_bits + value_bits - cache_bits < 8 * sizeof (unsigned int));
48 unsigned int k = key & ((1<<cache_bits)-1); in get()
50 if ((v >> value_bits) != (key >> cache_bits)) in get()
60 unsigned int k = key & ((1<<cache_bits)-1); in set()
61 unsigned int v = ((key>>cache_bits)<<value_bits) | value; in set()
67 unsigned int values[1<<cache_bits];
/external/webp/src/enc/
Dbackward_references.c343 int cache_bits, VP8LBackwardRefs* const refs) { in BackwardReferencesRle() argument
346 const int use_color_cache = (cache_bits > 0); in BackwardReferencesRle()
349 if (use_color_cache && !VP8LColorCacheInit(&hashers, cache_bits)) { in BackwardReferencesRle()
386 const uint32_t* const argb, int cache_bits, in BackwardReferencesLz77() argument
393 const int use_color_cache = (cache_bits > 0); in BackwardReferencesLz77()
401 cc_init = VP8LColorCacheInit(&hashers, cache_bits); in BackwardReferencesLz77()
485 int cache_bits, VP8LHashChain* const hash_chain,
509 static int CostModelBuild(CostModel* const m, int cache_bits, in CostModelBuild() argument
512 VP8LHistogram* const histo = VP8LAllocateHistogram(cache_bits); in CostModelBuild()
515 VP8LHistogramCreate(histo, refs, cache_bits); in CostModelBuild()
[all …]
Dhistogram.h84 VP8LHistogramSet* VP8LAllocateHistogramSet(int size, int cache_bits);
89 VP8LHistogram* VP8LAllocateHistogram(int cache_bits);
104 int histogram_bits, int cache_bits,
Dhistogram.c35 const int cache_bits = p->palette_code_bits_; in HistogramClear() local
36 const int histo_size = VP8LGetHistogramSize(cache_bits); in HistogramClear()
38 p->palette_code_bits_ = cache_bits; in HistogramClear()
59 int VP8LGetHistogramSize(int cache_bits) { in VP8LGetHistogramSize() argument
60 const int literal_size = VP8LHistogramNumCodes(cache_bits); in VP8LGetHistogramSize()
98 VP8LHistogram* VP8LAllocateHistogram(int cache_bits) { in VP8LAllocateHistogram() argument
100 const int total_size = VP8LGetHistogramSize(cache_bits); in VP8LAllocateHistogram()
106 VP8LHistogramInit(histo, cache_bits); in VP8LAllocateHistogram()
110 VP8LHistogramSet* VP8LAllocateHistogramSet(int size, int cache_bits) { in VP8LAllocateHistogramSet() argument
113 const int histo_size = VP8LGetHistogramSize(cache_bits); in VP8LAllocateHistogramSet()
[all …]
Dvp8l.c754 int cache_bits = 0; in EncodeImageNoHuffman() local
764 refs = VP8LGetBackwardReferences(width, height, argb, quality, 0, &cache_bits, in EncodeImageNoHuffman()
770 histogram_image = VP8LAllocateHistogramSet(1, cache_bits); in EncodeImageNoHuffman()
827 int low_effort, int* cache_bits, in EncodeImageInternal() argument
859 *cache_bits = MAX_COLOR_CACHE_BITS; in EncodeImageInternal()
864 low_effort, cache_bits, hash_chain, in EncodeImageInternal()
871 VP8LAllocateHistogramSet(histogram_image_xysize, *cache_bits); in EncodeImageInternal()
872 tmp_histos = VP8LAllocateHistogramSet(2, *cache_bits); in EncodeImageInternal()
880 histogram_bits, *cache_bits, histogram_image, in EncodeImageInternal()
906 if (*cache_bits > 0) { in EncodeImageInternal()
[all …]
Dbackward_references.h195 int low_effort, int* const cache_bits, VP8LHashChain* const hash_chain,
Dalpha.c268 stats->cache_bits = best.stats.cache_bits; in ApplyFiltersAndEncode()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_state_upload.c383 static struct dirty_bit_map cache_bits[] = { variable
508 brw_update_dirty_count(cache_bits, state->cache); in brw_upload_state()
512 brw_print_dirty_count(cache_bits, state->cache); in brw_upload_state()
/external/webp/src/webp/
Dencode.h222 int cache_bits; // number of bits for color cache lookup member
/external/webp/include/webp/
Dencode.h222 int cache_bits; // number of bits for color cache lookup member