Searched refs:tolerance (Results 1 – 2 of 2) sorted by relevance
320 guint64 expected, guint64 tolerance, guint64 *frametimestamp) { in get_expected_frame_from_array() argument330 if (!array || !expected || !tolerance || !frametimestamp || expected < tolerance) { in get_expected_frame_from_array()375 if (lowest_timestamp <= expected + tolerance) in get_expected_frame_from_array()466 guint64 tolerance = fm->frame_timestamp_delta / 4; in mix_framemanager_timestamp_based_enqueue() local475 if (timestamp <= fm->next_frame_timestamp + tolerance) { in mix_framemanager_timestamp_based_enqueue()485 if (timestamp >= fm->next_frame_timestamp - tolerance) in mix_framemanager_timestamp_based_enqueue()496 fm->frame_array, fm->next_frame_timestamp, tolerance, in mix_framemanager_timestamp_based_enqueue()504 if (timestamp_frame_array >= fm->next_frame_timestamp - tolerance) in mix_framemanager_timestamp_based_enqueue()551 guint64 tolerance = fm->frame_timestamp_delta / 4; in mix_framemanager_timestamp_based_enqueue() local556 fm->frame_array, timestamp, tolerance, in mix_framemanager_timestamp_based_enqueue()[all …]
1973 double tolerance = 0.00001; in getPreviewSizeFromVideoSizes() local1991 if (fabs(videoRatio - previewRatio) < tolerance) { in getPreviewSizeFromVideoSizes()