Home
last modified time | relevance | path

Searched refs:window_width (Results 1 – 25 of 1911) sorted by relevance

12345678910>>...77

/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/test/features/
H A Dtest_ii_normals.cpp80 for (unsigned window_width = min_window_size; window_width < max_window_size; ++window_width) in TEST() local
89 …ECT_EQ (window_height * window_width * (window_width + 2 * xIdx - 1), integral_image1.getFirstOrde… in TEST()
90 …ECT_EQ (window_height * window_width * (window_width + 2 * xIdx - 1), integral_image2.getFirstOrde… in TEST()
117 for (unsigned window_width = min_window_size; window_width < max_window_size; ++window_width) in TEST() local
125 …ECT_EQ (window_height * window_width * (window_width + 2 * xIdx - 1), integral_image1.getFirstOrde… in TEST()
154 for (unsigned window_width = min_window_size; window_width < max_window_size; ++window_width) in TEST() local
175 for (unsigned window_width = min_window_size; window_width < max_window_size; ++window_width) in TEST() local
197 for (unsigned window_width = min_window_size; window_width < max_window_size; ++window_width) in TEST() local
244 for (unsigned window_width = min_window_size; window_width < max_window_size; ++window_width) in TEST() local
290 for (unsigned window_width = min_window_size; window_width < max_window_size; ++window_width) in TEST() local
[all …]
/dports/devel/interactive_rebase_tool/git-interactive-rebase-tool-1.2.1/src/view/
H A Dmod.rs42 let (window_width, window_height) = self.get_view_size(); in check_window_size()
92 let (window_width, _) = self.display.get_window_size(); in draw_view_line()
93 let window_width = if scrollbar { window_width - 1 } else { window_width } as usize; in draw_view_line() localVariable
105 if start >= window_width { in draw_view_line()
116 if start < window_width { in draw_view_line()
117 let padding = " ".repeat(window_width - start); in draw_view_line()
125 let (window_width, _) = self.display.get_window_size(); in draw_title()
127 if window_width >= TITLE_LENGTH { in draw_title()
130 if window_width > TITLE_LENGTH + TITLE_HELP_INDICATOR_LENGTH { in draw_title()
144 else if (window_width - TITLE_LENGTH) > 0 { in draw_title()
[all …]
/dports/multimedia/mlt6-qt5/mlt-6.26.1/src/modules/videostab/stab/klt/
H A Dklt.c32 tc->window_width = 7; in KLTCreateTrackingContext()
147 if (tc->window_width % 2 != 1) { in KLTChangeTCPyramid()
148 tc->window_width = tc->window_width+1; in KLTChangeTCPyramid()
150 "Changing to %d.\n", tc->window_width); in KLTChangeTCPyramid()
157 if (tc->window_width < 3) { in KLTChangeTCPyramid()
158 tc->window_width = 3; in KLTChangeTCPyramid()
160 "Changing to %d.\n", tc->window_width); in KLTChangeTCPyramid()
229 if (tc->window_width % 2 != 1) { in KLTUpdateTCBorder()
230 tc->window_width = tc->window_width+1; in KLTUpdateTCBorder()
239 if (tc->window_width < 3) { in KLTUpdateTCBorder()
[all …]
/dports/multimedia/py-mlt6/mlt-6.26.1/src/modules/videostab/stab/klt/
H A Dklt.c32 tc->window_width = 7; in KLTCreateTrackingContext()
147 if (tc->window_width % 2 != 1) { in KLTChangeTCPyramid()
148 tc->window_width = tc->window_width+1; in KLTChangeTCPyramid()
150 "Changing to %d.\n", tc->window_width); in KLTChangeTCPyramid()
157 if (tc->window_width < 3) { in KLTChangeTCPyramid()
158 tc->window_width = 3; in KLTChangeTCPyramid()
160 "Changing to %d.\n", tc->window_width); in KLTChangeTCPyramid()
229 if (tc->window_width % 2 != 1) { in KLTUpdateTCBorder()
230 tc->window_width = tc->window_width+1; in KLTUpdateTCBorder()
239 if (tc->window_width < 3) { in KLTUpdateTCBorder()
[all …]
/dports/multimedia/mlt6/mlt-6.26.1/src/modules/videostab/stab/klt/
H A Dklt.c32 tc->window_width = 7; in KLTCreateTrackingContext()
147 if (tc->window_width % 2 != 1) { in KLTChangeTCPyramid()
148 tc->window_width = tc->window_width+1; in KLTChangeTCPyramid()
150 "Changing to %d.\n", tc->window_width); in KLTChangeTCPyramid()
157 if (tc->window_width < 3) { in KLTChangeTCPyramid()
158 tc->window_width = 3; in KLTChangeTCPyramid()
160 "Changing to %d.\n", tc->window_width); in KLTChangeTCPyramid()
229 if (tc->window_width % 2 != 1) { in KLTUpdateTCBorder()
230 tc->window_width = tc->window_width+1; in KLTUpdateTCBorder()
239 if (tc->window_width < 3) { in KLTUpdateTCBorder()
[all …]
/dports/games/powermanga/powermanga-0.93.1/src/
H A Dscript_page.c45 static Sint32 window_width = 1024; variable
86 window_width = width; in script_initialize()
1594 (float) sqrt ((n1 - (window_width / 2)) * (n1 - (window_width / 2)) + in script_wave_heights()
1655 for (x = 0; x < window_width; x++) in script_generate_page()
1977 (float) sqrt ((window_width / 2) * (window_width / 2) + in script_generate_page()
2008 if (ax >= window_width) in script_generate_page()
2040 (float) sqrt ((window_width / 2) * (window_width / 2) + in script_generate_page()
2075 if (ax >= window_width) in script_generate_page()
2177 if (n1 < window_width - 1) in script_generate_page()
2208 if (x >= window_width * 2) in script_generate_page()
[all …]
H A Ddisplay_x11.c146 window_width = display_width; in display_init()
150 window_width = display_width * 2; in display_init()
299 hints->x = (displayw - window_width) >> 1; in display_init()
301 hints->x = (displayw - window_width) >> 1; in display_init()
303 hints->min_width = window_width; in display_init()
305 hints->max_width = window_width; in display_init()
341 dga_enable, vmode, window_width); in display_init()
1084 Sint32 pitch = window_width * bytes_per_pixel; in display_scalex()
1111 0, 0, window_width, window_height); in display_scalex()
1241 window_width * bytes_per_pixel * 2 - in display_640x400()
[all …]
/dports/biology/garlic/garlic-1.6/
H A Daverage_hydrophobicity.c46 int window_width, half_window_width, windowI, combinedI; in AverageHydrophobicity_() local
56 window_width = runtimeSP->sliding_window_width; in AverageHydrophobicity_()
57 half_window_width = window_width / 2; in AverageHydrophobicity_()
75 for (windowI = 0; windowI < window_width; windowI++) in AverageHydrophobicity_()
94 if (used_residuesN == window_width) in AverageHydrophobicity_()
96 average_hydrophobicity /= (double) window_width; in AverageHydrophobicity_()
105 if (used_residuesN != window_width) continue; in AverageHydrophobicity_()
H A Dselect_pattern.c58 int window_width, windowI; in SelectPattern_() local
77 window_width = runtimeSP->pattern_length; in SelectPattern_()
78 if (window_width == 0) return (long) 0; in SelectPattern_()
98 max_residueI = residuesN - window_width; in SelectPattern_()
139 for (windowI = 0; windowI < window_width; windowI++) in SelectPattern_()
203 if (score + runtimeSP->pattern_tolerance >= window_width) in SelectPattern_()
206 for (windowI = 0; windowI < window_width; windowI++) in SelectPattern_()
H A Dweighted_hydrophobicity.c46 static int window_width = 11, half_window_width = 5; in WeightedHydrophobicity_() local
75 for (windowI = 0; windowI < window_width; windowI++) in WeightedHydrophobicity_()
94 if (used_residuesN == window_width) in WeightedHydrophobicity_()
96 weighted_hydrophobicity /= (double) window_width; in WeightedHydrophobicity_()
105 if (used_residuesN != window_width) continue; in WeightedHydrophobicity_()
/dports/graphics/art/ART-1.9.3/rtengine/klt/
H A Dklt.cc102 tc->window_width = window_size; in KLTCreateTrackingContext()
300 if (tc->window_width % 2 != 1) { in KLTChangeTCPyramid()
301 tc->window_width = tc->window_width+1; in KLTChangeTCPyramid()
303 "Changing to %d.\n", tc->window_width); in KLTChangeTCPyramid()
310 if (tc->window_width < 3) { in KLTChangeTCPyramid()
311 tc->window_width = 3; in KLTChangeTCPyramid()
313 "Changing to %d.\n", tc->window_width); in KLTChangeTCPyramid()
382 if (tc->window_width % 2 != 1) { in KLTUpdateTCBorder()
383 tc->window_width = tc->window_width+1; in KLTUpdateTCBorder()
392 if (tc->window_width < 3) { in KLTUpdateTCBorder()
[all …]
/dports/graphics/rawtherapee/rawtherapee-5.8/rtengine/klt/
H A Dklt.cc102 tc->window_width = window_size; in KLTCreateTrackingContext()
300 if (tc->window_width % 2 != 1) { in KLTChangeTCPyramid()
301 tc->window_width = tc->window_width+1; in KLTChangeTCPyramid()
303 "Changing to %d.\n", tc->window_width); in KLTChangeTCPyramid()
310 if (tc->window_width < 3) { in KLTChangeTCPyramid()
311 tc->window_width = 3; in KLTChangeTCPyramid()
313 "Changing to %d.\n", tc->window_width); in KLTChangeTCPyramid()
382 if (tc->window_width % 2 != 1) { in KLTUpdateTCBorder()
383 tc->window_width = tc->window_width+1; in KLTUpdateTCBorder()
392 if (tc->window_width < 3) { in KLTUpdateTCBorder()
[all …]
/dports/x11-wm/jewel/jewel-0.12.41/goodies/appbar/
H A Dappbar.cc78 window_width=0; in Appbar()
227 window_width, in Appbar()
334 new_x = -(window_width-9); in appbarScreenPlacement()
458 window_width = 1; in horizontalBarIconPlacement()
459 window_width= 5; in horizontalBarIconPlacement()
462 window_width=5; in horizontalBarIconPlacement()
465 window_width=13; in horizontalBarIconPlacement()
475 window_width += 15; in horizontalBarIconPlacement()
487 window_width = 1; in verticalBarIconPlacement()
727 window_width-10,0, in drawHorizontalBarGrill()
[all …]
/dports/graphics/glfw2/glfw-2.7.9/tests/
H A Daccuracy.c38 static int window_width = 640, window_height = 480; variable
42 window_width = width; 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()
92 glVertex2f((GLfloat) window_width, (GLfloat) window_height - cursor_y); in main()
/dports/graphics/glx-utils/demos-5435fc7fbd332e171da9a71e33a9b190e9462cf0/src/egl/openvg/trivial/
H A Dreadpixels.c35 vgClear(0, 0, window_width(), window_height()); in draw()
38 memset(data, 0, window_width() * window_height() * sizeof(VGint)); in draw()
40 vgReadPixels(data, window_width() * 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()
H A Dstroke2.c81 lineCoords[i] = temp[i] * window_width(); in init()
89 arcCoords[i] = temp[i] * window_width(); in init()
134 moveCoords[i] = temp[i] * window_width(); in init()
157 vgTranslate(0.25f * window_width(), 0.25f * window_height()); in init()
159 vgTranslate(-0.25f * window_width(), -0.25f * window_height()); in init()
171 vgClear(0, 0, window_width(), window_height()); in draw()
174 vgTranslate(0.25f * window_width(), 0.25f * window_height()); in draw()
176 vgTranslate(-0.25f * window_width(), -0.25f * window_height()); in draw()
H A Dlookup.c24 data = (VGubyte *)malloc(sizeof(VGubyte)*window_width()*window_height()); in init()
26 for (i=0;i<window_width()*window_height();i++) { in init()
39 vgImageSubData(parent, data, window_width(), VG_A_8, 0, 0, in init()
40 window_width(), window_height()); in init()
57 vgClear(0, 0, window_width(), window_height()); in draw()
/dports/graphics/mesa-demos/mesa-demos-8.4.0/src/egl/openvg/trivial/
H A Dreadpixels.c35 vgClear(0, 0, window_width(), window_height()); in draw()
38 memset(data, 0, window_width() * window_height() * sizeof(VGint)); in draw()
40 vgReadPixels(data, window_width() * 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()
H A Dstroke2.c81 lineCoords[i] = temp[i] * window_width(); in init()
89 arcCoords[i] = temp[i] * window_width(); in init()
134 moveCoords[i] = temp[i] * window_width(); in init()
157 vgTranslate(0.25f * window_width(), 0.25f * window_height()); in init()
159 vgTranslate(-0.25f * window_width(), -0.25f * window_height()); in init()
171 vgClear(0, 0, window_width(), window_height()); in draw()
174 vgTranslate(0.25f * window_width(), 0.25f * window_height()); in draw()
176 vgTranslate(-0.25f * window_width(), -0.25f * window_height()); in draw()
H A Dlookup.c24 data = (VGubyte *)malloc(sizeof(VGubyte)*window_width()*window_height()); in init()
26 for (i=0;i<window_width()*window_height();i++) { in init()
39 vgImageSubData(parent, data, window_width(), VG_A_8, 0, 0, in init()
40 window_width(), window_height()); in init()
57 vgClear(0, 0, window_width(), window_height()); in draw()
/dports/games/craft/Craft-1.0fbsd/deps/glfw/tests/
H A Daccuracy.c39 static int window_width = 640, window_height = 480; variable
61 window_width = width; 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()
117 glVertex2f((GLfloat) window_width, (GLfloat) (window_height - cursor_y)); in main()
/dports/devel/interactive_rebase_tool/git-interactive-rebase-tool-1.2.1/src/window_size_error/
H A Dmod.rs30 let (window_width, window_height) = view.get_view_size(); in render()
33 if window_width <= MINIMUM_COMPACT_WINDOW_WIDTH { in render()
34 if window_width >= SHORT_ERROR_MESSAGE_WIDTH { in render()
45 if window_width >= MINIMUM_WINDOW_HEIGHT_ERROR_WIDTH { in render()
48 else if window_width >= SHORT_ERROR_MESSAGE_WIDTH { in render()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/widgetry/src/
H A Dcanvas.rs30 pub window_width: f64, field
62 window_width: initial_dims.width, in new()
81 (percent_window * self.window_width / self.map_dims.0) 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()
246 self.cam_x = (pt.x() * self.cam_zoom) - (self.window_width / 2.0); in center_on_map_pt()
263 self.window_width - PANNING_THRESHOLD, in get_inner_bounds()
272 ScreenDims::new(self.window_width, self.window_height) in get_window_dims()
322 HorizontalAlignment::Center => (self.window_width - dims.width) / 2.0, in align_window()
323 HorizontalAlignment::Right => self.window_width - dims.width, in align_window()
[all …]
/dports/graphics/rawstudio/rawstudio-2.0/src/
H A Drs-loupe.c178 gint window_width, window_height; in move() local
179 gtk_window_get_size(GTK_WINDOW(loupe), &window_width, &window_height); in move()
188 if ((cursor_x - window_width - distance_to_window) < distance_to_border) in move()
193 if ((cursor_x + window_width + distance_to_window) > (screen_width - distance_to_border)) in move()
210 place_x = cursor_x - window_width - 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()
245 roi.x = CLAMP(loupe->center_x - window_width/2, 0, width-window_width-1); in redraw()
247 roi.width = window_width; in redraw()
/dports/games/tuxpaint/tuxpaint-0.9.26/src/
H A Dtuxpaint-import.sh100 window_width=800
106 window_width=`echo $x | cut -d = -f 2 | cut -d x -f 1`
113 window_width=`echo $x | cut -d = -f 2 | cut -d x -f 1`
120 window_width=`echo $x | cut -d = -f 2 | cut -d x -f 1`
128 width=`expr $window_width - 192`
132 echo "Using $width x $height images (for $window_width x $window_height Tux Paint"

12345678910>>...77