Searched refs:MAX_COLOR_CACHE_BITS (Results 1 – 3 of 3) sorted by relevance
26 #define MAX_COLOR_CACHE_BITS 10 macro57 assert(idx < (1 << MAX_COLOR_CACHE_BITS)); in PixOrCopyCreateCacheIdx()101 assert(p->argb_or_distance < (1U << MAX_COLOR_CACHE_BITS)); in PixOrCopyCacheIdx()
1535 int cc_init[MAX_COLOR_CACHE_BITS + 1] = { 0 }; in ComputeCacheEntropies()1536 VP8LColorCache hashers[MAX_COLOR_CACHE_BITS + 1]; in ComputeCacheEntropies()1538 VP8LHistogram* histos[MAX_COLOR_CACHE_BITS + 1] = { NULL }; in ComputeCacheEntropies()1628 double entropies[MAX_COLOR_CACHE_BITS + 1]; in CalculateBestCacheSize()1630 assert(cache_bits_high <= MAX_COLOR_CACHE_BITS); in CalculateBestCacheSize()
832 if (*cache_bits == 0) *cache_bits = MAX_COLOR_CACHE_BITS; in EncodeImageInternal()1510 if (use_cache && enc->palette_size_ < (1 << MAX_COLOR_CACHE_BITS)) { in VP8LEncodeStream()