Home
last modified time | relevance | path

Searched refs:max_top (Results 1 – 25 of 90) sorted by relevance

1234

/dports/graphics/tesseract/tesseract-5.0.0/src/ccmain/
H A Dfixxht.cpp83 int min_bottom, max_bottom, min_top, max_top; in CountMisfitTops() local
84 unicharset.get_top_bottom(class_id, &min_bottom, &max_bottom, &min_top, &max_top); in CountMisfitTops()
85 if (max_top - min_top > kMaxCharTopRange) { in CountMisfitTops()
89 top < min_top - x_ht_acceptance_tolerance || top > max_top + x_ht_acceptance_tolerance; in CountMisfitTops()
123 int min_bottom, max_bottom, min_top, max_top; in ComputeCompatibleXheight() local
124 unicharset.get_top_bottom(class_id, &min_bottom, &max_bottom, &min_top, &max_top); in ComputeCompatibleXheight()
126 if (max_top - min_top > kMaxCharTopRange) { in ComputeCompatibleXheight()
130 top - (max_top + x_ht_acceptance_tolerance)); in ComputeCompatibleXheight()
135 max_top, bottom, top); in ComputeCompatibleXheight()
141 max_top - kBlnBaselineOffset >= kBlnXHeight && misfit_dist > 0) { in ComputeCompatibleXheight()
[all …]
H A Dsuperscript.cpp531 int min_bot, max_bot, min_top, max_top; in BelievableSuperscript() local
532 wc.unicharset()->get_top_bottom(unichar_id, &min_bot, &max_bot, &min_top, &max_top); in BelievableSuperscript()
533 float hi_height = max_top - max_bot; in BelievableSuperscript()
/dports/net/guacamole-server/guacamole-server-1.3.0/src/common/
H A Drect.c65 int max_top = max->y; in guac_common_rect_constrain() local
67 int max_bottom = max_top + max->height; in guac_common_rect_constrain()
71 if (max_top > top) top = max_top; in guac_common_rect_constrain()
107 int max_top = max_rect->y; in guac_common_rect_expand_to_grid() local
109 int max_bottom = max_top + max_rect->height; in guac_common_rect_expand_to_grid()
150 if (top < max_top) { in guac_common_rect_expand_to_grid()
151 top = max_top; in guac_common_rect_expand_to_grid()
154 else if (top < max_top) { in guac_common_rect_expand_to_grid()
157 dh = max_top - top; in guac_common_rect_expand_to_grid()
/dports/graphics/tesseract/tesseract-5.0.0/src/ccutil/
H A Dunicharset.cpp112 max_top = UINT8_MAX; in SetRangesOpen()
126 max_top = 0; in SetRangesEmpty()
146 UpdateRange(src.min_top, &min_top, &max_top); in ExpandRangesFrom()
147 UpdateRange(src.max_top, &min_top, &max_top); in ExpandRangesFrom()
477 int overlap = std::min(unichars[id1].properties.max_top, in SizesDistinct()
478 unichars[id2].properties.max_top) - in SizesDistinct()
581 UpdateRange(src_props.max_top, &props->min_top, &props->max_top); in GetStrProperties()
724 int min_bottom, max_bottom, min_top, max_top; in save_to_string() local
803 int max_top = UINT8_MAX; in load_via_fgets() local
856 max_top >> std::setw(63) >> script >> other_case; in load_via_fgets()
[all …]
H A Dunicharset.h587 int *min_top, int *max_top) const { in get_top_bottom() argument
590 *max_bottom = *max_top = 256; // kBlnCellHeight in get_top_bottom()
597 *max_top = unichars[unichar_id].properties.max_top; in get_top_bottom()
600 int min_top, int max_top) { in set_top_bottom() argument
607 unichars[unichar_id].properties.max_top = in set_top_bottom()
608 ClipToRange<int>(max_top, 0, UINT8_MAX); in set_top_bottom()
995 uint8_t max_top; member
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/display/win/
H A Dscaling_util.cc90 int max_top = std::max(a_rect.y(), b_rect.y()); in DisplayInfosTouch() local
96 (max_top == min_bottom && in DisplayInfosTouch()
107 int max_top = std::max(parent_rect.y(), current_rect.y()); in CalculateDisplayPosition() local
110 if (max_left == min_right && max_top == min_bottom) { in CalculateDisplayPosition()
112 if (parent_rect.bottom() == max_top) in CalculateDisplayPosition()
127 if (max_top == min_bottom && in CalculateDisplayPosition()
131 return parent_rect.y() == max_top in CalculateDisplayPosition()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/display/win/
H A Dscaling_util.cc92 int max_top = std::max(a_rect.y(), b_rect.y()); in DisplayInfosTouch() local
98 (max_top == min_bottom && in DisplayInfosTouch()
109 int max_top = std::max(parent_rect.y(), current_rect.y()); in CalculateDisplayPosition() local
112 if (max_left == min_right && max_top == min_bottom) { in CalculateDisplayPosition()
114 if (parent_rect.bottom() == max_top) in CalculateDisplayPosition()
129 if (max_top == min_bottom && in CalculateDisplayPosition()
133 return parent_rect.y() == max_top in CalculateDisplayPosition()
/dports/graphics/opencv/opencv-4.5.3/modules/gapi/src/backends/render/
H A Dft_render.cpp105 int max_top = 0; in getTextSize() local
129 max_top = std::max(max_top, m_face->glyph->bitmap_top); in getTextSize()
151 return {pen.x, max_bot + max_top}; in getTextSize()
/dports/graphics/libpillowfight/libpillowfight-dae21f97de872e4ad2e94f1b0fc53302a00259fd/src/pillowfight/
H A D_blurfilter.c54 int max_top; in pf_unpaper_blurfilter() local
73 max_top = out->size.y - SCAN_SIZE; in pf_unpaper_blurfilter()
100 for (top = 0 ; top <= max_top ; top += SCAN_SIZE) { in pf_unpaper_blurfilter()
/dports/graphics/py-pypillowfight/pypillowfight-0.3.0/src/pillowfight/
H A D_blurfilter.c54 int max_top; in pf_unpaper_blurfilter() local
73 max_top = out->size.y - SCAN_SIZE; in pf_unpaper_blurfilter()
100 for (top = 0 ; top <= max_top ; top += SCAN_SIZE) { in pf_unpaper_blurfilter()
/dports/graphics/tesseract/tesseract-5.0.0/src/ccstruct/
H A Dnormalis.cpp459 int min_bottom, max_bottom, min_top, max_top; in XHeightRange() local
460 unicharset.get_top_bottom(unichar_id, &min_bottom, &max_bottom, &min_top, &max_top); in XHeightRange()
482 } else if (top > max_top + tolerance) { in XHeightRange()
483 top_shift = top - max_top; in XHeightRange()
494 if (max_top == kBlnCellHeight - 1 && top > kBlnCellHeight - kBlnBaselineOffset / 2) { in XHeightRange()
495 max_top += kBlnBaselineOffset; in XHeightRange()
500 double max_height = max_top - kBlnBaselineOffset + tolerance; in XHeightRange()
/dports/devel/hyperscan/boost_1_75_0/boost/beast/_experimental/unit_test/
H A Dreporter.hpp77 max_top = 10 enumerator
173 if(top.size() > max_top) in add()
174 top.resize(max_top); in add()
/dports/science/py-scipy/scipy-1.7.1/scipy/_lib/boost/boost/beast/_experimental/unit_test/
H A Dreporter.hpp77 max_top = 10 enumerator
173 if(top.size() > max_top) in add()
174 top.resize(max_top); in add()
/dports/devel/R-cran-BH/BH/inst/include/boost/beast/_experimental/unit_test/
H A Dreporter.hpp77 max_top = 10 enumerator
173 if(top.size() > max_top) in add()
174 top.resize(max_top); in add()
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/boost/beast/_experimental/unit_test/
H A Dreporter.hpp77 max_top = 10 enumerator
173 if(top.size() > max_top) in add()
174 top.resize(max_top); in add()
/dports/devel/boost-libs/boost_1_72_0/boost/beast/_experimental/unit_test/
H A Dreporter.hpp77 max_top = 10 enumerator
173 if(top.size() > max_top) in add()
174 top.resize(max_top); in add()
/dports/devel/boost-python-libs/boost_1_72_0/boost/beast/_experimental/unit_test/
H A Dreporter.hpp77 max_top = 10 enumerator
173 if(top.size() > max_top) in add()
174 top.resize(max_top); in add()
/dports/devel/boost-docs/boost_1_72_0/boost/beast/_experimental/unit_test/
H A Dreporter.hpp77 max_top = 10 enumerator
173 if(top.size() > max_top) in add()
174 top.resize(max_top); in add()
/dports/x11-wm/fluxbox/fluxbox-1.3.7/src/
H A DMinOverlapPlacement.cc211 int max_top = std::max(top, ar_it->y); in placeWindow() local
214 if (min_right > max_left && min_bottom > max_top) in placeWindow()
215 overlap += (min_right - max_left) * (min_bottom - max_top); in placeWindow()
/dports/devel/efl/efl-1.25.1/src/lib/evas/common/
H A Devas_tiler.c355 int max_left, min_right, max_top, min_bottom; in _calc_intra_rect_area() local
363 if (a.top < b.top) max_top = b.top; in _calc_intra_rect_area()
364 else max_top = a.top; in _calc_intra_rect_area()
367 *height = min_bottom - max_top; in _calc_intra_rect_area()
487 int min_top, max_top, min_bottom, max_bottom; in _calc_intra_outer_rect_area() local
517 max_top = b.top; in _calc_intra_outer_rect_area()
522 max_top = a.top; in _calc_intra_outer_rect_area()
535 intra->top = max_top; in _calc_intra_outer_rect_area()
537 intra->height = min_bottom - max_top; in _calc_intra_outer_rect_area()
/dports/math/z3/z3-z3-4.8.13/src/sat/smt/
H A Dq_clause.h71 binding(clause& c, app* pat, unsigned max_generation, unsigned min_top, unsigned max_top): in binding()
76 m_max_top_generation(max_top) {} in binding()
/dports/editors/le/le-1.16.6/src/
H A Dscreen.cc941 offs max_top=(TextEnd-TextWinHeight*16+15)&~15; in CenterView() local
942 if(ScreenTop>max_top) in CenterView()
943 ScreenTop=max_top; in CenterView()
956 offs max_top=PrevNLines(TextEnd,TextWinHeight-1); in CenterView() local
957 if(max_top<ScreenTop) in CenterView()
959 ScreenTop=max_top; in CenterView()
/dports/devel/efl/efl-1.25.1/src/lib/eina/
H A Deina_tiler.c234 int max_left, min_right, max_top, min_bottom; in _calc_intra_rect_area() local
249 max_top = b.top; in _calc_intra_rect_area()
251 max_top = a.top; in _calc_intra_rect_area()
258 *height = min_bottom - max_top; in _calc_intra_rect_area()
328 int min_top, max_top, min_bottom, max_bottom; in _calc_intra_outer_rect_area() local
362 max_top = b.top; in _calc_intra_outer_rect_area()
367 max_top = a.top; in _calc_intra_outer_rect_area()
382 intra->top = max_top; in _calc_intra_outer_rect_area()
384 intra->height = min_bottom - max_top; in _calc_intra_outer_rect_area()
/dports/net-mgmt/icingaweb2/icingaweb2-2.8.2/library/vendor/dompdf/src/
H A DCellmap.php599 $max_top = $max_bottom = 0;
608 … $max_top = max($max_top, $this->_resolve_border($this->__row, $col, "horizontal", $bp["top"]));
635 $style->border_top_width = $max_top / 2;
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/rand_distr-0.4.2/src/
H A Dhypergeometric.rs89 let max_top = u64::max(numerator.0, numerator.1); in fraction_of_products_of_factorials() localVariable
91 let max_all = u64::max(max_top, max_bottom); in fraction_of_products_of_factorials()
103 if i <= max_top { in fraction_of_products_of_factorials()

1234