/dports/lang/racket/racket-8.3/share/pkgs/games/jewel/ |
H A D | shapes.rkt | 176 (define sizey (* 0.6 scale)) 180 (define bsizey (+ sizey bevel)) 186 (glNormal3f 0.0 sizey 0.0) 193 (glVertex3f sizex sizey bsizez) 205 (glVertex3f bsizex sizey sizez) 216 (glNormal3f 0.0 (- sizey) 0.0) 224 (glNormal3f 0.0 sizey sizez) 236 (glNormal3f sizex sizey 0.0) 301 (glNormal3f sizex sizey sizez) 302 (glVertex3f bsizex sizey sizez) [all …]
|
/dports/japanese/ne/ne/src/ |
H A D | disp.c | 54 void dsp_regresize(dspreg_t *drp,int sizex,int sizey) in dsp_regresize() argument 60 if (sizey> dspall.sizey) in dsp_regresize() 61 sizey= dspall.sizey; in dsp_regresize() 66 if (sizey!=-1|| drp->sizey!= sizey) in dsp_regresize() 68 drp->sizey= sizey; in dsp_regresize() 70 a=drp->y+ sizey -dspall.sizey; in dsp_regresize() 85 for (i=0;i<drp->sizey;++i) in dsp_regview() 89 dfp=drp->func(drp->vp, i, drp->sizex, drp->sizey); in dsp_regview() 143 drp->sizey=dspall.sizey; in dsp_reginit() 211 dspall.sizey= GetMaxRow()+1; //!! in dsp_allinit()
|
/dports/science/cdo/cdo-2.0.0/libcdi/tests/ |
H A D | test_cdf_write.c | 40 sizey = 40, in main() enumerator 41 sizex = 2 * sizey, in main() 44 size_t datasize = (size_t)sizex * (size_t)sizey; in main() 47 gridDefYsize(gridID, sizey); in main() 62 double (*gridCoords)[sizey][sizex] in main() 63 = (double (*)[sizey][sizex]) in main() 101 for (size_t j = 0; j < sizey; ++j) in main() 106 data[sizey/3][sizex/2] = missValue; in main() 148 double (*coords)[sizey][sizex] = (double (*)[sizey][sizex])coords_; in compute_curvilinear() 150 for (size_t j = 0; j < sizey; ++j) in compute_curvilinear() [all …]
|
/dports/misc/elki/elki-release0.7.1-1166-gfb1fffdf3/addons/tutorial/src/main/java/tutorial/clustering/ |
H A D | NaiveAgglomerativeHierarchicalClustering4.java | 93 public double combine(int sizex, double dx, int sizey, double dy, int sizej, double dxy) { in combine() argument 106 final double wx = sizex / (double) (sizex + sizey); in combine() 107 final double wy = sizey / (double) (sizex + sizey); in combine() 120 final double wx = sizex / (double) (sizex + sizey); in combine() 121 final double wy = sizey / (double) (sizex + sizey); in combine() 122 final double beta = (sizex * sizey) / (double) ((sizex + sizey) * (sizex + sizey)); in combine() 135 final double wx = (sizex + sizej) / (double) (sizex + sizey + sizej); in combine() 136 final double wy = (sizey + sizej) / (double) (sizex + sizey + sizej); in combine() 137 final double beta = sizej / (double) (sizex + sizey + sizej); in combine() 237 int sizex = csize.intValue(ix), sizey = csize.intValue(iy); in run() local [all …]
|
H A D | NaiveAgglomerativeHierarchicalClustering3.java | 95 public double combine(int sizex, double dx, int sizey, double dy, int sizej, double dxy) { in combine() argument 108 final double wx = sizex / (double) (sizex + sizey); in combine() 109 final double wy = sizey / (double) (sizex + sizey); in combine() 122 final double wx = sizex / (double) (sizex + sizey); in combine() 123 final double wy = sizey / (double) (sizex + sizey); in combine() 124 final double beta = (sizex * sizey) / (double) ((sizex + sizey) * (sizex + sizey)); in combine() 137 final double wx = (sizex + sizej) / (double) (sizex + sizey + sizej); in combine() 138 final double wy = (sizey + sizej) / (double) (sizex + sizey + sizej); in combine() 139 final double beta = sizej / (double) (sizex + sizey + sizej); in combine() 251 int sizex = 1, sizey = 1; // cluster sizes, for averaging in run() local [all …]
|
/dports/games/xrubik/xrubik/ |
H A D | xmrubik.c | 329 XtNsizey, sizey, in MakeEquivalent() 350 XtNsizey, *sizey, in MakeEquivalent() 379 if (sizey <= MAXCUBES) in Initialize() 411 XtNsizey, &sizey, in CallbackRubik() 511 sizey--; in CallbackRubik() 516 if (sizey <= MAXCUBES) in CallbackRubik() 521 sizey++; in CallbackRubik() 526 if (sizey <= MAXCUBES) in CallbackRubik() 577 XtNsizey, &sizey, in CubesXSlider() 605 if (old != sizey) { in CubesYSlider() [all …]
|
H A D | xrubik.c | 83 static void PrintRecord(int sizex, int sizey, int sizez, 220 XtNsizey, sizey, in MakeEquivalent() 241 XtNsizey, *sizey, in MakeEquivalent() 263 int sizex, sizey, sizez; in Initialize() local 288 int sizex, sizey, sizez, dim, otherdim; in CallbackRubik() local 303 XtNsizey, &sizey, in CallbackRubik() 415 sizey--; in CallbackRubik() 417 XtSetArg(arg[0], XtNsizey, sizey); in CallbackRubik() 423 sizey++; in CallbackRubik() 425 XtSetArg(arg[0], XtNsizey, sizey); in CallbackRubik() [all …]
|
/dports/games/senken/senken-0.3.0/lib/ |
H A D | heightmap.c | 31 int sizey; member 45 ret->sizey = sizey; in heightmap_init() 47 ret->map = malloc(sizeof(char)*(sizex+1)*(sizey+1)); in heightmap_init() 63 return map->sizey; in heightmap_getsize_y() 69 (y < 0) || (y > map->sizey - 1)) { in heightmap_getheight() 109 if (y < map->sizey-1) in heightmap_can_changeheight() 124 if ((x < map->sizex-1) && (y < map->sizey-1)) in heightmap_can_changeheight() 129 if ((x > 0) && (y < map->sizey-1)) in heightmap_can_changeheight() 143 if ((y < 0) || (y >= map->sizey)) return -1; in heightmap_changeheight() 157 if (y == map->sizey-1) { in heightmap_changeheight() [all …]
|
/dports/games/senken/senken-0.3.0/src/ |
H A D | screen.c | 31 int sizey; member 135 int screen_setsize(screen_t *screen, int sizex, int sizey) in screen_setsize() argument 142 screen->sizey = sizey; in screen_setsize() 193 int sizey = screen->mapsizey - 1; in nominal_screen_to_map() local 202 retx = sx/screen->tilex + sy/screen->tiley - sizey/2; in nominal_screen_to_map() 203 rety = - sx/screen->tilex + sy/screen->tiley + sizey/2; in nominal_screen_to_map() 211 rety = sx/screen->tilex - sy/screen->tiley + sizey/2; in nominal_screen_to_map() 419 if (screeny >= screen->sizey) { in screen_to_mapcoord() 420 screeny = screen->sizey - 1; in screen_to_mapcoord() 453 if (screeny >= screen->sizey) return -1; in screen_to_mapcoord() [all …]
|
/dports/games/openglad/openglad-0.98/src/ |
H A D | text.cpp | 27 sizey = letters[2]; in text() 38 sizey = letters[2]; in text() 258 …screenp->walkputbuffertext(x, y, sizex, sizey, 0, 0, 319,199, (unsigned char*) &letters[letter * s… in write_char_xy() 268 …screenp->walkputbuffertext(x, y, sizex, sizey, 0, 0, 319,199, (unsigned char*) &letters[letter * s… in write_char_xy() 275 …screenp->putdatatext(x, y, sizex, sizey, (unsigned char *) &letters[letter *sizex*sizey], (unsigne… in write_char_xy() 281 screenp->putdatatext(x, y, sizex, sizey, (unsigned char *) &letters[letter *sizex*sizey]); in write_char_xy() 289 …screenp->putdatatext(x, y, sizex, sizey, (unsigned char *)&letters[letter *sizex*sizey], (unsigned… in write_char_xy() 302 screenp->putdatatext(x, y, sizex, sizey, (unsigned char *)&letters[letter *sizex*sizey]); in write_char_xy() 342 screenp->draw_box(x, y, x+maxlength*(sizex+1), y+sizey, backcolor, 1, 1); in input_string() 355 screenp->clearfontbuffer(x,y,maxlength*sizex,sizey); in input_string() [all …]
|
H A D | pixie.cpp | 52 sizey = y; in pixie() 53 size = (unsigned short) (sizex*sizey); in pixie() 110 view_buf->screenp->putbuffer(xscreen, yscreen, sizex, sizey, in draw() 117 view_buf->screenp->putbuffer(xscreen, yscreen, sizex, sizey, in draw() 145 view_buf->screenp->walkputbuffer(xscreen, yscreen, sizex, sizey, in drawMix() 156 screenp->putdata(x, y, sizex, sizey, bmp); in put_screen() 184 else if ( (ypos+sizey) < topy) in on_screen() 198 bmp_surface = SDL_CreateRGBSurface(SDL_SWSURFACE,sizex*screenp->mult,sizey*screenp->mult,24, in init_sdl_surface() 206 for(i=0;i<sizey;i++) in init_sdl_surface()
|
/dports/games/sdl_jewels/SDL_jewels-1.1.1/ |
H A D | gljewel.c | 160 int mousex,mousey,sizex,sizey; variable 416 float sizex,sizey; in initfont() local 420 sizey=FONTSIZE*l->sy; in initfont() 429 glVertex3f(0.0,-sizey, 0.0); in initfont() 435 glVertex3f(0.0, sizey, 0.0); in initfont() 477 sizey=height; in resize() 1068 float sizex,sizey,sizez; in makebcube() local 1072 sizex=sizey=sizez=0.6*scale; in makebcube() 1075 bsizey=sizey+bevel; in makebcube() 2509 sizey = 600; in main() [all …]
|
/dports/games/xmemory/xmemory-3.7/ |
H A D | tile.C | 193 p->sizex, p->sizey, DefaultDepthOfScreen(p->screen) ); in Tile() 208 XFillRectangle( display, pixmap, p->gc_all, 0, 0, p->sizex, p->sizey ); in Tile() 214 XDrawLine( display, pixmap, p->gc_all, 0, 0, 0, p->sizey-1 ); in Tile() 218 XDrawLine( display, pixmap, p->gc_all, 1, 1, 1, p->sizey-2 ); in Tile() 226 p->sizex/2+2,p->sizey/2+2, buffer); in Tile() 229 p->sizex/2+1,p->sizey/2+1, buffer); in Tile() 235 XDrawLine( display, pixmap, p->gc_all, 0, p->sizey-1, p->sizex-1, p->sizey-1); in Tile() 239 XDrawLine( display, pixmap, p->gc_all, 1, p->sizey-2, p->sizex-2, p->sizey-2); in Tile() 248 p->sizex/2-2,p->sizey/2-2, buffer); in Tile() 251 p->sizex/2-1,p->sizey/2-1, buffer); in Tile() [all …]
|
/dports/devel/tbb/oneTBB-2020.3/examples/common/gui/ |
H A D | video.h | 46 int sizex, sizey; variable 50 inline int get_size() const { return ((pixel_depth>16) ? 4:2) * sizex * sizey; } in get_size() 82 bool init_window(int sizex, int sizey); 128 drawing_area(int x, int y, int sizex, int sizey); 129 inline drawing_area(int x, int y, int sizex, int sizey, const drawing_memory &dmem); 153 dmem.sizey = g_sizey; in get_drawing_memory() 183 inline drawing_area::drawing_area(int x, int y, int sizex, int sizey, const drawing_memory &dmem) in drawing_area() argument 184 : base_index(y*dmem.sizex + x), max_index(dmem.sizex*dmem.sizey), index_stride(dmem.sizex), in drawing_area() 186 start_x(x), start_y(y), size_x(sizex), size_y(sizey) in drawing_area() 188 assert(x < dmem.sizex); assert(y < dmem.sizey); in drawing_area() [all …]
|
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/examples/common/gui/ |
H A D | video.h | 46 int sizex, sizey; variable 50 inline int get_size() const { return ((pixel_depth>16) ? 4:2) * sizex * sizey; } in get_size() 82 bool init_window(int sizex, int sizey); 128 drawing_area(int x, int y, int sizex, int sizey); 129 inline drawing_area(int x, int y, int sizex, int sizey, const drawing_memory &dmem); 153 dmem.sizey = g_sizey; in get_drawing_memory() 183 inline drawing_area::drawing_area(int x, int y, int sizex, int sizey, const drawing_memory &dmem) in drawing_area() argument 184 : base_index(y*dmem.sizex + x), max_index(dmem.sizex*dmem.sizey), index_stride(dmem.sizex), in drawing_area() 186 start_x(x), start_y(y), size_x(sizex), size_y(sizey) in drawing_area() 188 assert(x < dmem.sizex); assert(y < dmem.sizey); in drawing_area() [all …]
|
/dports/devel/taskflow/taskflow-3.2.0/sandbox/seismic/ |
H A D | video.h | 46 int sizex, sizey; variable 50 inline int get_size() const { return ((pixel_depth>16) ? 4:2) * sizex * sizey; } in get_size() 82 bool init_window(int sizex, int sizey); 128 drawing_area(int x, int y, int sizex, int sizey); 129 inline drawing_area(int x, int y, int sizex, int sizey, const drawing_memory &dmem); 153 dmem.sizey = g_sizey; in get_drawing_memory() 183 inline drawing_area::drawing_area(int x, int y, int sizex, int sizey, const drawing_memory &dmem) in drawing_area() argument 184 : base_index(y*dmem.sizex + x), max_index(dmem.sizex*dmem.sizey), index_stride(dmem.sizex), in drawing_area() 186 start_x(x), start_y(y), size_x(sizex), size_y(sizey) in drawing_area() 188 assert(x < dmem.sizex); assert(y < dmem.sizey); in drawing_area() [all …]
|
/dports/devel/onetbb/oneTBB-2021.4.0/examples/common/gui/ |
H A D | video.hpp | 43 int sizex, sizey; member in drawing_memory 50 return ((pixel_depth > 16) ? 4 : 2) * sizex * sizey; in get_size() 84 bool init_window(int sizex, int sizey); 134 drawing_area(int x, int y, int sizex, int sizey); 135 inline drawing_area(int x, int y, int sizex, int sizey, const drawing_memory &dmem); 160 dmem.sizey = g_sizey; in get_drawing_memory() 193 inline drawing_area::drawing_area(int x, int y, int sizex, int sizey, const drawing_memory &dmem) in drawing_area() argument 195 max_index(dmem.sizex * dmem.sizey), in drawing_area() 202 size_y(sizey) { in drawing_area() 204 assert(y < dmem.sizey); in drawing_area() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/vil3d/tests/ |
H A D | test_save_load_image.cxx | 42 int sizey = image.nj(); in test_image_equal() local 57 TEST("Image dimensions", sizex == sizex2 && sizey == sizey2 && sizey == sizey2, true); in test_image_equal() 58 if (sizex != sizex2 || sizey != sizey2) in test_image_equal() 61 << " instead of " << sizex << " x " << sizey << '\n' << std::flush; in test_image_equal() 86 for (int j=0; j < sizey; ++j) in test_image_equal() 113 << " out of " << planes *sizex * sizey << '\n' << std::flush; in test_image_equal() 263 int sizey = 32; in test_save_load_image() local 265 vil3d_image_view<bool> image1 = CreateTest1bitImage(sizex, sizey, sizez); in test_save_load_image() 266 vil3d_image_view<vxl_byte> image8 = CreateTest8bitImage(sizex, sizey, sizez); in test_save_load_image() 268 vil3d_image_view<vxl_int_16> image16 = CreateTest16bitImage(sizex, sizey, sizez); in test_save_load_image() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/aom/av1/common/ |
H A D | clpf_simd.h | 86 for (y = 0; y < sizey; y += 2) { in SIMD_FUNC() 120 for (y = 0; y < sizey; y += 4) { in SIMD_FUNC() 167 for (y = 0; y < sizey; y += 2) { in SIMD_FUNC() 194 for (y = 0; y < sizey; y += 4) { in SIMD_FUNC() 229 int sstride, int sizex, int sizey, in SIMD_FUNC() 231 if ((sizex != 4 && sizex != 8) || ((sizey & 3) && sizex == 4)) { in SIMD_FUNC() 243 int sstride, int sizex, int sizey, in SIMD_FUNC() 332 for (y = 0; y < sizey; y += 2) { in SIMD_FUNC() 364 for (y = 0; y < sizey; y++) { in SIMD_FUNC() 388 for (y = 0; y < sizey; y += 2) { in SIMD_FUNC() [all …]
|
/dports/games/sdl_lopan/sdllopan-10/ |
H A D | gfx.c | 524 sizey+=desty; in gstoback() 533 while(sizey--) in gstoback() 553 sizey+=y; in eraserect() 564 sizey=vysize-y; in eraserect() 567 while(sizey-->0) in eraserect() 580 sizey+=y; in transformrect() 591 sizey=vysize-y; in transformrect() 593 while(sizey-->0) in transformrect() 617 sizey+=y; in solidrect() 628 sizey=vysize-y; in solidrect() [all …]
|
/dports/graphics/libgphoto2/libgphoto2-2.5.26/camlibs/docupen/ |
H A D | image.c | 24 img = gdImageCreate(le16toh(dp->sizex), le16toh(dp->sizey)); in dp_get_image_mono() 64 if (y >= le16toh(dp->sizey)) in dp_get_image_mono() 68 if (last_mark < le16toh(dp->sizey) - 1) { in dp_get_image_mono() 70 gdImageSetPixel(img, 0, le16toh(dp->sizey) - 1, 0xff); in dp_get_image_mono() 114 img = gdImageCreate(le16toh(dp->sizex), le16toh(dp->sizey)); in dp_get_image_grey() 120 for (i = 0; i < le16toh(dp->sizey); i++) { in dp_get_image_grey() 144 if (last_mark < le16toh(dp->sizey) - 1) { in dp_get_image_grey() 146 gdImageSetPixel(img, 1599, le16toh(dp->sizey) - 1, 0x80); in dp_get_image_grey() 194 if ((le16toh(dp->sizex) <= 0) || (le16toh(dp->sizey) <= 0) || in dp_get_image_color() 202 for (i = 0; i < le16toh(dp->sizey); i++) { in dp_get_image_color() [all …]
|
/dports/graphics/grx/grx249/test/ |
H A D | bb1test.c | 27 int sizey = 40; in main() local 35 pContext = GrCreateFrameContext(GR_frameRAM1, sizex, sizey, NULL, NULL); in main() 39 GrLine(0, 0, sizex-1, sizey-1, GrWhite()); in main() 40 GrLine(0, sizey-1, sizex-1, 0, GrWhite()); in main() 50 GrBitBlt1bpp(NULL,x,y,pContext,0,0,sizex-1,sizey-1,fcolor,bcolor); in main() 76 GrBitBlt1bpp(NULL,x,y,pContext,0,0,sizex-1,sizey-1,fcolor,bcolor); in main()
|
/dports/emulators/mess/mame-mame0226/src/mame/video/ |
H A D | tecmo_spr.cpp | 128 if (sizey >= 2) number &= ~0x02; in gaiden_draw_sprites() 130 if (sizey >= 4) number &= ~0x08; in gaiden_draw_sprites() 132 if (sizey >= 8) number &= ~0x20; in gaiden_draw_sprites() 151 ypos = 256 - (8 * sizey) - ypos; in gaiden_draw_sprites() 163 for (int row = 0; row < sizey; row++) in gaiden_draw_sprites() 307 int sizey = 1 << ((flags >> 2) & 3); in draw_wc90_sprites() local 312 for (int y = 0; y < sizey; y++) in draw_wc90_sprites() 317 int sy = ypos + 8*(flipy?(sizey-1-y):y); in draw_wc90_sprites() 342 int sizey = 1 << ((spriteram[offs+0] & 0x0c) >> 2); in tbowl_draw_sprites() local 351 for (int y = 0; y < sizey; y++) in tbowl_draw_sprites() [all …]
|
/dports/emulators/mame/mame-mame0226/src/mame/video/ |
H A D | tecmo_spr.cpp | 128 if (sizey >= 2) number &= ~0x02; in gaiden_draw_sprites() 130 if (sizey >= 4) number &= ~0x08; in gaiden_draw_sprites() 132 if (sizey >= 8) number &= ~0x20; in gaiden_draw_sprites() 151 ypos = 256 - (8 * sizey) - ypos; in gaiden_draw_sprites() 163 for (int row = 0; row < sizey; row++) in gaiden_draw_sprites() 307 int sizey = 1 << ((flags >> 2) & 3); in draw_wc90_sprites() local 312 for (int y = 0; y < sizey; y++) in draw_wc90_sprites() 317 int sy = ypos + 8*(flipy?(sizey-1-y):y); in draw_wc90_sprites() 342 int sizey = 1 << ((spriteram[offs+0] & 0x0c) >> 2); in tbowl_draw_sprites() local 351 for (int y = 0; y < sizey; y++) in tbowl_draw_sprites() [all …]
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/intf/video/psp/ |
H A D | vid_pspfx.cpp | 9 static int sizey =0; variable 44 BurnDrvGetFullSize(&sizex, &sizey); in Init() 47 BurnDrvGetFullSize(&sizex, &sizey); in Init() 51 VidMemLen = sizey * VidMemPitch; in Init() 80 for (int y = 0; y < sizey; y++, pd += p, ps += nBurnPitch) in Frame() 93 vidgu_render(0,0,sizex,sizey,0,0,480,272); in Paint()
|