Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
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/third_party/externals/libwebp/src/enc/
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/flutter/skia/experimental/editor/
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/skia/modules/skplaintexteditor/src/
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/libavfilter/
Davfiltergraph.c864 int best_idx, best_diff = INT_MAX; in swap_samplerates_on_filter() local
875 if (diff < best_diff) { in swap_samplerates_on_filter()
876 best_diff = diff; in swap_samplerates_on_filter()
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstamcvideoenc.c807 guint64 best_diff = G_MAXUINT64; in _find_nearest_frame() local
832 if (best == NULL || diff < best_diff) { in _find_nearest_frame()
835 best_diff = diff; in _find_nearest_frame()
Dgstamcvideodec.c640 guint64 best_diff = G_MAXUINT64; in _find_nearest_frame() local
665 if (best == NULL || diff < best_diff) { in _find_nearest_frame()
668 best_diff = diff; in _find_nearest_frame()
/third_party/gstreamer/gstreamer/gst/
Dgststructure.c2762 gdouble best_diff = G_MAXDOUBLE; in gst_structure_fixate_field_nearest_fraction() local
2766 GST_DEBUG ("target %g, best %g", target, best_diff); in gst_structure_fixate_field_nearest_fraction()
2788 if (!best || cur_diff < best_diff) { in gst_structure_fixate_field_nearest_fraction()
2791 best_diff = cur_diff; in gst_structure_fixate_field_nearest_fraction()
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkenc.c1036 GstClockTimeDiff best_diff = GST_CLOCK_STIME_NONE; in gst_msdkenc_find_best_frame() local
1064 if (!GST_CLOCK_STIME_IS_VALID (best_diff) || abs_diff < best_diff) { in gst_msdkenc_find_best_frame()
1066 best_diff = abs_diff; in gst_msdkenc_find_best_frame()
/third_party/ffmpeg/libavcodec/
Dac3enc.c2301 long long best_diff = INT64_MAX; in validate_options() local
2305 if (diff < best_diff) { in validate_options()
2308 best_diff = diff; in validate_options()
2310 if (!best_diff) in validate_options()