Home
last modified time | relevance | path

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

/external/webp/src/dsp/
Dlossless_enc.c579 float cur_diff; in GetBestPredictorForTile() local
598 cur_diff = PredictionCostSpatialHistogram( in GetBestPredictorForTile()
600 if (cur_diff < best_diff) { in GetBestPredictorForTile()
604 best_diff = cur_diff; in GetBestPredictorForTile()
813 float cur_diff; in GetPredictionCostCrossColorRed() local
818 cur_diff = PredictionCostCrossColor(accumulated_red_histo, histo); in GetPredictionCostCrossColorRed()
820 cur_diff -= 3; // favor keeping the areas locally similar in GetPredictionCostCrossColorRed()
823 cur_diff -= 3; // favor keeping the areas locally similar in GetPredictionCostCrossColorRed()
826 cur_diff -= 3; in GetPredictionCostCrossColorRed()
828 return cur_diff; in GetPredictionCostCrossColorRed()
[all …]
/external/opencv3/3rdparty/libwebp/dsp/
Dlossless.c541 float cur_diff; in GetBestPredictorForTile() local
567 cur_diff = PredictionCostSpatialHistogram(accumulated, histo); in GetBestPredictorForTile()
568 if (cur_diff < best_diff) { in GetBestPredictorForTile()
569 best_diff = cur_diff; in GetBestPredictorForTile()
882 float cur_diff; in GetBestColorTransformForTile() local
915 cur_diff = PredictionCostCrossColor(&accumulated_red_histo[0], &histo[0]); in GetBestColorTransformForTile()
917 cur_diff -= 3; // favor keeping the areas locally similar in GetBestColorTransformForTile()
920 cur_diff -= 3; // favor keeping the areas locally similar in GetBestColorTransformForTile()
923 cur_diff -= 3; in GetBestColorTransformForTile()
925 if (cur_diff < best_diff) { in GetBestColorTransformForTile()
[all …]