/dports/graphics/glx-utils/demos-5435fc7fbd332e171da9a71e33a9b190e9462cf0/src/tests/ |
H A D | unfilledclip.c | 32 static int win_width, win_height; variable 66 glVertex2f(20, win_height / 2); in display() 73 glVertex2f(win_height / 2 - 20, win_height + 20); in display() 74 glVertex2f(win_height / 2, win_height - 20); in display() 75 glVertex2f(win_height / 2 + 20, win_height + 20); in display() 81 glVertex2f(win_height + 20, win_height / 2 - 20); in display() 82 glVertex2f(win_height - 20, win_height / 2); in display() 83 glVertex2f(win_height + 20, win_height / 2 + 20); in display() 138 glVertex2f(20, win_height + 5); in display() 158 win_height = height; in reshape() [all …]
|
H A D | lineclip.c | 32 static int win_width, win_height; variable 60 line(-20, win_height / 2 - 20, in display() 61 20, win_height / 2 - 20); in display() 62 line( 20, win_height / 2 + 20, in display() 63 -20, win_height / 2 + 20); in display() 67 line(win_width / 2 - 20, win_height + 20, in display() 69 line(win_width / 2 + 20, win_height - 20, in display() 112 line(-5, win_height - 20, in display() 116 line(win_width - 20, win_height + 5, in display() 126 win_height = height; in reshape() [all …]
|
/dports/graphics/mesa-demos/mesa-demos-8.4.0/src/tests/ |
H A D | unfilledclip.c | 32 static int win_width, win_height; variable 66 glVertex2f(20, win_height / 2); in display() 73 glVertex2f(win_height / 2 - 20, win_height + 20); in display() 74 glVertex2f(win_height / 2, win_height - 20); in display() 75 glVertex2f(win_height / 2 + 20, win_height + 20); in display() 81 glVertex2f(win_height + 20, win_height / 2 - 20); in display() 82 glVertex2f(win_height - 20, win_height / 2); in display() 83 glVertex2f(win_height + 20, win_height / 2 + 20); in display() 138 glVertex2f(20, win_height + 5); in display() 158 win_height = height; in reshape() [all …]
|
H A D | lineclip.c | 32 static int win_width, win_height; variable 60 line(-20, win_height / 2 - 20, in display() 61 20, win_height / 2 - 20); in display() 62 line( 20, win_height / 2 + 20, in display() 63 -20, win_height / 2 + 20); in display() 67 line(win_width / 2 - 20, win_height + 20, in display() 69 line(win_width / 2 + 20, win_height - 20, in display() 112 line(-5, win_height - 20, in display() 116 line(win_width - 20, win_height + 5, in display() 126 win_height = height; in reshape() [all …]
|
/dports/net/mpich2/mpich2-1.5/src/pm/hydra/tools/topo/hwloc/hwloc/utils/ |
H A D | lstopo-windows.c | 54 static int win_width, win_height; variable 111 y_delta -= win_height/10; in WndProc() 115 y_delta += win_height/10; in WndProc() 123 y_delta -= win_height; in WndProc() 132 y_delta += win_height; in WndProc() 163 win_height = HIWORD(lparam); in WndProc() 170 if (y_delta > the_height - win_height) in WndProc() 171 y_delta = the_height - win_height; in WndProc() 183 if (win_height > the_height) { in WndProc() 217 win_height = GetSystemMetrics(SM_CYFULLSCREEN); in windows_start() [all …]
|
/dports/x11-toolkits/libhandy0/libhandy-7a193d7692c9c76a1a94f17c4d30b585f77d177c/tests/ |
H A D | test-dialog.c | 11 gint win_height = 0; variable 20 gtk_window_get_size (GTK_WINDOW (widget), &win_width, &win_height); in win_size_cb() 38 win_height = 0; in test_hdy_dialog_is_small() 51 g_assert_cmpint (win_height, ==, dlg_height); in test_hdy_dialog_is_small() 62 win_height = 0; in test_hdy_dialog_normal() 75 g_assert_cmpint (win_height, !=, dlg_height); in test_hdy_dialog_normal()
|
/dports/x11/florence/florence-0.6.3/src/ |
H A D | tools.c | 80 gint win_width, win_height; in tools_window_move() local 106 win_height=win_rect.height; in tools_window_move() 107 } else gtk_window_get_size(window, &win_width, &win_height); in tools_window_move() 113 if (win_height<(screen_height-y-h)) gtk_window_move(window, x, y+h); in tools_window_move() 114 else if (y>win_height) gtk_window_move(window, x, y-win_height); in tools_window_move() 115 else gtk_window_move(window, x, screen_height-win_height); in tools_window_move()
|
H A D | service.c | 63 gint win_width, win_height; in service_method_call() local 87 win_height=win_rect.height; in service_method_call() 89 &win_width, &win_height); in service_method_call() 93 if (win_height<(screen_height-y-h)) y=y+h; in service_method_call() 94 else if (y>win_height) y=y-win_height; in service_method_call() 95 else y=screen_height-win_height; in service_method_call()
|
/dports/devel/hwloc/hwloc-1.11.13/utils/lstopo/ |
H A D | lstopo-windows.c | 62 static int win_width, win_height; variable 88 hscale = win_height / (float)the_height; in WndProc() 156 y_delta -= win_height/10; in WndProc() 160 y_delta += win_height/10; in WndProc() 168 y_delta -= win_height; in WndProc() 177 y_delta += win_height; in WndProc() 211 win_height = HIWORD(lparam); in WndProc() 213 hscale = win_height / (float)the_height; in WndProc() 224 if (y_delta > the_height - win_height) in WndProc() 225 y_delta = the_height - win_height; in WndProc() [all …]
|
/dports/print/freetype/freetype-1.3.1/test/arch/unix/ |
H A D | gwin_x11.c | 94 win_width, win_height; variable 174 Vio = (char*)malloc( win_height * vio_ScanLineWidth ); in x11init() 190 win_height, in x11init() 227 win_height, in x11init() 249 xsh.height = win_height; in x11init() 267 win_height = 200; in Driver_Set_Graphics() 277 win_height = 450; in Driver_Set_Graphics() 283 vio_Height = win_height; in Driver_Set_Graphics() 308 if ( line > win_height ) in Driver_Display_Bitmap() 309 line = win_height; in Driver_Display_Bitmap()
|
/dports/emulators/quasi88/quasi88-0.6.4/src/WIN32/ |
H A D | graph.c | 66 int win_width, win_height; in graph_setup() local 104 win_height = height; in graph_setup() 105 calc_window_size(&win_width, &win_height); in graph_setup() 108 win_width, win_height, /* ������ɥ��������⤵ */ in graph_setup() 140 int win_width, win_height; in create_window() local 175 win_height = height; in create_window() 176 calc_window_size(&win_width, &win_height); in create_window() 186 win_height, /* ������ɥ��ι⤵ */ in create_window()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/platform/omap3isp/ |
H A D | isph3a_aewb.c | 47 win1 = ((conf->win_height >> 1) - 1) << ISPH3A_AEWWIN1_WINH_SHIFT; in h3a_aewb_setup_regs() 121 if (unlikely(user_cfg->win_height < OMAP3ISP_AEWB_MIN_WIN_H || in h3a_aewb_validate_params() 122 user_cfg->win_height > OMAP3ISP_AEWB_MAX_WIN_H || in h3a_aewb_validate_params() 123 user_cfg->win_height & 0x01)) in h3a_aewb_validate_params() 193 if (cur_cfg->win_height != user_cfg->win_height) { in h3a_aewb_set_params() 194 cur_cfg->win_height = user_cfg->win_height; in h3a_aewb_set_params() 313 aewb_recover_cfg->win_height = OMAP3ISP_AEWB_MIN_WIN_H; in omap3isp_h3a_aewb_init() 318 aewb_recover_cfg->win_height * aewb_recover_cfg->ver_win_count; in omap3isp_h3a_aewb_init()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/platform/omap3isp/ |
H A D | isph3a_aewb.c | 47 win1 = ((conf->win_height >> 1) - 1) << ISPH3A_AEWWIN1_WINH_SHIFT; in h3a_aewb_setup_regs() 121 if (unlikely(user_cfg->win_height < OMAP3ISP_AEWB_MIN_WIN_H || in h3a_aewb_validate_params() 122 user_cfg->win_height > OMAP3ISP_AEWB_MAX_WIN_H || in h3a_aewb_validate_params() 123 user_cfg->win_height & 0x01)) in h3a_aewb_validate_params() 193 if (cur_cfg->win_height != user_cfg->win_height) { in h3a_aewb_set_params() 194 cur_cfg->win_height = user_cfg->win_height; in h3a_aewb_set_params() 313 aewb_recover_cfg->win_height = OMAP3ISP_AEWB_MIN_WIN_H; in omap3isp_h3a_aewb_init() 318 aewb_recover_cfg->win_height * aewb_recover_cfg->ver_win_count; in omap3isp_h3a_aewb_init()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/platform/omap3isp/ |
H A D | isph3a_aewb.c | 47 win1 = ((conf->win_height >> 1) - 1) << ISPH3A_AEWWIN1_WINH_SHIFT; in h3a_aewb_setup_regs() 121 if (unlikely(user_cfg->win_height < OMAP3ISP_AEWB_MIN_WIN_H || in h3a_aewb_validate_params() 122 user_cfg->win_height > OMAP3ISP_AEWB_MAX_WIN_H || in h3a_aewb_validate_params() 123 user_cfg->win_height & 0x01)) in h3a_aewb_validate_params() 193 if (cur_cfg->win_height != user_cfg->win_height) { in h3a_aewb_set_params() 194 cur_cfg->win_height = user_cfg->win_height; in h3a_aewb_set_params() 313 aewb_recover_cfg->win_height = OMAP3ISP_AEWB_MIN_WIN_H; in omap3isp_h3a_aewb_init() 318 aewb_recover_cfg->win_height * aewb_recover_cfg->ver_win_count; in omap3isp_h3a_aewb_init()
|
/dports/multimedia/jmref/JM/lencod/src/ |
H A D | img_dist_ms_ssim.c | 40 …s *p_Inp, imgpel **refImg, imgpel **encImg, int height, int width, int win_height, int win_width, … in compute_structural_components() argument 45 float win_pixels = (float) (win_width * win_height); in compute_structural_components() 61 for (j = 0; j <= height - win_height; j += overlapSize) in compute_structural_components() 71 for ( n = j;n < j + win_height;n ++) in compute_structural_components() 111 float win_pixels = (float) (win_width * win_height); in compute_luminance_component() 121 for (j = 0; j <= height - win_height; j += overlapSize) in compute_luminance_component() 128 for ( n = j;n < j + win_height;n ++) in compute_luminance_component() 279 …s *p_Inp, imgpel **refImg, imgpel **encImg, int height, int width, int win_height, int win_width, … in compute_ms_ssim() argument 295 …ute_structural_components(p_Vid, p_Inp, refImg, encImg, height, width, win_height, win_width, comp… in compute_ms_ssim() 305 …_structural_components(p_Vid, p_Inp, dsRef, dsEnc, height, width, imin(win_height,height), imin(wi… in compute_ms_ssim() [all …]
|
/dports/science/2d-rewriter/2d-rewriter-1.6/ |
H A D | x11.c | 40 static int win_height, win_width; variable 109 win_height = Height; in CreateWindow() 146 XDrawPoint (dpy, out, Color->Gc, x, win_height - y - 1); in DrawPoint() 150 XFillRectangle (dpy, out, Color->Gc, x, win_height - y - height, width, height); in FillRectangle() 154 pix = XCreatePixmap (dpy, win, win_width, win_height, root_depth); in HoldOutput() 159 XCopyArea (dpy, pix, win, bkc->Gc, 0, 0, win_width, win_height, 0, 0); in ResumeOutput() 192 win_height = xev.xconfigure.height; in ProcessEvents() 199 xev.xexpose.x, win_height - xev.xexpose.y - xev.xexpose.height, in ProcessEvents()
|
/dports/devel/hwloc2/hwloc-2.5.0/utils/lstopo/ |
H A D | lstopo-windows.c | 41 static int win_width, win_height; variable 76 hscale = win_height / (float)the_height; in WndProc() 292 y_delta -= win_height/10; in WndProc() 296 y_delta += win_height/10; in WndProc() 304 y_delta -= win_height; in WndProc() 313 y_delta += win_height; in WndProc() 347 win_height = HIWORD(lparam); in WndProc() 351 hscale = win_height / (float)the_height; in WndProc() 367 if (y_delta > the_height - win_height) in WndProc() 368 y_delta = the_height - win_height; in WndProc() [all …]
|
/dports/net/mpich/mpich-3.4.3/src/pm/hydra2/libhydra/topo/hwloc/hwloc/utils/lstopo/ |
H A D | lstopo-windows.c | 41 static int win_width, win_height; variable 76 hscale = win_height / (float)the_height; in WndProc() 292 y_delta -= win_height/10; in WndProc() 296 y_delta += win_height/10; in WndProc() 304 y_delta -= win_height; in WndProc() 313 y_delta += win_height; in WndProc() 347 win_height = HIWORD(lparam); in WndProc() 351 hscale = win_height / (float)the_height; in WndProc() 367 if (y_delta > the_height - win_height) in WndProc() 368 y_delta = the_height - win_height; in WndProc() [all …]
|
/dports/net/mpich/mpich-3.4.3/modules/hwloc/utils/lstopo/ |
H A D | lstopo-windows.c | 41 static int win_width, win_height; variable 76 hscale = win_height / (float)the_height; in WndProc() 292 y_delta -= win_height/10; in WndProc() 296 y_delta += win_height/10; in WndProc() 304 y_delta -= win_height; in WndProc() 313 y_delta += win_height; in WndProc() 347 win_height = HIWORD(lparam); in WndProc() 351 hscale = win_height / (float)the_height; in WndProc() 367 if (y_delta > the_height - win_height) in WndProc() 368 y_delta = the_height - win_height; in WndProc() [all …]
|
/dports/net/mpich/mpich-3.4.3/src/pm/hydra/tools/topo/hwloc/hwloc/utils/lstopo/ |
H A D | lstopo-windows.c | 41 static int win_width, win_height; variable 76 hscale = win_height / (float)the_height; in WndProc() 292 y_delta -= win_height/10; in WndProc() 296 y_delta += win_height/10; in WndProc() 304 y_delta -= win_height; in WndProc() 313 y_delta += win_height; in WndProc() 347 win_height = HIWORD(lparam); in WndProc() 351 hscale = win_height / (float)the_height; in WndProc() 367 if (y_delta > the_height - win_height) in WndProc() 368 y_delta = the_height - win_height; in WndProc() [all …]
|
/dports/audio/cli-visualizer/cli-visualizer-1.8-27-g4fc1552/src/Transformer/ |
H A D | EllipseTransformer.cpp | 63 const auto win_height = NcursesUtils::get_window_height(); in execute_stereo() local 69 const auto top_half_height = win_height / 2; in execute_stereo() 70 const auto bottom_half_height = win_height - top_half_height; in execute_stereo() 73 std::sqrt(win_width * win_width + 4 * win_height * win_height))); in execute_stereo()
|
/dports/editors/helix/helix-0.5.0/helix-term/src/ui/ |
H A D | menu.rs | 150 let win_height = self.size.1 as usize; in adjust_scroll() localVariable 153 if cursor > (win_height + scroll).saturating_sub(1) { in adjust_scroll() 155 scroll += cursor - (win_height + scroll).saturating_sub(1) in adjust_scroll() 306 let win_height = area.height as usize; in render() localVariable 312 let scroll_height = std::cmp::min(div_ceil(win_height.pow(2), len), win_height as usize); in render() 314 let scroll_line = (win_height - scroll_height) * scroll in render() 315 / std::cmp::max(1, len.saturating_sub(win_height)); in render() 335 for (i, _) in (scroll..(scroll + win_height).min(len)).enumerate() { in render()
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/visualization/include/pcl/visualization/ |
H A D | histogram_visualizer.h | 94 … const std::string &id = "cloud", int win_width = 640, int win_height = 200); 106 … const std::string &id = "cloud", int win_width = 640, int win_height = 200); 120 … const std::string &id = "cloud", int win_width = 640, int win_height = 200); 134 … const std::string &id = "cloud", int win_width = 640, int win_height = 200); 202 const std::string &id, const int win_width, const int win_height);
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/visualization/include/pcl/visualization/impl/ |
H A D | pcl_plotter.hpp | 51 const std::string &id, int win_width, int win_height) in addFeatureHistogram() argument 63 setWindowSize (win_width, win_height); in addFeatureHistogram() 73 const std::string &id, int win_width, int win_height) in addFeatureHistogram() argument 104 setWindowSize (win_width, win_height); in addFeatureHistogram()
|
/dports/x11/libsx/libsx/demo2/ |
H A D | callbacks.c | 53 redisplay(NULL, me->win_width, me->win_height, me); in pattern1() 77 redisplay(NULL, me->win_width, me->win_height, me); in pattern2() 94 me->win_height = new_height; in redisplay() 107 y = (me->win_height - me->bitmap_height) / 2; in redisplay()
|