Home
last modified time | relevance | path

Searched refs:dy (Results 1 – 25 of 48) sorted by relevance

12

/AliOS-Things-master/components/freetype/src/autofit/
A Dafangles.c106 FT_Fixed dy )
110 FT_Fixed ay = dy;
191 if ( dy == 0 ) in af_angle_atan()
201 if ( dy < 0 ) in af_angle_atan()
210 dy = -dy; in af_angle_atan()
214 if ( dy < 0 ) in af_angle_atan()
220 dx = -dy; in af_angle_atan()
221 dy = tmp; in af_angle_atan()
225 if ( dx == 0 && dy == 0 ) in af_angle_atan()
228 if ( dx == dy ) in af_angle_atan()
[all …]
A Dafhints.c448 FT_Pos dy ) in af_direction_compute() argument
454 if ( dy >= dx ) in af_direction_compute()
456 if ( dy >= -dx ) in af_direction_compute()
459 ll = dy; in af_direction_compute()
466 ss = dy; in af_direction_compute()
471 if ( dy >= -dx ) in af_direction_compute()
475 ss = dy; in af_direction_compute()
480 ll = dy; in af_direction_compute()
/AliOS-Things-master/components/SDL2/src/render/software/
A DSDL_rotate.c186 …for (dy = 0; dy < dst->h; sp += sincy, dp += dincy, dy++) { …
256 dy = cy - y; in _transformSurfaceRGBA()
261 dy = (sdy >> 16); in _transformSurfaceRGBA()
263 if (flipy) dy = sh - dy; in _transformSurfaceRGBA()
264 if ((dx > -1) && (dy > -1) && (dx < (src->w-1)) && (dy < (src->h-1))) { in _transformSurfaceRGBA()
307 dy = cy - y; in _transformSurfaceRGBA()
312 dy = (sdy >> 16); in _transformSurfaceRGBA()
315 if(flipy) dy = sh - dy; in _transformSurfaceRGBA()
369 dy = cy - y; in transformSurfaceY()
374 dy = (sdy >> 16); in transformSurfaceY()
[all …]
/AliOS-Things-master/components/py_engine/engine/lib/libm_dbl/
A Dtgamma.c112 double_t dy, z, r; in tgamma() local
151 dy = y - absx; in tgamma()
152 dy -= gmhalf; in tgamma()
154 dy = y - gmhalf; in tgamma()
155 dy -= absx; in tgamma()
164 dy = -dy; in tgamma()
167 r += dy * (gmhalf+0.5) * r / y; in tgamma()
A Dcopysign.c41 double_s_t dy={.d = y}; in copysign() local
44 dx.s = dy.s; in copysign()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_tile.c42 uint32 dy = td->td_tilelength; in TIFFComputeTile() local
50 if (dy == (uint32) -1) in TIFFComputeTile()
51 dy = td->td_imagelength; in TIFFComputeTile()
54 if (dx != 0 && dy != 0 && dz != 0) { in TIFFComputeTile()
62 xpt*(y/dy) + in TIFFComputeTile()
65 tile = (xpt*ypt)*(z/dz) + xpt*(y/dy) + x/dx; in TIFFComputeTile()
119 uint32 dy = td->td_tilelength; in TIFFNumberOfTiles() local
125 if (dy == (uint32) -1) in TIFFNumberOfTiles()
126 dy = td->td_imagelength; in TIFFNumberOfTiles()
129 ntiles = (dx == 0 || dy == 0 || dz == 0) ? 0 : in TIFFNumberOfTiles()
[all …]
/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_rotozoom.c144 for (dy=0; dy < factory; dy++) { in _shrinkSurfaceRGBA()
233 for (dy=0; dy < factory; dy++) { in _shrinkSurfaceY()
662 dy = cy - y; in _transformSurfaceRGBA()
667 dy = (sdy >> 16); in _transformSurfaceRGBA()
669 if (flipy) dy = sh - dy; in _transformSurfaceRGBA()
715 dy = cy - y; in _transformSurfaceRGBA()
722 if (flipy) dy = (src->h-1)-dy; in _transformSurfaceRGBA()
723 if ((dx >= 0) && (dy >= 0) && (dx < src->w) && (dy < src->h)) { in _transformSurfaceRGBA()
780 dy = cy - y; in transformSurfaceY()
787 if (flipy) dy = (src->h-1)-dy; in transformSurfaceY()
[all …]
A DSDL_gfxBlitFunc.c478 int dx, dy; in SDL_gfxBlitRGBA() local
490 dy = clip->y - dr.y; in SDL_gfxBlitRGBA()
491 if (dy > 0) { in SDL_gfxBlitRGBA()
492 h -= dy; in SDL_gfxBlitRGBA()
493 dr.y += dy; in SDL_gfxBlitRGBA()
494 srcy += dy; in SDL_gfxBlitRGBA()
496 dy = dr.y + h - clip->y - clip->h; in SDL_gfxBlitRGBA()
497 if (dy > 0) in SDL_gfxBlitRGBA()
498 h -= dy; in SDL_gfxBlitRGBA()
A DSDL_gfxPrimitives.c1396 int dy; in vlineColor() local
1483 dy = h; in vlineColor()
2112 int dy; in boxColor() local
2235 dy = h; in boxColor()
2351 int dx, dy; in lineColor() local
2423 dy = sy * dy + 1; in lineColor()
2431 dx = dy; in lineColor()
2447 y += dy; in lineColor()
2457 y += dy; in lineColor()
2475 y += dy; in lineColor()
[all …]
/AliOS-Things-master/components/SDL2/src/image/
A Dnanosvgrast.h92 float dx, dy; member
233 float dy = y2 - y1; in nsvg__ptEquals() local
234 return dx*dx + dy*dy < tol*tol; in nsvg__ptEquals()
336 float dx,dy,d2,d3; in nsvg__flattenCubicBez() local
350 dy = y4 - y1; in nsvg__flattenCubicBez()
354 if ((d2 + d3)*(d2 + d3) < r->tessTol * (dx*dx + dy*dy)) { in nsvg__flattenCubicBez()
685 p0->dy = p1->y - p0->y; in nsvg__prepareStroke()
696 dlx0 = p0->dy; in nsvg__prepareStroke()
698 dlx1 = p1->dy; in nsvg__prepareStroke()
717 cross = p1->dx * p0->dy - p0->dx * p1->dy; in nsvg__prepareStroke()
[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
76 dy=5; in Draw()
114 y += dy; in Draw()
118 if ((y<0) || (y>screen->h)) { dy=-dy; } in Draw()
A DTestGfxTexture.c63 int i,rate,x,y,dx,dy; in Draw() local
86 dy=5; in Draw()
132 y += dy; in Draw()
136 if ((y<0) || (y>screen->h)) { dy=-dy; } in Draw()
A DLaplaceRelaxation.c143 double dy; in Draw() local
202 dy = (0.30 * r) + (0.59 * g) + (0.11 * b); in Draw()
203 if (dy<0.0) { in Draw()
204 dy=0.0; in Draw()
205 } else if (dy>255.0) { in Draw()
206 dy=255.0; in Draw()
208 *curmap = (Uint8)dy; in Draw()
/AliOS-Things-master/components/SDL2/src/video/directfb/
A DSDL_DirectFB_WM.c344 int dy = evt->cy - windata->wm_lasty; in DirectFB_WM_ProcessEvent() local
351 dy = 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()
374 int dy = evt->cy - windata->wm_lasty; in DirectFB_WM_ProcessEvent() local
378 SDL_DFB_CHECK(dfbwin->Move(dfbwin, dx, dy)); in DirectFB_WM_ProcessEvent()
390 dy = 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.c311 int dy; in alpha_calc() local
315 for (dy=-FILTER_D; dy<=FILTER_D; ++dy) in alpha_calc()
317 double wy = bicubic[abs(dy)][0]; in alpha_calc()
328 if (wx != 0 && arg->inside_fn(arg, x+dx/16, y+dy/16)) in alpha_calc()
468 const double dy = y1 - y2; in circle_check() local
471 y = (y - cy)/dy; in circle_check()
/AliOS-Things-master/components/freetype/src/smooth/
A Dftgrays.c775 TPos dx, dy, x, x2; in gray_render_line() local
786 dy = to_y - ras.y; in gray_render_line()
822 if ( dy < 0 ) in gray_render_line()
858 if ( dy < 0 ) in gray_render_line()
863 dy = -dy; in gray_render_line()
878 mod -= (int)dy; in gray_render_line()
886 mod -= (int)dy; 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/py_engine/tests/misc/
A Drge_sm.py109 dy = 0.5 * (x2 - x1) # orthogonal to line
115 print(x1 + dx, y1 + dy)
117 print(x1 - dx, y1 - dy)
/AliOS-Things-master/components/freetype/src/cff/
A Dcf2hints.c1448 CF2_Fixed dy = y2 - y1; in cf2_glyphpath_computeOffset() local
1456 dy = -dy; in cf2_glyphpath_computeOffset()
1471 if ( dy >= 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()
1524 if ( dy >= 0 ) in cf2_glyphpath_computeOffset()
1528 if ( -dx > 2 * dy ) in cf2_glyphpath_computeOffset()
1534 else if ( dy > -2 * dx ) in cf2_glyphpath_computeOffset()
[all …]
/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_rect.c1239 int dx, dy; in rect_testUnionRectOutside() local
1243 for (dy = -1; dy < 2; dy++) { in rect_testUnionRectOutside()
1244 if ((dx != 0) || (dy != 0)) { in rect_testUnionRectOutside()
1271 for (dy = -1; dy < 2; dy++) { in rect_testUnionRectOutside()
1272 if ((dx != 0) || (dy != 0)) { in rect_testUnionRectOutside()
1285 if ((dy == 1) || (dy == -1)) expectedResult.h++; in rect_testUnionRectOutside()
1374 int dx, dy; in rect_testUnionRectInside() local
1403 for (dy = -1; dy < 2; dy++) { in rect_testUnionRectInside()
1404 if ((dx != 0) || (dy != 0)) { in rect_testUnionRectInside()
1412 if (dy == -1) refRectB.y++; in rect_testUnionRectInside()
[all …]
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodframebuf.c475 mp_int_t dy = y2 - y1; in framebuf_line() local
477 if (dy > 0) { in framebuf_line()
480 dy = -dy; in framebuf_line()
485 if (dy > dx) { in framebuf_line()
491 dx = dy; in framebuf_line()
492 dy = temp; in framebuf_line()
501 mp_int_t e = 2 * dy - dx; in framebuf_line()
517 e += 2 * dy; in framebuf_line()
593 dy = 1; in framebuf_scroll()
597 dy = -1; in framebuf_scroll()
[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
1097 dy = event->xexpose.y;
1099 sy = dy + yOffset;
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.c356 float dy = path->p[i ].y - path->p[i-1].y; in dollarNormalize() local
357 length += (float)(SDL_sqrt(dx*dx+dy*dy)); in dollarNormalize()
629 float dy = event->tfinger.dy; in SDL_GestureProcessEvent() local
644 lastP.y = y - dy; in SDL_GestureProcessEvent()
648 inTouch->centroid.y += dy/inTouch->numDownFingers; in SDL_GestureProcessEvent()
/AliOS-Things-master/components/freetype/src/truetype/
A Dttinterp.c2516 FT_Pos dy ) in Project() argument
2575 FT_UNUSED( dy ); in Project_x()
2604 return dy; in Project_y()
5970 dy; in Ins_SHP() local
6033 FT_F26Dot6 dx, dy; in Ins_SHC() local
6085 dy; in Ins_SHZ() local
6129 FT_F26Dot6 dx, dy; in Ins_SHPIX() local
6149 dy = 0; in Ins_SHPIX()
6154 dy = (FT_UInt32)args[0]; in Ins_SHPIX()
6221 dy = FT_PIX_ROUND( B1 + dy ) - B1; in Ins_SHPIX()
[all …]
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_surface.c690 int dx, dy; in SDL_UpperBlit() local
702 dy = clip->y - dstrect->y; in SDL_UpperBlit()
703 if (dy > 0) { in SDL_UpperBlit()
704 h -= dy; in SDL_UpperBlit()
705 dstrect->y += dy; in SDL_UpperBlit()
706 srcy += dy; in SDL_UpperBlit()
708 dy = dstrect->y + h - clip->y - clip->h; in SDL_UpperBlit()
709 if (dy > 0) in SDL_UpperBlit()
710 h -= dy; in SDL_UpperBlit()
/AliOS-Things-master/components/freetype/src/base/
A Dfttrigon.c320 FT_Fixed dy ) in FT_Atan2() argument
325 if ( dx == 0 && dy == 0 ) in FT_Atan2()
329 v.y = dy; in FT_Atan2()

Completed in 67 milliseconds

12