Home
last modified time | relevance | path

Searched refs:dx (Results 1 – 25 of 50) sorted by relevance

12

/AliOS-Things-master/components/freetype/src/autofit/
A Dafangles.c105 af_angle_atan( FT_Fixed dx,
109 FT_Fixed ax = dx;
125 if ( dx < 0 )
194 if ( dx < 0 ) in af_angle_atan()
198 else if ( dx == 0 ) in af_angle_atan()
207 if ( dx < 0 ) in af_angle_atan()
209 dx = -dx; in af_angle_atan()
219 tmp = dx; in af_angle_atan()
220 dx = -dy; in af_angle_atan()
228 if ( dx == dy ) in af_angle_atan()
[all …]
A Dafhints.c447 af_direction_compute( FT_Pos dx, in af_direction_compute() argument
454 if ( dy >= dx ) in af_direction_compute()
456 if ( dy >= -dx ) in af_direction_compute()
460 ss = dx; in af_direction_compute()
465 ll = -dx; in af_direction_compute()
471 if ( dy >= -dx ) in af_direction_compute()
474 ll = dx; in af_direction_compute()
481 ss = dx; in af_direction_compute()
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Djmemdosa.asm50 push dx
63 pop dx
85 push dx
95 pop dx
117 push dx
129 pop dx
167 pop dx
205 pop dx
234 xor dx,dx ; no XMS driver available
239 mov dx,es ; copy address to dx:ax
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_tile.c41 uint32 dx = td->td_tilewidth; in TIFFComputeTile() local
48 if (dx == (uint32) -1) in TIFFComputeTile()
49 dx = td->td_imagewidth; in TIFFComputeTile()
54 if (dx != 0 && dy != 0 && dz != 0) { in TIFFComputeTile()
55 uint32 xpt = TIFFhowmany_32(td->td_imagewidth, dx); in TIFFComputeTile()
63 x/dx; in TIFFComputeTile()
65 tile = (xpt*ypt)*(z/dz) + xpt*(y/dy) + x/dx; in TIFFComputeTile()
118 uint32 dx = td->td_tilewidth; in TIFFNumberOfTiles() local
123 if (dx == (uint32) -1) in TIFFNumberOfTiles()
124 dx = td->td_imagewidth; in TIFFNumberOfTiles()
[all …]
/AliOS-Things-master/components/SDL2/src/render/software/
A DSDL_rotate.c234 int x, y, t1, t2, dx, dy, xd, yd, sdx, sdy, ax, ay, ex, ey, sw, sh; in _transformSurfaceRGBA() local
260 dx = (sdx >> 16); in _transformSurfaceRGBA()
262 if (flipx) dx = sw - dx; in _transformSurfaceRGBA()
264 if ((dx > -1) && (dy > -1) && (dx < (src->w-1)) && (dy < (src->h-1))) { in _transformSurfaceRGBA()
311 dx = (sdx >> 16); in _transformSurfaceRGBA()
314 if(flipx) dx = sw - dx; in _transformSurfaceRGBA()
348 int x, y, dx, dy, xd, yd, sdx, sdy, ax, ay; in transformSurfaceY() local
373 dx = (sdx >> 16); in transformSurfaceY()
375 if ((unsigned)dx < (unsigned)src->w && (unsigned)dy < (unsigned)src->h) { in transformSurfaceY()
376 if (flipx) dx = (src->w-1)-dx; in transformSurfaceY()
[all …]
/AliOS-Things-master/components/SDL2/src/image/
A Dnanosvgrast.h92 float dx, dy; member
99 int x,dx; member
234 return dx*dx + dy*dy < tol*tol; in nsvg__ptEquals()
349 dx = x4 - x1; in nsvg__flattenCubicBez()
354 if ((d2 + d3)*(d2 + d3) < r->tessTol * (dx*dx + dy*dy)) { in nsvg__flattenCubicBez()
697 dly0 = -p0->dx; in nsvg__prepareStroke()
699 dly1 = -p1->dx; in nsvg__prepareStroke()
717 cross = p1->dx * p0->dy - p0->dx * p1->dy; in nsvg__prepareStroke()
799 float dist = sqrtf(dx*dx + dy*dy); in nsvg__flattenShapeStroke()
1061 fx += dx; in nsvg__scanlineSolid()
[all …]
/AliOS-Things-master/components/py_engine/engine/lib/libm_dbl/
A Dcopysign.c40 double_s_t dx={.d = x}; in copysign() local
44 dx.s = dy.s; in copysign()
46 return dx.d; in copysign()
/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_gfxBlitFunc.c478 int dx, dy; in SDL_gfxBlitRGBA() local
480 dx = clip->x - dr.x; in SDL_gfxBlitRGBA()
481 if (dx > 0) { in SDL_gfxBlitRGBA()
482 w -= dx; in SDL_gfxBlitRGBA()
483 dr.x += dx; in SDL_gfxBlitRGBA()
484 srcx += dx; in SDL_gfxBlitRGBA()
486 dx = dr.x + w - clip->x - clip->w; in SDL_gfxBlitRGBA()
487 if (dx > 0) in SDL_gfxBlitRGBA()
488 w -= dx; in SDL_gfxBlitRGBA()
A DSDL_rotozoom.c145 for (dx=0; dx < factorx; dx++) { in _shrinkSurfaceRGBA()
234 for (dx=0; dx < factorx; dx++) { in _shrinkSurfaceY()
666 dx = (sdx >> 16); in _transformSurfaceRGBA()
668 if (flipx) dx = sw - dx; in _transformSurfaceRGBA()
670 if ((dx > -1) && (dy > -1) && (dx < (src->w-1)) && (dy < (src->h-1))) { in _transformSurfaceRGBA()
673 sp += dx; in _transformSurfaceRGBA()
721 if (flipx) dx = (src->w-1)-dx; in _transformSurfaceRGBA()
723 if ((dx >= 0) && (dy >= 0) && (dx < src->w) && (dy < src->h)) { in _transformSurfaceRGBA()
725 sp += dx; in _transformSurfaceRGBA()
786 if (flipx) dx = (src->w-1)-dx; in transformSurfaceY()
[all …]
A DSDL_gfxPrimitives.c1125 pixellast = pixel + dx + dx; in hlineColorStore()
1131 pixellast = pixel + dx + dx + dx; in hlineColorStore()
1145 dx = dx + dx; in hlineColorStore()
1146 pixellast = pixel + dx + dx; in hlineColorStore()
1307 pixellast = pixel + dx + dx; in hlineColor()
1313 pixellast = pixel + dx + dx + dx; in hlineColor()
1328 dx = dx + dx; in hlineColor()
1329 pixellast = pixel + dx + dx; in hlineColor()
2422 dx = sx * dx + 1; in lineColor()
2682 dx = (-dx); in _aalineColor()
[all …]
/AliOS-Things-master/components/SDL2/src/gfx/Test/
A DTestFramerate.c64 int i,rate,x,y,dx,dy,r,g,b; in Draw() local
75 dx=7; in Draw()
113 x += dx; in Draw()
117 if ((x<0) || (x>screen->w)) { dx=-dx; } in Draw()
A DTestGfxTexture.c63 int i,rate,x,y,dx,dy; in Draw() local
85 dx=7; in Draw()
131 x += dx; in Draw()
135 if ((x<0) || (x>screen->w)) { dx=-dx; } in Draw()
/AliOS-Things-master/components/freetype/src/smooth/
A Dftgrays.c684 dx = x2 - x1; in gray_render_scanline()
715 if ( dx < 0 ) in gray_render_scanline()
720 dx = -dx; in gray_render_scanline()
740 mod -= (int)dx; in gray_render_scanline()
785 dx = to_x - ras.x; in gray_render_line()
814 if ( dx == 0 ) in gray_render_line()
860 p = fy1 * dx; in gray_render_line()
936 TPos dx, dy; in gray_render_conic() local
956 if ( dx < dy ) in gray_render_conic()
957 dx = dy; in gray_render_conic()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/unused/
A Djmemdos.c99 unsigned short ax, dx, bx; member
103 unsigned short ax, dx, bx; member
405 ctx.dx = info->handle.xms_handle; in close_xms_store()
431 ctx.dx = (unsigned short) ((total_bytes_needed + 1023L) >> 10); in open_xms_store()
438 info->handle.xms_handle = ctx.dx; in open_xms_store()
442 TRACEMS1(cinfo, 1, JTRC_XMS_OPEN, ctx.dx); in open_xms_store()
546 ctx.dx = info->handle.ems_handle; in close_ems_store()
583 info->handle.ems_handle = ctx.dx; in open_ems_store()
587 TRACEMS1(cinfo, 1, JTRC_EMS_OPEN, ctx.dx); in open_ems_store()
/AliOS-Things-master/components/SDL2/src/video/directfb/
A DSDL_DirectFB_WM.c343 int dx = evt->cx - windata->wm_lastx; in DirectFB_WM_ProcessEvent() local
349 dx = 0; in DirectFB_WM_ProcessEvent()
356 SDL_DFB_CHECK(dfbwin->Resize(dfbwin, cw + dx + 1, ch + dy)); in DirectFB_WM_ProcessEvent()
359 SDL_DFB_CHECK(dfbwin->Resize(dfbwin, cw + dx, ch + dy)); in DirectFB_WM_ProcessEvent()
373 int dx = evt->cx - windata->wm_lastx; in DirectFB_WM_ProcessEvent() local
378 SDL_DFB_CHECK(dfbwin->Move(dfbwin, dx, dy)); in DirectFB_WM_ProcessEvent()
388 dx = 0; in DirectFB_WM_ProcessEvent()
393 SDL_DFB_CHECK(dfbwin->Resize(dfbwin, cw + dx, ch + dy)); in DirectFB_WM_ProcessEvent()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/tools/
A Dgenpng.c322 int dx; in alpha_calc() local
324 for (dx=-FILTER_D; dx<=FILTER_D; ++dx) in alpha_calc()
326 double wx = bicubic[abs(dx)][0]; in alpha_calc()
328 if (wx != 0 && arg->inside_fn(arg, x+dx/16, y+dy/16)) in alpha_calc()
467 const double dx = x1 - x2; in circle_check() local
470 x = (x - cx)/dx; in circle_check()
/AliOS-Things-master/components/py_engine/tests/misc/
A Drge_sm.py108 dx = -0.5 * (y2 - y1) # orthogonal to line
115 print(x1 + dx, y1 + dy)
117 print(x1 - dx, y1 - dy)
/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_rect.c1239 int dx, dy; in rect_testUnionRectOutside() local
1242 for (dx = -1; dx < 2; dx++) { in rect_testUnionRectOutside()
1244 if ((dx != 0) || (dy != 0)) { in rect_testUnionRectOutside()
1270 for (dx = -1; dx < 2; dx++) { in rect_testUnionRectOutside()
1272 if ((dx != 0) || (dy != 0)) { in rect_testUnionRectOutside()
1284 if ((dx == 1) || (dx == -1)) expectedResult.w++; in rect_testUnionRectOutside()
1374 int dx, dy; in rect_testUnionRectInside() local
1402 for (dx = -1; dx < 2; dx++) { in rect_testUnionRectInside()
1404 if ((dx != 0) || (dy != 0)) { in rect_testUnionRectInside()
1410 if (dx == -1) refRectB.x++; in rect_testUnionRectInside()
[all …]
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodframebuf.c466 mp_int_t dx = x2 - x1; in framebuf_line() local
468 if (dx > 0) { in framebuf_line()
471 dx = -dx; in framebuf_line()
485 if (dy > dx) { in framebuf_line()
490 temp = dx; in framebuf_line()
491 dx = dy; in framebuf_line()
501 mp_int_t e = 2 * dy - dx; in framebuf_line()
514 e -= 2 * dx; in framebuf_line()
580 int sx, y, xend, yend, dx, dy; in framebuf_scroll() local
584 dx = 1; in framebuf_scroll()
[all …]
/AliOS-Things-master/components/freetype/src/cff/
A Dcf2hints.c1447 CF2_Fixed dx = x2 - x1; in cf2_glyphpath_computeOffset() local
1455 dx = -dx; in cf2_glyphpath_computeOffset()
1469 if ( dx >= 0 ) in cf2_glyphpath_computeOffset()
1475 if ( dx > 2 * dy ) in cf2_glyphpath_computeOffset()
1481 else if ( dy > 2 * dx ) in cf2_glyphpath_computeOffset()
1500 if ( dx > -2 * dy ) in cf2_glyphpath_computeOffset()
1506 else if ( -dy > 2 * dx ) in cf2_glyphpath_computeOffset()
1528 if ( -dx > 2 * dy ) in cf2_glyphpath_computeOffset()
1534 else if ( dy > -2 * dx ) in cf2_glyphpath_computeOffset()
1553 if ( -dx > -2 * dy ) in cf2_glyphpath_computeOffset()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/dbs/xtiff/
A Dxtiff.c1052 int ih, iw, ww, wh, sx, sy, w, h, dx, dy; local
1096 dx = event->xexpose.x;
1098 sx = dx + xOffset;
1116 dx = dy = 0;
1128 dx = dy = 0;
1140 dx = dy = 0;
1152 dx = dy = 0;
1180 dx = dy = 0;
1198 xWinGc, sx, sy, w, h, dx, dy, 1);
1201 xWinGc, sx, sy, w, h, dx, dy);
[all …]
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_gesture.c355 float dx = path->p[i ].x - path->p[i-1].x; in dollarNormalize() local
357 length += (float)(SDL_sqrt(dx*dx+dy*dy)); in dollarNormalize()
628 float dx = event->tfinger.dx; in SDL_GestureProcessEvent() local
643 lastP.x = x - dx; in SDL_GestureProcessEvent()
647 inTouch->centroid.x += dx/inTouch->numDownFingers; in SDL_GestureProcessEvent()
/AliOS-Things-master/components/freetype/src/truetype/
A Dttinterp.c2577 return dx; in Project_x()
2602 FT_UNUSED( dx ); in Project_y()
5969 FT_F26Dot6 dx, in Ins_SHP() local
6033 FT_F26Dot6 dx, dy; in Ins_SHC() local
6084 FT_F26Dot6 dx, in Ins_SHZ() local
6129 FT_F26Dot6 dx, dy; in Ins_SHPIX() local
6153 dx = 0; in Ins_SHPIX()
6220 dx = FT_PIX_ROUND( B1 + dx ) - B1; in Ins_SHPIX()
6942 FT_F26Dot6 dx, dy, in Ins_ISECT() local
7260 FT_F26Dot6 dx; in _iup_worker_shift() local
[all …]
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_surface.c690 int dx, dy; in SDL_UpperBlit() local
692 dx = clip->x - dstrect->x; in SDL_UpperBlit()
693 if (dx > 0) { in SDL_UpperBlit()
694 w -= dx; in SDL_UpperBlit()
695 dstrect->x += dx; in SDL_UpperBlit()
696 srcx += dx; in SDL_UpperBlit()
698 dx = dstrect->x + w - clip->x - clip->w; in SDL_UpperBlit()
699 if (dx > 0) in SDL_UpperBlit()
700 w -= dx; in SDL_UpperBlit()
/AliOS-Things-master/components/freetype/src/base/
A Dfttrigon.c319 FT_Atan2( FT_Fixed dx, in FT_Atan2() argument
325 if ( dx == 0 && dy == 0 ) in FT_Atan2()
328 v.x = dx; in FT_Atan2()

Completed in 97 milliseconds

12