/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/doc/tutorials/content/sources/pcl_painter2D/ |
H A D | pcl_painter2D_demo.cpp | 13 int winw = 800, winh = 600; in main() local 14 painter->setWindowSize (winw, winh); in main() 16 int r = winw; in main() 19 int noc = winw/R; in main() 32 if (rad < 0) { rad = winw + rad;} in main() 34 painter->addCircle (winw/2, winh/2, rad); in main() 38 if (r < winw-R) r = winw + R; in main() 41 painter->addRect ((xpos += inc) % winw, 100, 100, 100); in main()
|
/dports/graphics/art/ART-1.9.3/rtengine/ |
H A D | dual_demosaic_RT.cc | 51 amaze_demosaic_RT(0, 0, winw, winh, rawData, red, green, blue); in dual_demosaic_RT() 75 array2D<float> L(winw, winh); in dual_demosaic_RT() 82 amaze_demosaic_RT(0, 0, winw, winh, rawData, red, green, blue); in dual_demosaic_RT() 113 Color::RGB2L(red[i], green[i], blue[i], L[i], xyz_rgb, winw); in dual_demosaic_RT() 117 JaggedArray<float> blend(winw, winh); in dual_demosaic_RT() 120 buildBlendMask(L, blend, winw, winh, contrastf, 1.f, autoContrast); in dual_demosaic_RT() 132 array2D<float> greenTmp(winw, winh); in dual_demosaic_RT() 133 array2D<float> blueTmp(winw, winh); in dual_demosaic_RT() 140 for(int j = 0; j < winw; ++j) { in dual_demosaic_RT() 143 for(int j = 0; j < winw; ++j) { in dual_demosaic_RT() [all …]
|
H A D | pixelshift.cc | 334 multi_array2D<float, 3> redTmp(winw, winh); in pixelshift() 335 multi_array2D<float, 3> greenTmp(winw, winh); in pixelshift() 336 multi_array2D<float, 3> blueTmp(winw, winh); in pixelshift() 709 array2D<float> psBlue(winw + 32, winh); in pixelshift() 734 for(; j < winw - 1; ++j) { in pixelshift() 747 array2D<float> psMask(winw, winh); in pixelshift() 832 gaussianBlur(psMask, psMask, winw, winh, sigma); in pixelshift() 839 array2D<uint8_t> mask(winw, winh, ARRAY2D_CLEAR_DATA); in pixelshift() 875 array2D<uint8_t> maskInv(winw, winh); in pixelshift() 905 for(; j < winw - (border + offsX); ++j) { in pixelshift() [all …]
|
/dports/graphics/rawtherapee/rawtherapee-5.8/rtengine/ |
H A D | dual_demosaic_RT.cc | 52 …amaze_demosaic_RT(0, 0, winw, winh, rawData, red, green, blue, options.chunkSizeAMAZE, options.mea… in dual_demosaic_RT() 69 array2D<float> L(winw, winh); in dual_demosaic_RT() 73 …amaze_demosaic_RT(0, 0, winw, winh, rawData, red, green, blue, options.chunkSizeAMAZE, options.mea… in dual_demosaic_RT() 101 Color::RGB2L(red[i], green[i], blue[i], L[i], xyz_rgb, winw); in dual_demosaic_RT() 105 JaggedArray<float> blend(winw, winh); in dual_demosaic_RT() 108 buildBlendMask(L, blend, winw, winh, contrastf, autoContrast); in dual_demosaic_RT() 112 array2D<float> greenTmp(winw, winh); in dual_demosaic_RT() 113 array2D<float> blueTmp(winw, winh); in dual_demosaic_RT() 127 for(int j = 0; j < winw; ++j) { in dual_demosaic_RT() 135 for(int j = 0; j < winw; ++j) { in dual_demosaic_RT() [all …]
|
H A D | pixelshift.cc | 347 multi_array2D<float, 3> redTmp(winw, winh); in pixelshift() 348 multi_array2D<float, 3> greenTmp(winw, winh); in pixelshift() 349 multi_array2D<float, 3> blueTmp(winw, winh); in pixelshift() 728 array2D<float> psBlue(winw + 32, winh); in pixelshift() 753 for(; j < winw - 1; ++j) { in pixelshift() 766 array2D<float> psMask(winw, winh); in pixelshift() 851 gaussianBlur(psMask, psMask, winw, winh, sigma); in pixelshift() 858 array2D<uint8_t> mask(winw, winh, ARRAY2D_CLEAR_DATA); in pixelshift() 894 array2D<uint8_t> maskInv(winw, winh); in pixelshift() 924 for(; j < winw - (border + offsX); ++j) { in pixelshift() [all …]
|
/dports/net/cnd/cnd-0.7/ |
H A D | main.c | 66 int winw,winh; variable 161 getmaxyx(stdscr,winh,winw); in screen_init() 188 for(i=0;i<winw;i++) { in screen_init() 192 for(i=0;i<winw;i++) { in screen_init() 197 for(i=0;i<winw;i++) { in screen_init() 200 wmove(mainw,1,(winw/2)-9); in screen_init() 475 wmove(mainw,1,(winw-17)); in main() 510 for(i=0;i<winw;i++) { in main() 523 for(i=0;i<winw;i++) { in main() 548 for(j=0;j<winw;j++) { in main() [all …]
|
/dports/games/crashtest/crashtest-1.1/src-common/ |
H A D | stereocontext.h | 16 winw(1024), in quadbuffered() 44 glViewport(0,0,winw,winh); in MakeCurrent() 50 glViewport(winw, 0, winw, winh); in MakeCurrent() 52 glViewport(0,0, winw, winh); in MakeCurrent() 54 glViewport(0,0, winw*2, winh); in MakeCurrent() 58 float ratio = winw / (float) winh; in MakeCurrent() 103 winw=w; in SetWindowSize() 124 int winw; // pixels variable
|
/dports/games/stormbaancoureur/stormbaancoureur-2.1.6/src-common/ |
H A D | stereocontext.h | 16 winw(1024), in quadbuffered() 47 glViewport(0,0,winw,winh); in MakeCurrent() 53 glViewport(winw, 0, winw, winh); in MakeCurrent() 55 glViewport(0,0, winw, winh); in MakeCurrent() 57 glViewport(0,0, winw*2, winh); in MakeCurrent() 61 float ratio = winw / (float) winh; in MakeCurrent() 106 winw=w; in SetWindowSize() 128 int winw; // pixels variable
|
/dports/shells/zsh/zsh-5.8.1/Src/Zle/ |
H A D | zle_refresh.c | 737 winw_alloc = winw; in resetvideo() 1562 nbuf[rpms.tosln - 1][winw] = nbuf[rpms.tosln - 1][winw + 1] = zr_zr; in zrefresh() 1599 nbuf[rpms.tosln][winw] = nbuf[rpms.tosln][winw + 1] = zr_zr; in zrefresh() 1628 t0 = winw - lpromptw; in zrefresh() 1632 nbuf[0][winw] = nbuf[0][winw + 1] = zr_zr; in zrefresh() 1849 p1[winw] = zr_zr; in refreshline() 1850 if (nllen < winw) in refreshline() 1853 p1[winw + 1] = nl[winw + 1]; in refreshline() 1858 nllen = winw; in refreshline() 1883 || (nllen == winw && ZR_equal(zr_sp, nl[winw - 1]))) in refreshline() [all …]
|
/dports/games/zdoom/zdoom-2.8.1/src/win32/ |
H A D | hardware.cpp | 210 static void GetCenteredPos (int &winx, int &winy, int &winw, int &winh, int &scrwidth, int &scrheig… in GetCenteredPos() argument 224 winx = cx - (winw = rect.right - rect.left) / 2; in GetCenteredPos() 232 if (winx + winw > scrwidth) in KeepWindowOnScreen() 234 winx = scrwidth - winw; in KeepWindowOnScreen() 268 int winx, winy, winw, winh, scrwidth, scrheight; in I_SaveWindowedPos() local 270 GetCenteredPos (winx, winy, winw, winh, scrwidth, scrheight); in I_SaveWindowedPos() 271 KeepWindowOnScreen (winx, winy, winw, winh, scrwidth, scrheight); in I_SaveWindowedPos() 289 int winx, winy, winw, winh, scrwidth, scrheight; in I_RestoreWindowedPos() local 291 GetCenteredPos (winx, winy, winw, winh, scrwidth, scrheight); in I_RestoreWindowedPos() 308 KeepWindowOnScreen (winx, winy, winw, winh, scrwidth, scrheight); in I_RestoreWindowedPos() [all …]
|
/dports/astro/astrometry/astrometry.net-0.85/util/ |
H A D | downsample-fits.c | 49 int winw; in main() local 148 winw = W; in main() 149 winh = (int)ceil(ceil(1024*1024 / (float)winw) / (float)scale) * scale; in main() 151 outimg = malloc((int)ceil(winw/scale)*(int)ceil(winh/scale) * sizeof(float)); in main() 155 logverb("Reading in blocks of %i x %i\n", winw, winh); in main() 160 for (bx=0; bx<(int)ceil(W / (float)winw); bx++) { in main() 163 nx = MIN(winw, W - bx*winw); in main() 165 lox = bx*winw; in main()
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/rt/rtengine/ |
H A D | rawimagesource.hh | 61 void CA_correct_RT(int winx, int winy, int winw, int winh, 64 void CA_correct_RT_old(int winx, int winy, int winw, int winh, 67 …void amaze_demosaic_RT(int winx, int winy, int winw, int winh, int tilex, int tiley, int tilew, in… 68 void igv_demosaic_RT(int winx, int winy, int winw, int winh, 70 void lmmse_demosaic_RT(int winx, int winy, int winw, int winh, 73 void rcd_demosaic_RT(int winx, int winy, int winw, int winh, 75 void xtrans_demosaic_RT(int winx, int winy, int winw, int winh,
|
/dports/sysutils/nitrogen/nitrogen-1.6.1/src/ |
H A D | SetBG.cc | 372 winw, in make_center() 388 cpyw = winw; in make_center() 420 resx = winw; in make_zoom() 429 x = (winw - resx) >> 1; in make_zoom() 434 if ( resx > winw ) in make_zoom() 435 resx = winw; in make_zoom() 474 int dw = winw - orig_w; in make_zoom_fill() 479 w = winw; in make_zoom_fill() 489 x = (w - winw) / 2; in make_zoom_fill() 759 tarw = winw; in get_target_dimensions() [all …]
|
/dports/graphics/rawtherapee/rawtherapee-5.8/rtgui/ |
H A D | histogrampanel.cc | 454 int winx, winy, winw, winh; in updateBackBuffer() local 455 window->get_geometry(winx, winy, winw, winh); in updateBackBuffer() 460 setDrawRectangle(Cairo::FORMAT_ARGB32, 0, 0, winw, winh, true); in updateBackBuffer() 479 cc->line_to(r * (winw - 1.) / 255.0 + 0.5*s, winh - 0); in updateBackBuffer() 491 cc->move_to(g * (winw - 1.) / 255.0 + 0.5*s, 0); in updateBackBuffer() 492 cc->line_to(g * (winw - 1.) / 255.0 + 0.5*s, winh - 0); in updateBackBuffer() 504 cc->move_to(b * (winw - 1.) / 255.0 + 0.5*s, 0); in updateBackBuffer() 505 cc->line_to(b * (winw - 1.) / 255.0 + 0.5*s, winh - 0); in updateBackBuffer() 797 int winx, winy, winw, winh; in updateBackBuffer() local 798 window->get_geometry(winx, winy, winw, winh); in updateBackBuffer() [all …]
|
/dports/sysutils/vcp/vcp-2.2/ |
H A D | screen.c | 17 int winw,winh,mainww; variable 26 mvwhline(stdscr,9,1,0,winw-2); in scrn_draw() 29 wmove(stdscr,9,winw-1); in scrn_draw() 33 mainw = newwin(8,winw-2,1,1); in scrn_draw() 34 logw = newwin(winh-11,winw-2,10,1); in scrn_draw() 66 if(rwinh != winh || rwinw != winw) { in scrn_check() 67 winw = rwinw; in scrn_check() 92 getmaxyx(stdscr, winh, winw); in scrn_init() 93 if(winh < 11 || winw < 20) { in scrn_init()
|
/dports/graphics/librtprocess/librtprocess-0.11.0/src/include/ |
H A D | librtprocess.h | 27 rpError bayerborder_demosaic(int winw, int winh, int lborders, const float * const *rawData, float … 28 void xtransborder_demosaic(int winw, int winh, int border, const float * const *rawData, float **re… 30 rpError amaze_demosaic(int raw_width, int raw_height, int winx, int winy, int winw, int winh, const… 38 rpError igv_demosaic(int winw, int winh, const float * const *rawData, float **red, float **green, … 41 rpError CA_correct(int winx, int winy, int winw, int winh, const bool autoCA, size_t autoIterations…
|
/dports/astro/siril/siril/subprojects/librtprocess/src/include/ |
H A D | librtprocess.h | 28 rpError bayerborder_demosaic(int winw, int winh, int lborders, const float * const *rawData, float … 29 void xtransborder_demosaic(int winw, int winh, int border, const float * const *rawData, float **re… 31 rpError amaze_demosaic(int raw_width, int raw_height, int winx, int winy, int winw, int winh, const… 39 rpError igv_demosaic(int winw, int winh, const float * const *rawData, float **red, float **green, … 42 rpError CA_correct(int winx, int winy, int winw, int winh, const bool autoCA, size_t autoIterations…
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/external/librtprocess/src/include/ |
H A D | librtprocess.h | 27 rpError bayerborder_demosaic(int winw, int winh, int lborders, const float * const *rawData, float … 28 void xtransborder_demosaic(int winw, int winh, int border, const float * const *rawData, float **re… 30 rpError amaze_demosaic(int raw_width, int raw_height, int winx, int winy, int winw, int winh, const… 38 rpError igv_demosaic(int winw, int winh, const float * const *rawData, float **red, float **green, … 41 rpError CA_correct(int winx, int winy, int winw, int winh, const bool autoCA, size_t autoIterations…
|
/dports/math/ploticus-nox11/pl240src/src/ |
H A D | proc_page.c | 96 getcoords( "pagesize", lineval, &(PLS.winw), &(PLS.winh) ); in InitBitModels() 130 if( pagesizegiven ) Esetsize( PLS.winw * sx, PLS.winh * sy, PLS.winx, PLS.winy ); 189 if( pagesizegiven ) Esetsize( PLS.winw * sx, PLS.winh * sy, PLS.winx, PLS.winy ); 215 if( dopagebox ) Ecblock( 0.0, 0.0, PLS.winw, PLS.winh, Ecurbkcolor, 0 ); /* does update bb */ 228 else if ( align == 'C' ) Emov( (PLS.winw / 2.0 ) + adjx, (PLS.winh-0.8) + adjy ); 229 else if( align == 'R' ) Emov( (PLS.winw-1.0) + adjx, (PLS.winh-0.8) + adjy );
|
/dports/math/ploticus/pl240src/src/ |
H A D | proc_page.c | 96 getcoords( "pagesize", lineval, &(PLS.winw), &(PLS.winh) ); in PLP_page() 130 if( pagesizegiven ) Esetsize( PLS.winw * sx, PLS.winh * sy, PLS.winx, PLS.winy ); in PLP_page() 189 if( pagesizegiven ) Esetsize( PLS.winw * sx, PLS.winh * sy, PLS.winx, PLS.winy ); in PLP_page() 215 if( dopagebox ) Ecblock( 0.0, 0.0, PLS.winw, PLS.winh, Ecurbkcolor, 0 ); /* does update bb */ in PLP_page() 228 else if ( align == 'C' ) Emov( (PLS.winw / 2.0 ) + adjx, (PLS.winh-0.8) + adjy ); in PLP_page() 229 else if( align == 'R' ) Emov( (PLS.winw-1.0) + adjx, (PLS.winh-0.8) + adjy ); in PLP_page()
|
/dports/games/stormbaancoureur/stormbaancoureur-2.1.6/src-stormbaancoureur/ |
H A D | main.cxx | 42 static int winw=704, winh=300; variable 460 intro->Redraw(winw, winh); in redraw_single_channel() 468 gui->Redraw(winw, winh, s); in redraw_single_channel() 516 static char *buf = new char[winw * winh * 3]; in redraw() 530 unsigned char *revbuf = new unsigned char[winw*winh*3]; in redraw() 533 int chunk = 3 * winw; in redraw() 536 fwrite(revbuf,winw*winh*3,1,f); in redraw() 547 winw=w; winh=h; in reshape() 561 stereocontext->SetWindowSize(winw, winh); in reshape() 635 float dx = (x - mouse_x) / (float) winw; in motion() [all …]
|
/dports/devel/efl/efl-1.25.1/src/examples/eina/ |
H A D | eina_tiler_01.c | 16 static Evas_Coord maxw, maxh, winw, winh; variable 170 WINDOW_PAD, winh - WINDOW_PAD, winw - 2 * WINDOW_PAD); in process_input() 265 winw = 2 * maxw + 3 * WINDOW_PAD; in main() 268 ee = ecore_evas_new(NULL, 0, 0, winw, winh, NULL); in main() 280 evas_object_resize(o, winw, winh); in main()
|
/dports/x11/workrave/workrave-1.10.44/frontend/applets/win32/src/ |
H A D | TimeBar.cpp | 147 int winx = rc.left, winy = rc.top, winw = rc.right-rc.left, winh = rc.bottom-rc.top; in on_paint() local 152 TRACE_MSG("1" << winx << " " << winy << " " << winw << " " << winh); in on_paint() 158 bar_width = (bar_value * (winw - 2 * border_size)) / bar_max_value; in on_paint() 165 sbar_width = (secondary_bar_value * (winw - 2 * border_size)) / secondary_bar_max_value; in on_paint() 237 r.right = winx + winw - border_size; in on_paint() 244 r.right = r.left + winw; in on_paint()
|
/dports/x11-toolkits/xforms/xforms-1.2.4/fdesign/ |
H A D | fd_main.c | 87 FL_Coord winw, variable 536 ignored_fake_configure = winw != xev->xconfigure.width in handle_configure() 540 winw = xev->xconfigure.width; in handle_configure() 543 if ( cur_form && ( cur_form->w > winw || cur_form->h > winh ) ) in handle_configure() 545 reshape_form_background( winw, winh ); in handle_configure() 551 fl_set_spinner_value( fd_resize->width, winw ); in handle_configure() 577 fl_get_winsize( main_window, &winw, &winh ); in handle_expose() 581 if ( cur_form && ( cur_form->w != winw || cur_form->h != winh ) ) in handle_expose() 582 reshape_form_background( winw, winh ); in handle_expose() 1014 winw = w; in main()
|
/dports/x11-wm/openbox/openbox-3.6/tests/ |
H A D | icons.c | 60 unsigned int winw = 0, winh = 0; in main() local 155 winw += w; in main() 225 win = XCreateSimpleWindow(d, RootWindow(d, s), 0, 0, winw, winh, in main() 230 p = XCreatePixmap(d, win, winw, winh, DefaultDepth(d, s)); in main() 231 XFillRectangle(d, p, DefaultGC(d, s), 0, 0, winw, winh); in main()
|