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()96 assert(p->argb_or_distance < (1U << MAX_COLOR_CACHE_BITS)); in PixOrCopyCacheIdx()
700 int cc_init[MAX_COLOR_CACHE_BITS + 1] = { 0 }; in CalculateBestCacheSize()701 VP8LColorCache hashers[MAX_COLOR_CACHE_BITS + 1]; in CalculateBestCacheSize()703 VP8LHistogram* histos[MAX_COLOR_CACHE_BITS + 1] = { NULL }; in CalculateBestCacheSize()706 assert(cache_bits_max >= 0 && cache_bits_max <= MAX_COLOR_CACHE_BITS); in CalculateBestCacheSize()856 histo = VP8LAllocateHistogram(MAX_COLOR_CACHE_BITS); in GetBackwardReferences()
900 if (*cache_bits == 0) *cache_bits = MAX_COLOR_CACHE_BITS; in EncodeImageInternal()1599 if (use_cache && enc->palette_size_ < (1 << MAX_COLOR_CACHE_BITS)) { in EncodeStreamHook()