Searched refs:best_diff (Results 1 – 10 of 10) sorted by relevance
332 float best_diff = MAX_DIFF_COST; in GetBestPredictorForTile() local391 if (cur_diff < best_diff) { in GetBestPredictorForTile()395 best_diff = cur_diff; in GetBestPredictorForTile()570 float best_diff = GetPredictionCostCrossColorRed( in GetBestGreenToRed() local584 if (cur_diff < best_diff) { in GetBestGreenToRed()585 best_diff = cur_diff; in GetBestGreenToRed()641 float best_diff = GetPredictionCostCrossColorBlue( in GetBestGreenRedToBlue() local654 if (cur_diff < best_diff) { in GetBestGreenRedToBlue()655 best_diff = cur_diff; in GetBestGreenRedToBlue()
269 float best_diff = ::fabsf(bounds[best_index].x() - x); in find_closest_x() local272 if (d < best_diff) { in find_closest_x()273 best_diff = d; in find_closest_x()
864 int best_idx, best_diff = INT_MAX; in swap_samplerates_on_filter() local875 if (diff < best_diff) { in swap_samplerates_on_filter()876 best_diff = diff; in swap_samplerates_on_filter()
807 guint64 best_diff = G_MAXUINT64; in _find_nearest_frame() local832 if (best == NULL || diff < best_diff) { in _find_nearest_frame()835 best_diff = diff; in _find_nearest_frame()
640 guint64 best_diff = G_MAXUINT64; in _find_nearest_frame() local665 if (best == NULL || diff < best_diff) { in _find_nearest_frame()668 best_diff = diff; in _find_nearest_frame()
2762 gdouble best_diff = G_MAXDOUBLE; in gst_structure_fixate_field_nearest_fraction() local2766 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()
1036 GstClockTimeDiff best_diff = GST_CLOCK_STIME_NONE; in gst_msdkenc_find_best_frame() local1064 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()
2301 long long best_diff = INT64_MAX; in validate_options() local2305 if (diff < best_diff) { in validate_options()2308 best_diff = diff; in validate_options()2310 if (!best_diff) in validate_options()