Home
last modified time | relevance | path

Searched refs:ABS (Results 1 – 7 of 7) sorted by relevance

/AliOS-Things-master/components/SDL2/src/render/software/
A DSDL_drawline.c51 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_DrawLine1()
66 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_DrawLine2()
96 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_DrawLine4()
A DSDL_blendline.c87 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_BlendLine_RGB2()
192 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_BlendLine_RGB555()
297 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_BlendLine_RGB565()
403 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_BlendLine_RGB4()
509 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_BlendLine_RGBA4()
614 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_BlendLine_RGB888()
719 } else if (ABS(x1 - x2) == ABS(y1 - y2)) { in SDL_BlendLine_ARGB8888()
A DSDL_draw.h349 #define ABS(_x) ((_x) < 0 ? -(_x) : (_x)) macro
438 deltax = ABS(x2 - x1); \
439 deltay = ABS(y2 - y1); \
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/
A Dplat_types.h238 #ifndef ABS
239 #define ABS(x) ((x<0)?(-(x)):(x)) macro
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/gregbook/
A Drpng2-win.c137 #define ABS(a) ((a)<0?-(a):(a)) macro
1009 gray = (double)MAX(ABS(y), ABS(x)) / grayspot;
1016 s = gray * ((double)(ABS(x)+ABS(y)) / (double)(hw + hh));
A Drpng2-x.c144 #define ABS(a) ((a)<0?-(a):(a)) macro
1261 gray = (double)MAX(ABS(y), ABS(x)) / grayspot; in rpng2_x_load_bg_image()
1268 s = gray * ((double)(ABS(x)+ABS(y)) / (double)(hw + hh)); in rpng2_x_load_bg_image()
2029 gray = (double)MAX(ABS(y), ABS(x)) / grayspot; in rpng2_x_reload_bg_image()
2036 s = gray * ((double)(ABS(x)+ABS(y)) / (double)(hw + hh)); in rpng2_x_reload_bg_image()
/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_gfxPrimitives.c2333 #define ABS(a) (((a)<0) ? -(a) : (a)) macro
2500 ax = ABS(dx) << 1; in lineColor()
2501 ay = ABS(dy) << 1; in lineColor()

Completed in 28 milliseconds