Home
last modified time | relevance | path

Searched refs:median_offset (Results 1 – 2 of 2) sorted by relevance

/dports/graphics/tesseract/tesseract-5.0.0/src/textord/
H A Dbaselinedetect.cpp800 double median_offset = MedianOfCircularValues(m_in, offsets); in FitLineSpacingModel() local
806 int row_index = IntCastRounded((y_pos - median_offset) / m_in); in FitLineSpacingModel()
841 median_offset, *m_out, *c_out, rms_error); in FitLineSpacingModel()
/dports/multimedia/librist/librist-5c1f4a06ab46e16e6bba42fe7381d8353020a1fd/src/
H A Drist-common.c481 uint64_t median_offset = flow->offset_recalc_samples[middle]; in recalculate_clock_offset() local
484 uint64_t negative = (median_offset < (uint64_t)flow->time_offset); in recalculate_clock_offset()
486 diff = flow->time_offset - median_offset; in recalculate_clock_offset()
488 diff = median_offset - flow->time_offset; in recalculate_clock_offset()
490 flow->time_offset, median_offset, negative? '-': '+', (diff * 1000 / RIST_CLOCK)); in recalculate_clock_offset()
491 flow->time_offset = median_offset; in recalculate_clock_offset()