/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/test/features/ |
H A D | test_ii_normals.cpp | 82 for (unsigned window_height = min_window_size; window_height < max_window_size; ++window_height) in TEST() local 96 …EXPECT_EQ (window_height * result, integral_image1.getSecondOrderSum (xIdx, yIdx, window_width, wi… in TEST() 119 for (unsigned window_height = min_window_size; window_height < max_window_size; ++window_height) in TEST() local 156 for (unsigned window_height = min_window_size; window_height < max_window_size; ++window_height) in TEST() local 177 for (unsigned window_height = min_window_size; window_height < max_window_size; ++window_height) in TEST() local 199 for (unsigned window_height = min_window_size; window_height < max_window_size; ++window_height) in TEST() local 246 for (unsigned window_height = min_window_size; window_height < max_window_size; ++window_height) in TEST() local 292 for (unsigned window_height = min_window_size; window_height < max_window_size; ++window_height) in TEST() local 301 EXPECT_EQ (window_width * window_height * (window_height + 2 * yIdx - 1), sum[1] * 2); in TEST() 302 …EXPECT_EQ (window_width * window_height * (window_height + 2 * yIdx - 1) + window_height * window_… in TEST() [all …]
|
/dports/multimedia/mlt6-qt5/mlt-6.26.1/src/modules/videostab/stab/klt/ |
H A D | klt.c | 33 tc->window_height = 7; in KLTCreateTrackingContext() 152 if (tc->window_height % 2 != 1) { in KLTChangeTCPyramid() 153 tc->window_height = tc->window_height+1; in KLTChangeTCPyramid() 155 "Changing to %d.\n", tc->window_height); in KLTChangeTCPyramid() 162 if (tc->window_height < 3) { in KLTChangeTCPyramid() 163 tc->window_height = 3; in KLTChangeTCPyramid() 165 "Changing to %d.\n", tc->window_height); in KLTChangeTCPyramid() 234 if (tc->window_height % 2 != 1) { in KLTUpdateTCBorder() 235 tc->window_height = tc->window_height+1; in KLTUpdateTCBorder() 244 if (tc->window_height < 3) { in KLTUpdateTCBorder() [all …]
|
/dports/multimedia/py-mlt6/mlt-6.26.1/src/modules/videostab/stab/klt/ |
H A D | klt.c | 33 tc->window_height = 7; in KLTCreateTrackingContext() 152 if (tc->window_height % 2 != 1) { in KLTChangeTCPyramid() 153 tc->window_height = tc->window_height+1; in KLTChangeTCPyramid() 155 "Changing to %d.\n", tc->window_height); in KLTChangeTCPyramid() 162 if (tc->window_height < 3) { in KLTChangeTCPyramid() 163 tc->window_height = 3; in KLTChangeTCPyramid() 165 "Changing to %d.\n", tc->window_height); in KLTChangeTCPyramid() 234 if (tc->window_height % 2 != 1) { in KLTUpdateTCBorder() 235 tc->window_height = tc->window_height+1; in KLTUpdateTCBorder() 244 if (tc->window_height < 3) { in KLTUpdateTCBorder() [all …]
|
/dports/multimedia/mlt6/mlt-6.26.1/src/modules/videostab/stab/klt/ |
H A D | klt.c | 33 tc->window_height = 7; in KLTCreateTrackingContext() 152 if (tc->window_height % 2 != 1) { in KLTChangeTCPyramid() 153 tc->window_height = tc->window_height+1; in KLTChangeTCPyramid() 155 "Changing to %d.\n", tc->window_height); in KLTChangeTCPyramid() 162 if (tc->window_height < 3) { in KLTChangeTCPyramid() 163 tc->window_height = 3; in KLTChangeTCPyramid() 165 "Changing to %d.\n", tc->window_height); in KLTChangeTCPyramid() 234 if (tc->window_height % 2 != 1) { in KLTUpdateTCBorder() 235 tc->window_height = tc->window_height+1; in KLTUpdateTCBorder() 244 if (tc->window_height < 3) { in KLTUpdateTCBorder() [all …]
|
/dports/graphics/glfw2/glfw-2.7.9/tests/ |
H A D | accuracy.c | 38 static int window_width = 640, window_height = 480; variable 43 window_height = height; in window_size_callback() 45 glViewport(0, 0, window_width, window_height); in window_size_callback() 49 gluOrtho2D(0.f, window_width, 0.f, window_height); in window_size_callback() 66 if (!glfwOpenWindow(window_width, window_height, 0, 0, 0, 0, 0, 0, GLFW_WINDOW)) in main() 91 glVertex2f(0.f, (GLfloat) window_height - cursor_y); in main() 92 glVertex2f((GLfloat) window_width, (GLfloat) window_height - cursor_y); in main() 94 glVertex2f((GLfloat) cursor_x, (GLfloat) window_height); in main()
|
/dports/games/craft/Craft-1.0fbsd/deps/glfw/tests/ |
H A D | accuracy.c | 39 static int window_width = 640, window_height = 480; variable 62 window_height = height; in framebuffer_size_callback() 64 glViewport(0, 0, window_width, window_height); in framebuffer_size_callback() 68 gluOrtho2D(0.f, window_width, 0.f, window_height); in framebuffer_size_callback() 93 window = glfwCreateWindow(window_width, window_height, "", NULL, NULL); in main() 116 glVertex2f(0.f, (GLfloat) (window_height - cursor_y)); in main() 117 glVertex2f((GLfloat) window_width, (GLfloat) (window_height - cursor_y)); in main() 119 glVertex2f((GLfloat) cursor_x, (GLfloat) window_height); in main()
|
/dports/graphics/art/ART-1.9.3/rtengine/klt/ |
H A D | klt.cc | 103 tc->window_height = window_size; in KLTCreateTrackingContext() 305 if (tc->window_height % 2 != 1) { in KLTChangeTCPyramid() 306 tc->window_height = tc->window_height+1; in KLTChangeTCPyramid() 308 "Changing to %d.\n", tc->window_height); in KLTChangeTCPyramid() 315 if (tc->window_height < 3) { in KLTChangeTCPyramid() 316 tc->window_height = 3; in KLTChangeTCPyramid() 318 "Changing to %d.\n", tc->window_height); in KLTChangeTCPyramid() 387 if (tc->window_height % 2 != 1) { in KLTUpdateTCBorder() 388 tc->window_height = tc->window_height+1; in KLTUpdateTCBorder() 397 if (tc->window_height < 3) { in KLTUpdateTCBorder() [all …]
|
/dports/graphics/rawtherapee/rawtherapee-5.8/rtengine/klt/ |
H A D | klt.cc | 103 tc->window_height = window_size; in KLTCreateTrackingContext() 305 if (tc->window_height % 2 != 1) { in KLTChangeTCPyramid() 306 tc->window_height = tc->window_height+1; in KLTChangeTCPyramid() 308 "Changing to %d.\n", tc->window_height); in KLTChangeTCPyramid() 315 if (tc->window_height < 3) { in KLTChangeTCPyramid() 316 tc->window_height = 3; in KLTChangeTCPyramid() 318 "Changing to %d.\n", tc->window_height); in KLTChangeTCPyramid() 387 if (tc->window_height % 2 != 1) { in KLTUpdateTCBorder() 388 tc->window_height = tc->window_height+1; in KLTUpdateTCBorder() 397 if (tc->window_height < 3) { in KLTUpdateTCBorder() [all …]
|
/dports/devel/interactive_rebase_tool/git-interactive-rebase-tool-1.2.1/src/scroll/ |
H A D | scroll_position.rs | 27 pub(crate) fn scroll_up(&self, window_height: usize, lines_length: usize) { in scroll_up() 28 self.update_top(true, window_height, lines_length); in scroll_up() 31 pub(crate) fn scroll_down(&self, window_height: usize, lines_length: usize) { in scroll_down() 32 self.update_top(false, window_height, lines_length); in scroll_down() 63 …pub(crate) fn ensure_cursor_visible(&self, cursor: usize, window_height: usize, lines_length: usiz… in ensure_cursor_visible() 64 let view_height = window_height - self.padding; in ensure_cursor_visible() 94 fn update_top(&self, scroll_up: bool, window_height: usize, lines_length: usize) { in update_top() 95 let view_height = window_height - self.padding; in update_top()
|
/dports/x11-wm/jewel/jewel-0.12.41/goodies/appbar/ |
H A D | appbar.cc | 228 window_height, in Appbar() 311 new_y = -(window_height-9); in appbarScreenPlacement() 356 new_y = -(window_height-9); in appbarScreenPlacement() 488 window_height= 5; in verticalBarIconPlacement() 491 window_height=5; in verticalBarIconPlacement() 494 window_height=13; in verticalBarIconPlacement() 504 window_height += 15; in verticalBarIconPlacement() 728 window_width-10, window_height); in drawHorizontalBarGrill() 737 10, window_height); in drawHorizontalBarGrill() 757 0, window_height-10, in drawVerticalBarGrill() [all …]
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/widgetry/src/ |
H A D | canvas.rs | 31 pub window_height: f64, field 63 window_height: initial_dims.height, in new() 82 .min(percent_window * self.window_height / self.map_dims.1) in min_zoom() 124 ScreenPt::new(self.window_width / 2.0, self.window_height / 2.0), in handle_event() 238 ScreenPt::new(self.window_width / 2.0, self.window_height / 2.0) in center_to_screen_pt() 247 self.cam_y = (pt.y() * self.cam_zoom) - (self.window_height / 2.0); in center_on_map_pt() 264 self.window_height - PANNING_THRESHOLD, in get_inner_bounds() 272 ScreenDims::new(self.window_width, self.window_height) in get_window_dims() 329 VerticalAlignment::Center => (self.window_height - dims.height) / 2.0, in align_window() 330 VerticalAlignment::Bottom => self.window_height - dims.height, in align_window() [all …]
|
/dports/graphics/rawstudio/rawstudio-2.0/src/ |
H A D | rs-loupe.c | 178 gint window_width, window_height; in move() local 179 gtk_window_get_size(GTK_WINDOW(loupe), &window_width, &window_height); in move() 199 if ((cursor_y - window_height - distance_to_window) < distance_to_border) in move() 204 if ((cursor_y + window_height + distance_to_window) > (screen_height - distance_to_border)) in move() 215 place_y = cursor_y - window_height - distance_to_window; in move() 239 gint window_width, window_height; in redraw() local 240 gtk_window_get_size(GTK_WINDOW(loupe), &window_width, &window_height); in redraw() 246 roi.y = CLAMP(loupe->center_y - window_height/2, 0, height-window_height-1); in redraw() 248 roi.height = window_height; in redraw()
|
/dports/games/tuxpaint/tuxpaint-0.9.26/src/ |
H A D | tuxpaint-import.sh | 101 window_height=600 107 window_height=`echo $x | cut -d = -f 2 | cut -d x -f 2` 114 window_height=`echo $x | cut -d = -f 2 | cut -d x -f 2` 121 window_height=`echo $x | cut -d = -f 2 | cut -d x -f 2` 129 height=`expr $window_height - 104` 132 echo "Using $width x $height images (for $window_width x $window_height Tux Paint"
|
/dports/games/wesnoth/wesnoth-1.14.17/data/gui/widget/ |
H A D | panel_box_display.cfg | 82 {_GUI_RESOLUTION (window_width,window_height = 800, 600) 10 5 10 5 ({_PANEL_BLUR}) } 83 {_GUI_RESOLUTION (window_width,window_height = 850, 650) 25 5 9 14 ({_PANEL_BLUR}) } 92 {_GUI_RESOLUTION (window_width,window_height = 800, 600) 10 5 10 5 () } 93 {_GUI_RESOLUTION (window_width,window_height = 850, 650) 25 5 9 14 () } 102 {_GUI_RESOLUTION (window_width,window_height = 800, 600) 3 5 10 5 () } 103 {_GUI_RESOLUTION (window_width,window_height = 850, 650) 3 5 9 14 () }
|
/dports/graphics/glx-utils/demos-5435fc7fbd332e171da9a71e33a9b190e9462cf0/src/egl/openvg/trivial/ |
H A D | readpixels.c | 35 vgClear(0, 0, window_width(), window_height()); in draw() 38 memset(data, 0, window_width() * window_height() * sizeof(VGint)); in draw() 42 0, 0, window_width(), window_height()); in draw() 46 for (i = 0; i < window_width() * window_height(); ++i) { in draw() 54 memset(data, 0, window_width() * window_height() * sizeof(VGint)); in draw()
|
/dports/graphics/mesa-demos/mesa-demos-8.4.0/src/egl/openvg/trivial/ |
H A D | readpixels.c | 35 vgClear(0, 0, window_width(), window_height()); in draw() 38 memset(data, 0, window_width() * window_height() * sizeof(VGint)); in draw() 42 0, 0, window_width(), window_height()); in draw() 46 for (i = 0; i < window_width() * window_height(); ++i) { in draw() 54 memset(data, 0, window_width() * window_height() * sizeof(VGint)); in draw()
|
/dports/misc/ytree/ytree-2.03/ |
H A D | filewin.c | 28 static int window_height; variable 980 for( y=0; y < window_height; y++ ) in DisplayFiles() 1098 *cursor_pos % window_height, in fmoveright() 1506 dir_entry->cursor_pos % window_height, in HandleFileWindow() 1507 dir_entry->cursor_pos / window_height, in HandleFileWindow() 2778 max_disp_files = window_height * max_column; in WalkTaggedFiles() 2793 cursor_pos % window_height, in WalkTaggedFiles() 2794 cursor_pos / window_height, in WalkTaggedFiles() 2802 cursor_pos % window_height, in WalkTaggedFiles() 2803 cursor_pos / window_height, in WalkTaggedFiles() [all …]
|
/dports/games/vamos/vamos-0.7.1/body/ |
H A D | Gl_Car.cc | 210 make_rear_view_mask (window_width, window_height); in update_rear_view_mask() 215 Gl_Car::make_rear_view_mask (int window_width, int window_height) in make_rear_view_mask() argument 220 glViewport (0, 0, window_width, window_height); in make_rear_view_mask() 221 glScissor (0, 0, window_width, window_height); in make_rear_view_mask() 241 (*it)->make_mask (window_width, window_height, in make_rear_view_mask() 250 Rear_View_Mirror::make_mask (int window_width, int window_height, in make_mask() argument 256 set_viewport (window_width, window_height, in make_mask() 259 set_stencil (window_width, window_height); in make_mask() 276 const double aspect = double (window_width) / window_height; in set_viewport() 281 const int y0 = to_pixels (window_height, y_factor, pos.z) - 1; in set_viewport() [all …]
|
/dports/misc/vxl/vxl-3.3.2/core/vgui/tests/ |
H A D | test_wx.cxx | 37 draw_stuff(int window_width, int window_height, double scale = 0); 142 draw_stuff(int window_width, int window_height, double scale) in draw_stuff() argument 155 int topleft_x = 0, topleft_y = 0, bottomright_x = window_width, bottomright_y = window_height; in draw_stuff() 165 window_height, in draw_stuff() 196 glVertex3f(window_width * .05, window_height * .05, 0); in draw_stuff() 198 glVertex3f(window_width * .95, window_height * .05, 0); in draw_stuff() 200 glVertex3f(window_width * .95, window_height * .95, 0); in draw_stuff() 202 glVertex3f(window_width * .05, window_height * .95, 0); in draw_stuff() 218 glRasterPos2d(window_width / 2, window_height / 2); in draw_stuff() 239 glRasterPos2d(window_width / 2, window_height / 2); in draw_stuff()
|
/dports/devel/py-prompt-toolkit2/prompt_toolkit-2.0.10/prompt_toolkit/layout/ |
H A D | margins.py | 115 while y < window_render_info.window_height: 161 window_height = window_render_info.window_height 165 window_height -= 2 171 scrollbar_height = int(min(window_height, max(1, window_height * fraction_visible))) 172 scrollbar_top = int(window_height * fraction_above) 194 for i in range(window_height):
|
/dports/devel/py-lineedit/lineedit-0.1.6/lineedit/deps/prompt_toolkit/layout/ |
H A D | margins.py | 115 while y < window_render_info.window_height: 161 window_height = window_render_info.window_height 165 window_height -= 2 171 scrollbar_height = int(min(window_height, max(1, window_height * fraction_visible))) 172 scrollbar_top = int(window_height * fraction_above) 194 for i in range(window_height):
|
/dports/graphics/plotutils/plotutils-2.6/libplot/ |
H A D | y_erase.c | 41 int window_width, window_height; in _pl_y_erase_page() local 52 window_height = (_plotter->data->jmin - _plotter->data->jmax) + 1; in _pl_y_erase_page() 116 (unsigned int)window_height, in _pl_y_erase_page() 124 (unsigned int)window_height, in _pl_y_erase_page() 136 (unsigned int)window_height); in _pl_y_erase_page() 147 (unsigned int)window_width, (unsigned int)window_height); in _pl_y_erase_page() 153 (unsigned int)window_width, (unsigned int)window_height); in _pl_y_erase_page()
|
H A D | x_erase.c | 42 int window_width, window_height; in _pl_x_erase_page() local 53 window_height = (_plotter->data->jmin - _plotter->data->jmax) + 1; in _pl_x_erase_page() 117 (unsigned int)window_height, in _pl_x_erase_page() 125 (unsigned int)window_height, in _pl_x_erase_page() 137 (unsigned int)window_height); in _pl_x_erase_page() 148 (unsigned int)window_width, (unsigned int)window_height); in _pl_x_erase_page() 154 (unsigned int)window_width, (unsigned int)window_height); in _pl_x_erase_page()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/i2c/et8ek8/ |
H A D | et8ek8_mode.c | 45 .window_height = 1968, 146 .window_height = 1968, 202 .window_height = 984, 258 .window_height = 656, 314 .window_height = 492, 370 .window_height = 1968, 425 .window_height = 492, 481 .window_height = 984, 537 .window_height = 984,
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/i2c/et8ek8/ |
H A D | et8ek8_mode.c | 45 .window_height = 1968, 146 .window_height = 1968, 202 .window_height = 984, 258 .window_height = 656, 314 .window_height = 492, 370 .window_height = 1968, 425 .window_height = 492, 481 .window_height = 984, 537 .window_height = 984,
|