• Home
  • Raw
  • Download

Lines Matching refs:hashers

394                                          VP8LColorCache* const hashers,  in AddSingleLiteral()  argument
398 const uint32_t key = VP8LColorCacheGetIndex(hashers, pixel); in AddSingleLiteral()
399 if (VP8LColorCacheLookup(hashers, key) == pixel) { in AddSingleLiteral()
403 VP8LColorCacheSet(hashers, key, pixel); in AddSingleLiteral()
417 VP8LColorCache hashers; in BackwardReferencesRle() local
419 if (use_color_cache && !VP8LColorCacheInit(&hashers, cache_bits)) { in BackwardReferencesRle()
424 AddSingleLiteral(argb[0], use_color_cache, &hashers, refs); in BackwardReferencesRle()
441 VP8LColorCacheInsert(&hashers, argb[i + k]); in BackwardReferencesRle()
446 AddSingleLiteral(argb[i], use_color_cache, &hashers, refs); in BackwardReferencesRle()
450 if (use_color_cache) VP8LColorCacheClear(&hashers); in BackwardReferencesRle()
464 VP8LColorCache hashers; in BackwardReferencesLz77() local
467 cc_init = VP8LColorCacheInit(&hashers, cache_bits); in BackwardReferencesLz77()
506 AddSingleLiteral(argb[i], use_color_cache, &hashers, refs); in BackwardReferencesLz77()
510 for (j = i; j < i + len; ++j) VP8LColorCacheInsert(&hashers, argb[j]); in BackwardReferencesLz77()
518 if (cc_init) VP8LColorCacheClear(&hashers); in BackwardReferencesLz77()
702 VP8LColorCache hashers[MAX_COLOR_CACHE_BITS + 1]; in CalculateBestCacheSize() local
721 cc_init[i] = VP8LColorCacheInit(&hashers[i], i); in CalculateBestCacheSize()
745 if (VP8LColorCacheLookup(&hashers[i], key) == pix) { in CalculateBestCacheSize()
748 VP8LColorCacheSet(&hashers[i], key, pix); in CalculateBestCacheSize()
768 hashers[i].colors_[key] = *argb; in CalculateBestCacheSize()
788 if (cc_init[i]) VP8LColorCacheClear(&hashers[i]); in CalculateBestCacheSize()
799 VP8LColorCache hashers; in BackwardRefsWithLocalCache() local
801 if (!VP8LColorCacheInit(&hashers, cache_bits)) return 0; in BackwardRefsWithLocalCache()
807 const int ix = VP8LColorCacheContains(&hashers, argb_literal); in BackwardRefsWithLocalCache()
812 VP8LColorCacheInsert(&hashers, argb_literal); in BackwardRefsWithLocalCache()
820 VP8LColorCacheInsert(&hashers, argb[pixel_index++]); in BackwardRefsWithLocalCache()
825 VP8LColorCacheClear(&hashers); in BackwardRefsWithLocalCache()