/dports/devel/py-game/pygame-2.1.0/src_c/ |
H A D | scale_mmx64_gcc.c | 198 …nt8 *dstpix, Uint16 *templine, int width, int srcpitch, int dstpitch, int srcheight, int dstheight) in filter_shrink_Y_MMX_gcc() argument 203 int yspace = 0x4000 * srcheight / dstheight; /* must be > 1 */ in filter_shrink_Y_MMX_gcc() 303 int yspace = 0x4000 * srcheight / dstheight; /* must be > 1 */ in filter_shrink_Y_SSE_gcc() 491 …(Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch, int dstpitch, int srcheight, int dstheight) in filter_expand_Y_MMX() argument 495 for (y = 0; y < dstheight; y++) in filter_expand_Y_MMX() 497 int yidx0 = y * (srcheight - 1) / dstheight; in filter_expand_Y_MMX() 500 int ymult1 = 0x0100 * ((y * (srcheight - 1)) % dstheight) / dstheight; in filter_expand_Y_MMX() 537 …(Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch, int dstpitch, int srcheight, int dstheight) in filter_expand_Y_SSE() argument 541 for (y = 0; y < dstheight; y++) in filter_expand_Y_SSE() 543 int yidx0 = y * (srcheight - 1) / dstheight; in filter_expand_Y_SSE() [all …]
|
H A D | scale_mmx32.c | 195 …(Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch, int dstpitch, int srcheight, int dstheight) in filter_shrink_Y_MMX() argument 200 int yspace = 0x4000 * srcheight / dstheight; /* must be > 1 */ in filter_shrink_Y_MMX() 301 …(Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch, int dstpitch, int srcheight, int dstheight) in filter_shrink_Y_SSE() argument 306 int yspace = 0x4000 * srcheight / dstheight; /* must be > 1 */ in filter_shrink_Y_SSE() 536 …(Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch, int dstpitch, int srcheight, int dstheight) in filter_expand_Y_MMX() argument 540 for (y = 0; y < dstheight; y++) in filter_expand_Y_MMX() 542 int yidx0 = y * (srcheight - 1) / dstheight; in filter_expand_Y_MMX() 545 int ymult1 = 0x0100 * ((y * (srcheight - 1)) % dstheight) / dstheight; in filter_expand_Y_MMX() 585 for (y = 0; y < dstheight; y++) in filter_expand_Y_SSE() 587 int yidx0 = y * (srcheight - 1) / dstheight; in filter_expand_Y_SSE() [all …]
|
H A D | scale_mmx64.c | 197 …(Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch, int dstpitch, int srcheight, int dstheight) in filter_shrink_Y_MMX() argument 203 int yspace = 0x4000 * srcheight / dstheight; /* must be > 1 */ in filter_shrink_Y_MMX() 305 …(Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch, int dstpitch, int srcheight, int dstheight) in filter_shrink_Y_SSE() argument 311 int yspace = 0x4000 * srcheight / dstheight; /* must be > 1 */ in filter_shrink_Y_SSE() 542 …(Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch, int dstpitch, int srcheight, int dstheight) in filter_expand_Y_MMX() argument 546 for (y = 0; y < dstheight; y++) in filter_expand_Y_MMX() 548 int yidx0 = y * (srcheight - 1) / dstheight; in filter_expand_Y_MMX() 551 int ymult1 = 0x0100 * ((y * (srcheight - 1)) % dstheight) / dstheight; in filter_expand_Y_MMX() 592 for (y = 0; y < dstheight; y++) in filter_expand_Y_SSE() 594 int yidx0 = y * (srcheight - 1) / dstheight; in filter_expand_Y_SSE() [all …]
|
H A D | scale.h | 43 …Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch, int dstpitch, int srcheight, int dstheight); 45 …Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch, int dstpitch, int srcheight, int dstheight); 55 …Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch, int dstpitch, int srcheight, int dstheight); 57 …Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch, int dstpitch, int srcheight, int dstheight); 61 …t8 *dstpix, Uint16 *templine, int width, int srcpitch, int dstpitch, int srcheight, int dstheight); 63 …t8 *dstpix, Uint16 *templine, int width, int srcpitch, int dstpitch, int srcheight, int dstheight);
|
H A D | rotozoom.c | 450 *dstheight = 2 * dstheighthalf; in rotozoomSurfaceSizeTrig() 457 int *dstwidth, int *dstheight) in rotozoomSurfaceSize() argument 478 int *dstwidth, int *dstheight) in zoomSurfaceSize() argument 494 *dstheight = (int)((double)height * zoomy); in zoomSurfaceSize() 498 if (*dstheight < 1) { in zoomSurfaceSize() 499 *dstheight = 1; in zoomSurfaceSize() 511 int dstwidth, dstheight; in rotozoomSurface() local 566 &dstheight, &canglezoom, &sanglezoom); in rotozoomSurface() 578 dstheighthalf = dstheight / 2; in rotozoomSurface() 588 SDL_CreateRGBSurface(SDL_SWSURFACE, dstwidth, dstheight, 32, in rotozoomSurface() [all …]
|
H A D | scale_mmx64_msvc.c | 40 …(Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch, int dstpitch, int srcheight, int dstheight) in filter_shrink_Y_MMX() argument 49 …filter_shrink_Y_MMX_gcc(srcpix, dstpix, templine, width, srcpitch, dstpitch, srcheight, dstheight); in filter_shrink_Y_MMX() 56 …(Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch, int dstpitch, int srcheight, int dstheight) in filter_shrink_Y_SSE() argument 65 …filter_shrink_Y_SSE_gcc(srcpix, dstpix, templine, width, srcpitch, dstpitch, srcheight, dstheight); in filter_shrink_Y_SSE()
|
/dports/devel/p5-SDL/SDL-2.548/src/GFX/ |
H A D | Rotozoom.xs | 101 int dstwidth,dstheight; 102 rotozoomSurfaceSize(width, height, angle, zoom, &dstwidth, &dstheight); 106 av_push(RETVAL,newSViv(dstheight)); 118 int dstwidth,dstheight; 119 rotozoomSurfaceSizeXY(width, height, angle, zoomx, zoomy, &dstwidth, &dstheight); 123 av_push(RETVAL,newSViv(dstheight)); 148 int dstwidth,dstheight; 149 zoomSurfaceSize(width, height, zoomx, zoomy, &dstwidth, &dstheight); 153 av_push(RETVAL,newSViv(dstheight));
|
/dports/games/instead/instead-3.4.1/src/ |
H A D | SDL2_rotozoom.c | 939 int *dstwidth, int *dstheight, in _rotozoomSurfaceSizeTrig() argument 1149 rz_dst->h = dstheight; in rotozoomSurfaceXY() 1229 rz_dst->h = dstheight; in rotozoomSurfaceXY() 1324 if (*dstheight < 1) { in zoomSurfaceSize() 1325 *dstheight = 1; in zoomSurfaceSize() 1349 int dstwidth, dstheight; in zoomSurface() local 1429 rz_dst->h = dstheight; in zoomSurface() 1501 int dstwidth, dstheight; in shrinkSurface() local 1557 dstheight=rz_src->h/factory; in shrinkSurface() 1558 while (dstheight*factory>rz_src->h) { dstheight--; } in shrinkSurface() [all …]
|
H A D | SDL_rotozoom.c | 954 int *dstwidth, int *dstheight, in _rotozoomSurfaceSizeTrig() argument 1176 rz_dst->h = dstheight; in rotozoomSurfaceXY() 1268 rz_dst->h = dstheight; in rotozoomSurfaceXY() 1375 if (*dstheight < 1) { in zoomSurfaceSize() 1376 *dstheight = 1; in zoomSurfaceSize() 1400 int dstwidth, dstheight; in zoomSurface() local 1480 rz_dst->h = dstheight; in zoomSurface() 1557 int dstwidth, dstheight; in shrinkSurface() local 1613 dstheight=rz_src->h/factory; in shrinkSurface() 1614 while (dstheight*factory>rz_src->h) { dstheight--; } in shrinkSurface() [all …]
|
H A D | SDL2_rotozoom.h | 86 int *dstheight); 90 int *dstwidth, int *dstheight); 100 … zoomSurfaceSize(int width, int height, double zoomx, double zoomy, int *dstwidth, int *dstheight);
|
/dports/games/manaplus/manaplus-2.1.3.17/src/sdl2gfx/ |
H A D | SDL2_rotozoom.cpp | 1135 *dstheight = 2 * dstheighthalf; in _rotozoomSurfaceSizeTrig() 1354 rz_dst->h = dstheight; in rotozoomSurfaceXY() 1452 rz_dst->h = dstheight; in rotozoomSurfaceXY() 1567 if (*dstheight < 1) in zoomSurfaceSize() 1569 *dstheight = 1; in zoomSurfaceSize() 1597 int dstwidth, dstheight; in zoomSurface() local 1687 rz_dst->h = dstheight; in zoomSurface() 1769 int dstwidth, dstheight; in shrinkSurface() local 1835 dstheight=rz_src->h/factory; in shrinkSurface() 1838 dstheight--; in shrinkSurface() [all …]
|
/dports/games/warmux/warmux-11.04/build/android/jni/sdl_gfx/ |
H A D | SDL_rotozoom.c | 952 *dstheight = 2 * dstheighthalf; in _rotozoomSurfaceSizeTrig() 1147 rz_dst->h = dstheight; in rotozoomSurfaceXY() 1239 rz_dst->h = dstheight; in rotozoomSurfaceXY() 1346 if (*dstheight < 1) { in zoomSurfaceSize() 1347 *dstheight = 1; in zoomSurfaceSize() 1371 int dstwidth, dstheight; in zoomSurface() local 1441 rz_dst->h = dstheight; in zoomSurface() 1516 int dstwidth, dstheight; in shrinkSurface() local 1556 dstheight=rz_src->h/factory; in shrinkSurface() 1557 while (dstheight*factory>rz_src->h) { dstheight--; } in shrinkSurface() [all …]
|
/dports/graphics/sdl2_gfx/SDL2_gfx-1.0.4/ |
H A D | SDL2_rotozoom.c | 955 int *dstwidth, int *dstheight, in _rotozoomSurfaceSizeTrig() argument 1165 rz_dst->h = dstheight; in rotozoomSurfaceXY() 1245 rz_dst->h = dstheight; in rotozoomSurfaceXY() 1340 if (*dstheight < 1) { in zoomSurfaceSize() 1341 *dstheight = 1; in zoomSurfaceSize() 1365 int dstwidth, dstheight; in zoomSurface() local 1445 rz_dst->h = dstheight; in zoomSurface() 1517 int dstwidth, dstheight; in shrinkSurface() local 1573 dstheight=rz_src->h/factory; in shrinkSurface() 1574 while (dstheight*factory>rz_src->h) { dstheight--; } in shrinkSurface() [all …]
|
/dports/devel/py-game_sdl2/pygame_sdl2-2.1.0-for-renpy-7.4.11/src/ |
H A D | SDL2_rotozoom.c | 955 int *dstwidth, int *dstheight, in _rotozoomSurfaceSizeTrig() argument 1165 rz_dst->h = dstheight; in rotozoomSurfaceXY() 1245 rz_dst->h = dstheight; in rotozoomSurfaceXY() 1340 if (*dstheight < 1) { in zoomSurfaceSize() 1341 *dstheight = 1; in zoomSurfaceSize() 1365 int dstwidth, dstheight; in zoomSurface() local 1445 rz_dst->h = dstheight; in zoomSurface() 1517 int dstwidth, dstheight; in shrinkSurface() local 1573 dstheight=rz_src->h/factory; in shrinkSurface() 1574 while (dstheight*factory>rz_src->h) { dstheight--; } in shrinkSurface() [all …]
|
/dports/games/uqm/uqm-0.8.0/src/libs/graphics/sdl/ |
H A D | rotozoom.c | 591 *dstheight = 2 * dstheighthalf; in rotozoomSurfaceSizeTrig() 613 int dstwidthhalf, dstwidth, dstheighthalf, dstheight; in rotozoomSurface() local 677 dstheighthalf = dstheight / 2; in rotozoomSurface() 688 SDL_CreateRGBSurface(SDL_SWSURFACE, dstwidth, dstheight, 32, in rotozoomSurface() 827 int dstwidthhalf, dstwidth, dstheighthalf, dstheight; in rotateSurface() local 862 dstheighthalf = dstheight / 2; in rotateSurface() 865 if (dst->w < dstwidth || dst->h < dstheight) in rotateSurface() 923 *dstheight = (int) ((double) height * zoomy); in zoomSurfaceSize() 927 if (*dstheight < 1) { in zoomSurfaceSize() 928 *dstheight = 1; in zoomSurfaceSize() [all …]
|
/dports/games/nxengine/nxengine-evo-2.6.5-1/src/graphics/ |
H A D | zoom.cpp | 257 void _zoomSurfaceSize(int width, int height, double zoom, int *dstwidth, int *dstheight) in _zoomSurfaceSize() argument 265 *dstheight = (int)floor(((double)height * zoom) + 0.5); in _zoomSurfaceSize() 271 if (*dstheight < 1) in _zoomSurfaceSize() 273 *dstheight = 1; in _zoomSurfaceSize() 281 int dstwidth, dstheight; in SDL_ZoomSurface() local 315 _zoomSurfaceSize(rz_src->w, rz_src->h, zoom, &dstwidth, &dstheight); in SDL_ZoomSurface() 320 …rz_dst = SDL_CreateRGBSurface(SDL_SWSURFACE, dstwidth, dstheight + GUARD_ROWS, 32, rz_src->format-… in SDL_ZoomSurface() 325 rz_dst = SDL_CreateRGBSurface(SDL_SWSURFACE, dstwidth, dstheight + GUARD_ROWS, 8, 0, 0, 0, 0); in SDL_ZoomSurface() 338 rz_dst->h = dstheight; in SDL_ZoomSurface()
|
/dports/games/blinkensisters/blinkensisters/lostpixels/game/software/SDL_gfx/ |
H A D | SDL_rotozoom.cpp | 743 *dstheight = 2 * dstheighthalf; in rotozoomSurfaceSizeTrig() 780 int dstwidthhalf, dstwidth, dstheighthalf, dstheight; in rotozoomSurfaceXY() local 848 dstheighthalf = dstheight / 2; in rotozoomSurfaceXY() 859 SDL_CreateRGBSurface(SDL_SWSURFACE, dstwidth, dstheight, 32, in rotozoomSurfaceXY() 1019 *dstheight = (int) ((double) height * zoomy); in zoomSurfaceSize() 1023 if (*dstheight < 1) { in zoomSurfaceSize() 1024 *dstheight = 1; in zoomSurfaceSize() 1032 int dstwidth, dstheight; in zoomSurface() local 1143 int dstwidth, dstheight; in shrinkSurface() local 1177 dstheight=rz_src->h/factory; in shrinkSurface() [all …]
|
/dports/graphics/sdl_gfx/SDL_gfx-2.0.26/ |
H A D | SDL_rotozoom.c | 950 int *dstwidth, int *dstheight, in _rotozoomSurfaceSizeTrig() argument 1172 rz_dst->h = dstheight; in rotozoomSurfaceXY() 1264 rz_dst->h = dstheight; in rotozoomSurfaceXY() 1371 if (*dstheight < 1) { in zoomSurfaceSize() 1372 *dstheight = 1; in zoomSurfaceSize() 1396 int dstwidth, dstheight; in zoomSurface() local 1476 rz_dst->h = dstheight; in zoomSurface() 1553 int dstwidth, dstheight; in shrinkSurface() local 1609 dstheight=rz_src->h/factory; in shrinkSurface() 1610 while (dstheight*factory>rz_src->h) { dstheight--; } in shrinkSurface() [all …]
|
/dports/games/kuklomenos/kuklomenos-0.4.5/Mac/SDL_gfx/ |
H A D | SDL_rotozoom.c | 831 *dstheight = 2 * dstheighthalf; in rotozoomSurfaceSizeTrig() 868 int dstwidthhalf, dstwidth, dstheighthalf, dstheight; in rotozoomSurfaceXY() local 942 dstheighthalf = dstheight / 2; in rotozoomSurfaceXY() 953 SDL_CreateRGBSurface(SDL_SWSURFACE, dstwidth, dstheight, 32, in rotozoomSurfaceXY() 1113 *dstheight = (int) ((double) height * zoomy); in zoomSurfaceSize() 1117 if (*dstheight < 1) { in zoomSurfaceSize() 1118 *dstheight = 1; in zoomSurfaceSize() 1126 int dstwidth, dstheight; in zoomSurface() local 1243 int dstwidth, dstheight; in shrinkSurface() local 1283 dstheight=rz_src->h/factory; in shrinkSurface() [all …]
|
/dports/games/tuxmath/tuxmath_w_fonts-2.0.3/src/ |
H A D | SDL_rotozoom.c | 862 *dstheight = 2 * dstheighthalf; in rotozoomSurfaceSizeTrig() 899 int dstwidthhalf, dstwidth, dstheighthalf, dstheight; in rotozoomSurfaceXY() local 973 dstheighthalf = dstheight / 2; in rotozoomSurfaceXY() 984 SDL_CreateRGBSurface(SDL_SWSURFACE, dstwidth, dstheight, 32, in rotozoomSurfaceXY() 1144 *dstheight = (int) ((double) height * zoomy); in zoomSurfaceSize() 1148 if (*dstheight < 1) { in zoomSurfaceSize() 1149 *dstheight = 1; in zoomSurfaceSize() 1157 int dstwidth, dstheight; in zoomSurface() local 1274 int dstwidth, dstheight; in shrinkSurface() local 1314 dstheight=rz_src->h/factory; in shrinkSurface() [all …]
|
/dports/games/battletanks/btanks-0.9.8083/sdlx/gfx/ |
H A D | SDL_rotozoom.c | 859 *dstheight = 2 * dstheighthalf; in rotozoomSurfaceSizeTrig() 896 int dstwidthhalf, dstwidth, dstheighthalf, dstheight; in rotozoomSurfaceXY() local 972 dstheighthalf = dstheight / 2; in rotozoomSurfaceXY() 983 SDL_CreateRGBSurface(SDL_SWSURFACE, dstwidth, dstheight, 32, in rotozoomSurfaceXY() 1163 *dstheight = (int) ((double) height * zoomy); in zoomSurfaceSize() 1167 if (*dstheight < 1) { in zoomSurfaceSize() 1168 *dstheight = 1; in zoomSurfaceSize() 1176 int dstwidth, dstheight; in zoomSurface() local 1305 int dstwidth, dstheight; in shrinkSurface() local 1348 dstheight=rz_src->h/factory; in shrinkSurface() [all …]
|
/dports/games/gnujump/gnujump-1.0.8/src/ |
H A D | SDL_rotozoom.c | 625 int *dstwidth, int *dstheight, double *canglezoom, in rotozoomSurfaceSizeTrig() argument 657 *dstheight = 2 * dstheighthalf; in rotozoomSurfaceSizeTrig() 665 int *dstwidth, int *dstheight) in rotozoomSurfaceSize() argument 743 &dstheight, &canglezoom, &sanglezoom); in rotozoomSurface() 755 dstheighthalf = dstheight / 2; in rotozoomSurface() 842 &dstheight); in rotozoomSurface() 941 int *dstwidth, int *dstheight) in zoomSurfaceSize() argument 959 *dstheight = (int) ((double) height * zoomy); in zoomSurfaceSize() 964 if (*dstheight < 1) in zoomSurfaceSize() 966 *dstheight = 1; in zoomSurfaceSize() [all …]
|
/dports/games/freedroid/freedroid-1.0.2/src/ |
H A D | SDL_rotozoom.c | 568 *dstheight = 2 * dstheighthalf; in rotozoomSurfaceSizeTrig() 590 int dstwidthhalf, dstwidth, dstheighthalf, dstheight; in rotozoomSurface() local 655 dstheighthalf = dstheight / 2; in rotozoomSurface() 666 SDL_CreateRGBSurface(SDL_SWSURFACE, dstwidth, dstheight, 32, in rotozoomSurface() 725 zoomSurfaceSize(rz_src->w, rz_src->h, zoom, zoom, &dstwidth, &dstheight); in rotozoomSurface() 736 SDL_CreateRGBSurface(SDL_SWSURFACE, dstwidth, dstheight, 32, in rotozoomSurface() 824 *dstheight = (int) ((double) height * zoomy); in zoomSurfaceSize() 828 if (*dstheight < 1) { in zoomSurfaceSize() 829 *dstheight = 1; in zoomSurfaceSize() 837 int dstwidth, dstheight; in zoomSurface() local [all …]
|
/dports/games/senken/senken-0.3.0/src/ |
H A D | SDL_rotozoom.c | 571 *dstheight = 2 * dstheighthalf; in rotozoomSurfaceSizeTrig() 593 int dstwidthhalf, dstwidth, dstheighthalf, dstheight; in rotozoomSurface() local 658 dstheighthalf = dstheight / 2; in rotozoomSurface() 669 SDL_CreateRGBSurface(SDL_SWSURFACE, dstwidth, dstheight, 32, in rotozoomSurface() 728 zoomSurfaceSize(rz_src->w, rz_src->h, zoom, zoom, &dstwidth, &dstheight); in rotozoomSurface() 739 SDL_CreateRGBSurface(SDL_SWSURFACE, dstwidth, dstheight, 32, in rotozoomSurface() 827 *dstheight = (int) ((double) height * zoomy +.5); in zoomSurfaceSize() 831 if (*dstheight < 1) { in zoomSurfaceSize() 832 *dstheight = 1; in zoomSurfaceSize() 840 int dstwidth, dstheight; in zoomSurface() local [all …]
|
/dports/devel/emscripten/emscripten-2.0.3/system/include/SDL/ |
H A D | SDL_rotozoom.h | 86 int *dstheight); 90 int *dstwidth, int *dstheight); 100 … zoomSurfaceSize(int width, int height, double zoomx, double zoomy, int *dstwidth, int *dstheight);
|