Searched refs:use_color_cache (Results 1 – 2 of 2) sorted by relevance
/external/webp/src/enc/ |
D | backward_references_cost_enc.c | 123 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 …]
|
D | backward_references_enc.c | 424 static WEBP_INLINE void AddSingleLiteral(uint32_t pixel, int use_color_cache, in AddSingleLiteral() argument 428 if (use_color_cache) { in AddSingleLiteral() 447 const int use_color_cache = (cache_bits > 0); in BackwardReferencesRle() local 450 if (use_color_cache && !VP8LColorCacheInit(&hashers, cache_bits)) { in BackwardReferencesRle() 455 AddSingleLiteral(argb[0], use_color_cache, &hashers, refs); in BackwardReferencesRle() 470 if (use_color_cache) { in BackwardReferencesRle() 477 AddSingleLiteral(argb[i], use_color_cache, &hashers, refs); in BackwardReferencesRle() 481 if (use_color_cache) VP8LColorCacheClear(&hashers); in BackwardReferencesRle() 493 const int use_color_cache = (cache_bits > 0); in BackwardReferencesLz77() local 497 if (use_color_cache) { in BackwardReferencesLz77() [all …]
|