Home
last modified time | relevance | path

Searched refs:factorx (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/SDL2/src/gfx/Test/
A DTestShrink.c58 int factorx, factory; in ShrinkPicture() local
60 for (factorx=1; factorx<6; factorx++) { in ShrinkPicture()
66 if ((shrink_picture=shrinkSurface (picture, factorx, factory))!=NULL) { in ShrinkPicture()
/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_rotozoom.c125 n_average = factorx*factory; in _shrinkSurfaceRGBA()
145 for (dx=0; dx < factorx; dx++) { in _shrinkSurfaceRGBA()
159 sp = (tColorRGBA *)((Uint8*)oosp + 4*factorx); in _shrinkSurfaceRGBA()
214 n_average = factorx*factory; in _shrinkSurfaceY()
234 for (dx=0; dx < factorx; dx++) { in _shrinkSurfaceY()
241 sp = (Uint8 *)((Uint8*)sp + (src->pitch - factorx)); in _shrinkSurfaceY()
246 sp = (Uint8 *)((Uint8*)oosp + factorx); in _shrinkSurfaceY()
1607 dstwidth=rz_src->w/factorx; in shrinkSurface()
1608 while (dstwidth*factorx>rz_src->w) { dstwidth--; } in shrinkSurface()
1647 result = _shrinkSurfaceRGBA(rz_src, rz_dst, factorx, factory); in shrinkSurface()
[all …]
A DSDL_rotozoom.h108 SDL_ROTOZOOM_SCOPE SDL_Surface *shrinkSurface(SDL_Surface * src, int factorx, int factory);

Completed in 6 milliseconds