Home
last modified time | relevance | path

Searched refs:best_diff (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dpredictor_enc.c332 float best_diff = MAX_DIFF_COST; in GetBestPredictorForTile() local
391 if (cur_diff < best_diff) { in GetBestPredictorForTile()
395 best_diff = cur_diff; in GetBestPredictorForTile()
570 float best_diff = GetPredictionCostCrossColorRed( in GetBestGreenToRed() local
584 if (cur_diff < best_diff) { in GetBestGreenToRed()
585 best_diff = cur_diff; in GetBestGreenToRed()
641 float best_diff = GetPredictionCostCrossColorBlue( in GetBestGreenRedToBlue() local
654 if (cur_diff < best_diff) { in GetBestGreenRedToBlue()
655 best_diff = cur_diff; in GetBestGreenRedToBlue()
/third_party/skia/modules/skplaintexteditor/src/
H A Deditor.cpp269 float best_diff = ::fabsf(bounds[best_index].x() - x); in find_closest_x() local
272 if (d < best_diff) { in find_closest_x()
273 best_diff = d; in find_closest_x()
/third_party/ffmpeg/libavcodec/
H A Dac3enc.c2359 long long best_diff = INT64_MAX; in validate_options() local
2363 if (diff < best_diff) { in validate_options()
2366 best_diff = diff; in validate_options()
2368 if (!best_diff) in validate_options()
/third_party/ffmpeg/libavfilter/
H A Davfiltergraph.c808 int best_idx, best_diff = INT_MAX; in swap_samplerates_on_filter() local
817 av_assert0(diff < INT_MAX); // This would lead to the use of uninitialized best_diff but is only possible with invalid sample rates in swap_samplerates_on_filter()
819 if (diff < best_diff) { in swap_samplerates_on_filter()
820 best_diff = diff; in swap_samplerates_on_filter()

Completed in 9 milliseconds