Home
last modified time | relevance | path

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

/external/webp/src/dsp/
Dlossless.c398 float cur_diff; in GetBestPredictorForTile() local
424 cur_diff = PredictionCostSpatialHistogram(accumulated, histo); in GetBestPredictorForTile()
425 if (cur_diff < best_diff) { in GetBestPredictorForTile()
426 best_diff = cur_diff; in GetBestPredictorForTile()
699 float cur_diff; in GetBestColorTransformForTile() local
736 cur_diff = PredictionCostCrossColor(&accumulated_red_histo[0], &histo[0]); in GetBestColorTransformForTile()
738 cur_diff -= 3; // favor keeping the areas locally similar in GetBestColorTransformForTile()
741 cur_diff -= 3; // favor keeping the areas locally similar in GetBestColorTransformForTile()
744 cur_diff -= 3; in GetBestColorTransformForTile()
746 if (cur_diff < best_diff) { in GetBestColorTransformForTile()
[all …]