Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dpredictor_enc.c346 float cur_diff; in GetBestPredictorForTile() local
385 cur_diff = PredictionCostSpatialHistogram( in GetBestPredictorForTile()
388 if (mode == left_mode) cur_diff -= kSpatialPredictorBias; in GetBestPredictorForTile()
389 if (mode == above_mode) cur_diff -= kSpatialPredictorBias; in GetBestPredictorForTile()
391 if (cur_diff < best_diff) { in GetBestPredictorForTile()
395 best_diff = cur_diff; in GetBestPredictorForTile()
545 float cur_diff; in GetPredictionCostCrossColorRed() local
550 cur_diff = PredictionCostCrossColor(accumulated_red_histo, histo); in GetPredictionCostCrossColorRed()
552 cur_diff -= 3; // favor keeping the areas locally similar in GetPredictionCostCrossColorRed()
555 cur_diff -= 3; // favor keeping the areas locally similar in GetPredictionCostCrossColorRed()
[all …]