Home
last modified time | relevance | path

Searched refs:use_color_cache (Results 1 – 2 of 2) sorted by relevance

/external/webp/src/enc/
Dbackward_references_cost_enc.c123 const CostModel* const cost_model, int idx, int use_color_cache, in AddSingleLiteralWithCostModel() argument
127 const int ix = use_color_cache ? VP8LColorCacheContains(hashers, color) : -1; in AddSingleLiteralWithCostModel()
134 if (use_color_cache) VP8LColorCacheInsert(hashers, color); in AddSingleLiteralWithCostModel()
571 const int use_color_cache = (cache_bits > 0); in BackwardReferencesHashChainDistanceOnly() local
589 if (use_color_cache) { in BackwardReferencesHashChainDistanceOnly()
606 AddSingleLiteralWithCostModel(argb, &hashers, cost_model, 0, use_color_cache, in BackwardReferencesHashChainDistanceOnly()
616 use_color_cache, prev_cost, in BackwardReferencesHashChainDistanceOnly()
709 const int use_color_cache = (cache_bits > 0); in BackwardReferencesHashChainFollowChosenPath() local
716 if (use_color_cache) { in BackwardReferencesHashChainFollowChosenPath()
728 if (use_color_cache) { in BackwardReferencesHashChainFollowChosenPath()
[all …]
Dbackward_references_enc.c392 static WEBP_INLINE void AddSingleLiteral(uint32_t pixel, int use_color_cache, in AddSingleLiteral() argument
396 if (use_color_cache) { in AddSingleLiteral()
415 const int use_color_cache = (cache_bits > 0); in BackwardReferencesRle() local
418 if (use_color_cache && !VP8LColorCacheInit(&hashers, cache_bits)) { in BackwardReferencesRle()
423 AddSingleLiteral(argb[0], use_color_cache, &hashers, refs); in BackwardReferencesRle()
438 if (use_color_cache) { in BackwardReferencesRle()
445 AddSingleLiteral(argb[i], use_color_cache, &hashers, refs); in BackwardReferencesRle()
449 if (use_color_cache) VP8LColorCacheClear(&hashers); in BackwardReferencesRle()
461 const int use_color_cache = (cache_bits > 0); in BackwardReferencesLz77() local
465 if (use_color_cache) { in BackwardReferencesLz77()
[all …]