Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dbackward_references_cost_enc.c569 int cc_init = 0; in BackwardReferencesHashChainDistanceOnly() local
590 cc_init = VP8LColorCacheInit(&hashers, cache_bits); in BackwardReferencesHashChainDistanceOnly()
591 if (!cc_init) goto Error; in BackwardReferencesHashChainDistanceOnly()
679 if (cc_init) VP8LColorCacheClear(&hashers); in BackwardReferencesHashChainDistanceOnly()
713 int cc_init = 0; in BackwardReferencesHashChainFollowChosenPath() local
717 cc_init = VP8LColorCacheInit(&hashers, cache_bits); in BackwardReferencesHashChainFollowChosenPath()
718 if (!cc_init) goto Error; in BackwardReferencesHashChainFollowChosenPath()
752 if (cc_init) VP8LColorCacheClear(&hashers); in BackwardReferencesHashChainFollowChosenPath()
Dbackward_references_enc.c460 int cc_init = 0; in BackwardReferencesLz77() local
466 cc_init = VP8LColorCacheInit(&hashers, cache_bits); in BackwardReferencesLz77()
467 if (!cc_init) goto Error; in BackwardReferencesLz77()
517 if (cc_init) VP8LColorCacheClear(&hashers); in BackwardReferencesLz77()
700 int cc_init[MAX_COLOR_CACHE_BITS + 1] = { 0 }; in CalculateBestCacheSize() local
720 cc_init[i] = VP8LColorCacheInit(&hashers[i], i); in CalculateBestCacheSize()
721 if (!cc_init[i]) goto Error; in CalculateBestCacheSize()
787 if (cc_init[i]) VP8LColorCacheClear(&hashers[i]); in CalculateBestCacheSize()