Lines Matching refs:cur_diff
579 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()
849 const float cur_diff = GetPredictionCostCrossColorRed( in GetBestGreenToRed() local
852 if (cur_diff < best_diff) { in GetBestGreenToRed()
853 best_diff = cur_diff; in GetBestGreenToRed()
879 float cur_diff; in GetPredictionCostCrossColorBlue() local
884 cur_diff = PredictionCostCrossColor(accumulated_blue_histo, histo); in GetPredictionCostCrossColorBlue()
886 cur_diff -= 3; // favor keeping the areas locally similar in GetPredictionCostCrossColorBlue()
889 cur_diff -= 3; // favor keeping the areas locally similar in GetPredictionCostCrossColorBlue()
892 cur_diff -= 3; // favor keeping the areas locally similar in GetPredictionCostCrossColorBlue()
895 cur_diff -= 3; // favor keeping the areas locally similar in GetPredictionCostCrossColorBlue()
898 cur_diff -= 3; in GetPredictionCostCrossColorBlue()
901 cur_diff -= 3; in GetPredictionCostCrossColorBlue()
903 return cur_diff; in GetPredictionCostCrossColorBlue()
932 const float cur_diff = GetPredictionCostCrossColorBlue( in GetBestGreenRedToBlue() local
935 if (cur_diff < best_diff) { in GetBestGreenRedToBlue()
936 best_diff = cur_diff; in GetBestGreenRedToBlue()