/dports/misc/vxl/vxl-3.3.2/contrib/gel/vmal/ |
H A D | vmal_operators.cxx | 31 double resy=-(ax*n1*n2-ay*n1*n1-x0*n1*n2-y0*n2*n2)/norm; in project_point() local 34 if (((ax-resx)*(bx-resx)+(ay-resy)*(by-resy))>0) in project_point() 42 *y=resy; in project_point() 44 return std::sqrt((resx-x0)*(resx-x0)+(resy-y0)*(resy-y0)); in project_point() 67 double resy=-(ax*n1*n2-ay*n1*n1-x0*n1*n2-y0*n2*n2)/norm; in project_point() local 70 px[1]=resy; in project_point() 73 return ((ax-resx)*(bx-resx)+(ay-resy)*(by-resy))<=0; in project_point()
|
/dports/emulators/ppsspp/ppsspp-1.12.3/unittest/ |
H A D | TestVertexJit.cpp | 180 u8 resy = Get8(); in Assert8() local 181 if (resx != x || resy != y) { in Assert8() 188 u8 resy = Get8(); in Assert8() local 190 if (resx != x || resy != y || resz != z) { in Assert8() 197 u8 resy = Get8(); in Assert8() local 208 u16 resy = Get16(); in Assert16() local 209 if (resx != x || resy != y) { in Assert16() 216 u16 resy = Get16(); in Assert16() local 218 if (resx != x || resy != y || resz != z) { in Assert16() 237 float resy = GetFloat(); in AssertFloat() local [all …]
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/unittest/ |
H A D | TestVertexJit.cpp | 180 u8 resy = Get8(); in Assert8() local 181 if (resx != x || resy != y) { in Assert8() 188 u8 resy = Get8(); in Assert8() local 190 if (resx != x || resy != y || resz != z) { in Assert8() 197 u8 resy = Get8(); in Assert8() local 208 u16 resy = Get16(); in Assert16() local 209 if (resx != x || resy != y) { in Assert16() 216 u16 resy = Get16(); in Assert16() local 218 if (resx != x || resy != y || resz != z) { in Assert16() 237 float resy = GetFloat(); in AssertFloat() local [all …]
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/unittest/ |
H A D | TestVertexJit.cpp | 180 u8 resy = Get8(); in Assert8() local 181 if (resx != x || resy != y) { in Assert8() 188 u8 resy = Get8(); in Assert8() local 190 if (resx != x || resy != y || resz != z) { in Assert8() 197 u8 resy = Get8(); in Assert8() local 208 u16 resy = Get16(); in Assert16() local 209 if (resx != x || resy != y) { in Assert16() 216 u16 resy = Get16(); in Assert16() local 218 if (resx != x || resy != y || resz != z) { in Assert16() 237 float resy = GetFloat(); in AssertFloat() local [all …]
|
/dports/audio/tempest_for_eliza/tempest_for_eliza-1.0.5/ |
H A D | player.cpp | 30 int resy; variable 128 myrect.h=resy; in mkrealsound() 138 for (y = 0; y < resy; y++) { in mkrealsound() 180 myrect.h=resy; in finishplay() 184 SDL_UpdateRect(screen,0,0,resx,resy); in finishplay() 194 myrect.h=resy; in flushplay() 206 SDL_UpdateRect(screen,0,0,resx,resy); in flushplay() 258 resy=768; in main() 277 resy=atol(argv[3]); in main() 289 pixelclock,resx,resy,horizontalspan,carrier); in main() [all …]
|
H A D | mp3player.cpp | 31 u_int32_t resy; // anzahl sichtbarer pixel in Y richtung variable 70 resy=atol(argv[3]); in main() 94 fP,resx,resy,horizontalspan,verticalspan,fT,playbackmode,amplify); in main() 101 screen = SDL_SetVideoMode(resx, resy, 8, SDL_HWPALETTE | SDL_ANYFORMAT | SDL_FULLSCREEN); in main() 114 for (u_int32_t y=0;y<resy;++y) in main()
|
/dports/graphics/goom/goom2k4-0/sdl-goom/ |
H A D | sdl_goom.c | 124 static int resy = 300; variable 264 sdlGoom.plugin = goom_init (resx, resy); in sdl_goom_init() 399 resy /= 2; in apply_double() 406 resy /= 2; in apply_double() 408 gsurf2 = surface_new (resx*2,resy*2); in apply_double() 412 gsurf.height = resy; in apply_double() 413 gsurf.size = resx*resy; in apply_double() 578 sprintf (s,"%dx%d",resx,resy); in sdl_goom_render_pcm() 655 rect.h = resy * 2; in sdl_goom_render_pcm() 711 return resize_win (resx,resy,TRUE); in sdl_goom_set_doublepix() [all …]
|
/dports/games/duel/duel/src/libDazzle/ |
H A D | Dazzle.cpp | 26 resy = in_ResY; in SetGfx() 60 resy = 640; in Init() 63 …if(useFullscreen_b == true) screen = SDL_SetVideoMode(resx, resy, colourDepth, SDL_OPENGL | SDL_FU… in Init() 64 else screen = SDL_SetVideoMode(resx, resy, colourDepth, SDL_OPENGL); in Init()
|
/dports/graphics/libvisual04-plugins/libvisual-plugins-0.4.0/plugins/actor/JESS/ |
H A D | draw.c | 106 int resy = priv->resy; in super_spectral_balls() local 145 if ((priv->y[i][j] < resy) &&(priv->y[i][j] > -resy) ) /*oui !*/ in super_spectral_balls() 174 int resy = priv->resy; in super_spectral() local 236 int resy = priv->resy; in grille_3d() local 310 int resy = priv->resy; in l2_grilles_3d() local 361 int resy = priv->resy; in burn_3d() local 639 int resy = priv->resy; in courbes() local 649 droite (priv, buffer, j, data[0][i] * (128) + resy / 6, j + 1, in courbes() 650 data[0][i + 1] * (128) + resy / 6, couleur (priv, j)); in courbes() 652 data[1][i + 1] * (128) - resy / 6, couleur (priv, j)); in courbes() [all …]
|
H A D | jess.c | 118 priv->resy = 200; in act_jess_init() 239 priv->resy = height; in act_jess_dimension() 358 priv->yres2 = priv->resy / 2; in jess_init() 363 priv->table1 = (uint32_t *) visual_mem_malloc0 (priv->resx * priv->resy * sizeof (int)); in jess_init() 364 priv->table2 = (uint32_t *) visual_mem_malloc0 (priv->resx * priv->resy * sizeof (int)); in jess_init() 365 priv->table3 = (uint32_t *) visual_mem_malloc0 (priv->resx * priv->resy * sizeof (int)); in jess_init() 366 priv->table4 = (uint32_t *) visual_mem_malloc0 (priv->resx * priv->resy * sizeof (int)); in jess_init() 369 priv->buffer = (uint8_t *) visual_mem_malloc0 (priv->resx * priv->resy); in jess_init() 371 priv->buffer = (uint8_t *) visual_mem_malloc0 (priv->resx * priv->resy * 4); in jess_init()
|
H A D | distorsion.c | 38 int resy, resx; in create_tables() local 40 resy = priv->resy; in create_tables() 45 for (i = 0; i < priv->resy; i++) in create_tables() 80 if (x < 0 || x >= priv->resx || y < 0 || y >= priv->resy ) in create_tables()
|
H A D | renderer.c | 197 for (j = 0; j < priv->resy * priv->pitch; j++) in on_reprise() 234 for (j = 0; j < priv->resy * priv->resx; j++) in copy_and_fade() 245 for (j = 0; j < priv->resy * priv->resx; j++) in copy_and_fade() 297 bmax = priv->resx * priv->resy + (uint32_t) priv->pixel; in render_deformation() 302 visual_mem_copy(priv->pixel, priv->buffer, priv->resx * priv->resy); in render_deformation() 329 bmax = priv->resx * priv->resy; in render_deformation() 333 visual_mem_copy(priv->pixel, priv->buffer, priv->pitch * priv->resy); in render_deformation() 353 for (i = 0; i < priv->resy * priv->resx; i++) in render_deformation() 390 bmax = priv->resx * (priv->resy-1) + (uint32_t) priv->pixel; in render_blur() 426 bmax = priv->pitch*(priv->resy-1) + (uint32_t) priv->pixel; in render_blur()
|
/dports/devel/simgear/simgear-2020.3.11/simgear/scene/dem/ |
H A D | SGDemTile.cxx | 20 resy = y; in SGDemTile() 24 pixResY = ((double)height/(double)8.0)/(double)(resy-1); in SGDemTile() 141 resy = y; in SGDemTile() 152 double overlaph = (double)h/(double)resy * overlap; in SGDemTile() 153 int nForcePixels = resx+(2*overlap), nForceLines = resy+(2*overlap); // -ts in SGDemTile() 164 …< overlapw << " overlapw " << overlapw << " resx " << resx << " resy " << resy << " w " << w << " … in SGDemTile() 267 int l = (int)( (double)(resy-1) - ((double)(resy-1)*fractLat) + 1 ); in getAlt() 274 resx, resy, l, p ); in getAlt() 301 printf("resx is %d resy is %d incw is %d incy is %d\n", resx, resy, incw, inch ); in getGeods() 310 startl = (resy-1) + overlap - ( suby * (153-3) ) + inch; in getGeods()
|
/dports/games/flightgear/flightgear-2020.3.11/utils/demconvert/ |
H A D | demconvert.cxx | 43 int resx, resy; in main() local 128 if (!arguments.read("--resy", resy)) { in main() 131 if ( resy < 2 ) in main() 137 if ( overlap > (resx/2) || overlap > (resy/2) ) in main() 150 double lat_dec = (double)tileHeight / (double)resy; in main() 166 int outLvl = root->createLevel( tileWidth, tileHeight, resx, resy, overlap, ".tiff" ); in main()
|
/dports/games/openclonk/openclonk-release-8.1-src/src/gui/ |
H A D | C4GfxErrorDlg.cpp | 81 int resy = edittext_toi(hWnd,IDC_GFXERR_YINP); in GfxErrProcedure() local 82 if(resx < 1 || resy < 1) // res. will be 0 if the user supplies an invalid value in GfxErrProcedure() 91 if(iXRes == resx && iYRes == resy) in GfxErrProcedure() 106 int resy = edittext_toi(hWnd,IDC_GFXERR_YINP); in GfxErrProcedure() local 107 if(resx < 1 || resy < 1) break; in GfxErrProcedure() 110 Config.Graphics.ResY = resy; in GfxErrProcedure()
|
/dports/graphics/vcg/vcg.1.30/src/ |
H A D | fisheye.c | 574 int *resx, *resy; 604 *resy = sfocus_y + 611 *resy = sfocus_y - 627 long *resx, *resy; 652 else *resy = COORD_HASHSIZE; 1425 int *resx, *resy; 1453 long *resx, *resy; 1834 int *resx, *resy; 1855 *resy = (int)y; 1868 long *resx, *resy; [all …]
|
/dports/emulators/mess/mame-mame0226/src/mame/drivers/ |
H A D | tattack.cpp | 180 int resy = (ram_offs & 0xf)*16+yi+16; in draw_gameplay_bitmap() local 182 if(cliprect.contains(resx,resy)) in draw_gameplay_bitmap() 183 …bitmap.pix(resy, resx) = m_bricks_color_bank == true ? red_pen : (bit & 4 ? yellow_pen : green_pen… in draw_gameplay_bitmap() 197 int resy = m_paddle_reg+yi; in draw_gameplay_bitmap() local 199 if(cliprect.contains(resx,resy)) in draw_gameplay_bitmap() 200 bitmap.pix(resy, resx) = white_pen; in draw_gameplay_bitmap() 208 int resy = m_ball_regs[1]+yi; in draw_gameplay_bitmap() local 210 if(cliprect.contains(resx,resy)) in draw_gameplay_bitmap() 211 bitmap.pix(resy, resx) = (white_pen); in draw_gameplay_bitmap()
|
H A D | marinedt.cpp | 358 int resx,resy; in obj_to_obj_collision() local 361 resy = m_obj[0].y + y; in obj_to_obj_collision() 363 if((m_obj[0].bitmap.pix(resy,resx) & 3) == 0) in obj_to_obj_collision() 367 if(m_obj[1].bitmap.pix(resy,resx) != 0) in obj_to_obj_collision() 368 return ((resy / 8) * 32) | (((resx / 8) - 1) & 0x1f); in obj_to_obj_collision() 385 uint16_t resx,resy; in obj_to_layer_collision() local 388 resy = m_obj[0].y + y; in obj_to_layer_collision() 390 if((m_obj[0].bitmap.pix(resy,resx) & 3) == 0) in obj_to_layer_collision() 394 resy -= 32; in obj_to_layer_collision() 397 if(m_tilemap->pixmap().pix(resy,resx) != 0) in obj_to_layer_collision() [all …]
|
/dports/emulators/mame/mame-mame0226/src/mame/drivers/ |
H A D | tattack.cpp | 180 int resy = (ram_offs & 0xf)*16+yi+16; in draw_gameplay_bitmap() local 182 if(cliprect.contains(resx,resy)) in draw_gameplay_bitmap() 183 …bitmap.pix(resy, resx) = m_bricks_color_bank == true ? red_pen : (bit & 4 ? yellow_pen : green_pen… in draw_gameplay_bitmap() 197 int resy = m_paddle_reg+yi; in draw_gameplay_bitmap() local 199 if(cliprect.contains(resx,resy)) in draw_gameplay_bitmap() 200 bitmap.pix(resy, resx) = white_pen; in draw_gameplay_bitmap() 208 int resy = m_ball_regs[1]+yi; in draw_gameplay_bitmap() local 210 if(cliprect.contains(resx,resy)) in draw_gameplay_bitmap() 211 bitmap.pix(resy, resx) = (white_pen); in draw_gameplay_bitmap()
|
H A D | marinedt.cpp | 358 int resx,resy; in obj_to_obj_collision() local 361 resy = m_obj[0].y + y; in obj_to_obj_collision() 363 if((m_obj[0].bitmap.pix(resy,resx) & 3) == 0) in obj_to_obj_collision() 367 if(m_obj[1].bitmap.pix(resy,resx) != 0) in obj_to_obj_collision() 368 return ((resy / 8) * 32) | (((resx / 8) - 1) & 0x1f); in obj_to_obj_collision() 385 uint16_t resx,resy; in obj_to_layer_collision() local 388 resy = m_obj[0].y + y; in obj_to_layer_collision() 390 if((m_obj[0].bitmap.pix(resy,resx) & 3) == 0) in obj_to_layer_collision() 394 resy -= 32; in obj_to_layer_collision() 397 if(m_tilemap->pixmap().pix(resy,resx) != 0) in obj_to_layer_collision() [all …]
|
/dports/net-im/coccinella/Coccinella-0.96.20Src/bin/windows/intel/printer834/ |
H A D | printer.tcl | 129 foreach {ary(resx) ary(resy)} $val {} 152 set ary(resy) $tmp2 157 set ary(resy) 300 160 set ary(resy) 600 163 set ary(resy) 200 170 if { [ info exist ary(resy) ] == 0 } { set ary(resy) $ary(resx) } 302 gdi map $hdc -logical $lo -physical $ph -offset [list $p(resx) $p(resy)] 309 gdi map $hdc -logical $lo -physical $ph -offset [list $p(resx) $p(resy)] 316 set tm [ expr $p(tm) * $p(resy) / 1000 ] 324 "p(resx)=$p(resx), p(resy)=$p(resy)" -font {courier 10} [all …]
|
/dports/graphics/yafaray/libYafaRay-3.5.1/src/textures/ |
H A D | imagetex.cc | 108 int resy=image->getHeight(); in getColor() local 113 y = std::max(0, std::min(resy-1, y)); in getColor() 287 int resy = image->getHeight(mipmaplevel); in noInterpolation() local 290 float yf = ((float)resy * (p.y - floor(p.y))); in noInterpolation() 303 int resy = image->getHeight(mipmaplevel); in bilinearInterpolation() local 329 int resy = image->getHeight(mipmaplevel); in bicubicInterpolation() local 448 int resy = image->getHeight(mipmaplevel); in EWAEllipticCalculation() local 454 int resy = image->getHeight(mipmaplevel); in EWAEllipticCalculation() local 461 dT0 *= resy; in EWAEllipticCalculation() 462 dT1 *= resy; in EWAEllipticCalculation() [all …]
|
/dports/games/gracer/gracer-0.1.5/src/ |
H A D | init.tcl | 19 set options(resy) 240 38 if {$options(resy) < 300} {set height 300} else {set height $options(resy)}
|
/dports/graphics/yafaray/libYafaRay-3.5.1/include/core_api/ |
H A D | camera.h | 44 …position(pos), resx(_resx), resy(_resy), aspect_ratio(aspect * (float)resy / (float)resx),camera_n… in camera_t() 71 virtual int resY() const { return resy; } //!< Get camera Y resolution in resY() 88 int resy; //!< Camera Y resolution variable
|
/dports/graphics/yafaray/libYafaRay-3.5.1/src/cameras/ |
H A D | equirectangularCamera.cc | 56 float v = 2.f * py/(float)resy - 1.f; in shootRay() 70 int resx=320, resy=200; in factory() local 79 params.getParam("resy", resy); in factory() 85 …equirectangularCam_t *cam = new equirectangularCam_t(from, to, up, resx, resy, aspect, nearClip, f… in factory()
|