Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dbackward_references.c323 static WEBP_INLINE void AddSingleLiteral(uint32_t pixel, int use_color_cache, in AddSingleLiteral() argument
327 if (use_color_cache) { in AddSingleLiteral()
346 const int use_color_cache = (cache_bits > 0); in BackwardReferencesRle() local
349 if (use_color_cache && !VP8LColorCacheInit(&hashers, cache_bits)) { in BackwardReferencesRle()
354 AddSingleLiteral(argb[0], use_color_cache, &hashers, refs); in BackwardReferencesRle()
370 if (use_color_cache) { in BackwardReferencesRle()
377 AddSingleLiteral(argb[i], use_color_cache, &hashers, refs); in BackwardReferencesRle()
381 if (use_color_cache) VP8LColorCacheClear(&hashers); in BackwardReferencesRle()
393 const int use_color_cache = (cache_bits > 0); in BackwardReferencesLz77() local
400 if (use_color_cache) { in BackwardReferencesLz77()
[all …]
/external/opencv3/3rdparty/libwebp/enc/
Dbackward_references.c270 const int use_color_cache = (cache_bits > 0); in BackwardReferencesHashChain() local
279 if (use_color_cache) { in BackwardReferencesHashChain()
320 if (use_color_cache && VP8LColorCacheContains(&hashers, pixel)) { in BackwardReferencesHashChain()
327 if (use_color_cache) VP8LColorCacheInsert(&hashers, pixel); in BackwardReferencesHashChain()
337 if (use_color_cache) { in BackwardReferencesHashChain()
352 if (use_color_cache && VP8LColorCacheContains(&hashers, pixel)) { in BackwardReferencesHashChain()
360 if (use_color_cache) VP8LColorCacheInsert(&hashers, pixel); in BackwardReferencesHashChain()
481 const int use_color_cache = (cache_bits > 0); in BackwardReferencesHashChainDistanceOnly() local
498 if (use_color_cache) { in BackwardReferencesHashChainDistanceOnly()
551 if (use_color_cache) { in BackwardReferencesHashChainDistanceOnly()
[all …]
Dvp8l.c525 const int use_color_cache = (cache_bits > 0); in EncodeImageInternal() local
573 VP8LWriteBits(bw, 1, use_color_cache); in EncodeImageInternal()
574 if (use_color_cache) { in EncodeImageInternal()