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 & ((1u<<cache_bits)-1); in get()
50 if ((v >> value_bits) != (key >> cache_bits)) in get()
60 unsigned int k = key & ((1u<<cache_bits)-1); in set()
61 unsigned int v = ((key>>cache_bits)<<value_bits) | value; in set()
67 unsigned int values[1u<<cache_bits];
/external/webp/src/enc/
Dbackward_references_enc.c452 int cache_bits, VP8LBackwardRefs* const refs) { in BackwardReferencesRle() argument
455 const int use_color_cache = (cache_bits > 0); in BackwardReferencesRle()
458 if (use_color_cache && !VP8LColorCacheInit(&hashers, cache_bits)) { in BackwardReferencesRle()
494 const uint32_t* const argb, int cache_bits, in BackwardReferencesLz77() argument
501 const int use_color_cache = (cache_bits > 0); in BackwardReferencesLz77()
506 cc_init = VP8LColorCacheInit(&hashers, cache_bits); in BackwardReferencesLz77()
571 int cache_bits, const VP8LHashChain* const hash_chain,
595 static int CostModelBuild(CostModel* const m, int cache_bits, in CostModelBuild() argument
598 VP8LHistogram* const histo = VP8LAllocateHistogram(cache_bits); in CostModelBuild()
601 VP8LHistogramCreate(histo, refs, cache_bits); in CostModelBuild()
[all …]
Dhistogram_enc.h84 VP8LHistogramSet* VP8LAllocateHistogramSet(int size, int cache_bits);
89 VP8LHistogram* VP8LAllocateHistogram(int cache_bits);
104 int histogram_bits, int cache_bits,
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()
60 int VP8LGetHistogramSize(int cache_bits) { in VP8LGetHistogramSize() argument
61 const int literal_size = VP8LHistogramNumCodes(cache_bits); in VP8LGetHistogramSize()
99 VP8LHistogram* VP8LAllocateHistogram(int cache_bits) { in VP8LAllocateHistogram() argument
101 const int total_size = VP8LGetHistogramSize(cache_bits); in VP8LAllocateHistogram()
107 VP8LHistogramInit(histo, cache_bits); in VP8LAllocateHistogram()
111 VP8LHistogramSet* VP8LAllocateHistogramSet(int size, int cache_bits) { in VP8LAllocateHistogramSet() argument
114 const int histo_size = VP8LGetHistogramSize(cache_bits); in VP8LAllocateHistogramSet()
[all …]
Dvp8l_enc.c718 int cache_bits = 0; in EncodeImageNoHuffman() local
733 refs = VP8LGetBackwardReferences(width, height, argb, quality, 0, &cache_bits, in EncodeImageNoHuffman()
739 histogram_image = VP8LAllocateHistogramSet(1, cache_bits); in EncodeImageNoHuffman()
797 int use_cache, int* cache_bits, in EncodeImageInternal() argument
832 if (*cache_bits == 0) *cache_bits = MAX_COLOR_CACHE_BITS; in EncodeImageInternal()
834 *cache_bits = 0; in EncodeImageInternal()
845 low_effort, cache_bits, hash_chain, in EncodeImageInternal()
852 VP8LAllocateHistogramSet(histogram_image_xysize, *cache_bits); in EncodeImageInternal()
853 tmp_histos = VP8LAllocateHistogramSet(2, *cache_bits); in EncodeImageInternal()
861 histogram_bits, *cache_bits, histogram_image, in EncodeImageInternal()
[all …]
Dalpha_enc.c271 stats->cache_bits = best.stats.cache_bits; in ApplyFiltersAndEncode()
Dbackward_references_enc.h200 int low_effort, int* const cache_bits,
/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.h220 int cache_bits; // number of bits for color cache lookup member
/external/webp/include/webp/
Dencode.h220 int cache_bits; // number of bits for color cache lookup member