| /OK3568_Linux_fs/external/xserver/mi/ |
| H A D | miwideline.c | 686 left_dy = left->dy; in miFillPolyHelper() 698 right_dy = right->dy; in miFillPolyHelper() 792 int dx, int dy, int xi, int yi, int left, PolyEdgePtr edge) in miPolyBuildEdge() argument 797 if (dy < 0) { in miPolyBuildEdge() 798 dy = -dy; in miPolyBuildEdge() 807 realk = x0 * dy - y0 * dx; in miPolyBuildEdge() 817 x = -(-xady / dy) - 1; in miPolyBuildEdge() 819 x = (xady - 1) / dy; in miPolyBuildEdge() 821 e = xady - x * dy; in miPolyBuildEdge() 825 edge->stepx = dx / dy; in miPolyBuildEdge() [all …]
|
| H A D | mifillarc.c | 57 info->dy = arc->height & 1; in miFillArcSetup() 85 if (!info->dy) in miFillArcSetup() 106 info->dy = arc->height & 1; in miFillArcDSetup() 114 if (!info->dy) in miFillArcDSetup() 143 edge->x = -((-xady) / edge->dy + 1); in miGetArcEdge() 145 edge->x = (xady - 1) / edge->dy; in miGetArcEdge() 146 edge->e = xady - edge->x * edge->dy; in miGetArcEdge() 148 edge->e = edge->dy - edge->e + 1; in miGetArcEdge() 154 edge->stepx = edge->dx / edge->dy; in miGetArcEdge() 155 edge->dx = edge->dx % edge->dy; in miGetArcEdge() [all …]
|
| H A D | miscanfill.h | 73 #define BRESINITPGON(dy, x1, x2, xStart, d, m, m1, incr1, incr2) { \ argument 80 if ((dy) != 0) { \ 84 m = dx / (dy); \ 86 incr1 = -2 * dx + 2 * (dy) * m1; \ 87 incr2 = -2 * dx + 2 * (dy) * m; \ 88 d = 2 * m * (dy) - 2 * dx - 2 * (dy); \ 90 m = dx / (dy); \ 92 incr1 = 2 * dx - 2 * (dy) * m1; \ 93 incr2 = 2 * dx - 2 * (dy) * m; \ 94 d = -2 * m * (dy) + 2 * dx; \
|
| H A D | mifillarc.h | 35 int dx, dy; member 44 int dx, dy; member 65 dy = info.dy; \ 86 #define miFillArcLower(slw) (((y + dy) != 0) && ((slw > 1) || (e != xk))) 93 int dy; member 111 edge.e += edge.dy; \ 136 #define MIWIDEARCSETUP(x,y,dy,slw,e,xk,xm,yk,ym) \ argument 142 if (dy) \ 175 #define miFillInArcLower(slw) (((iny + dy) != 0) && \
|
| H A D | micopy.c | 39 int dx, int dy, miCopyProc copyProc, Pixel bitPlane, void *closure) in miCopyRegion() argument 60 if (careful && dy < 0) { in miCopyRegion() 89 if (dy <= 0) in miCopyRegion() 124 pbox, nbox, dx, dy, reverse, upsidedown, bitPlane, closure); in miCopyRegion() 145 int dy; in miDoCopy() local 214 dy = yIn - yOut; in miDoCopy() 245 box_y1 -= dy; in miDoCopy() 246 box_y2 -= dy; in miDoCopy() 285 RegionTranslate(&rgnDst, -dx, -dy); in miDoCopy() 297 &rgnDst, dx, dy, copyProc, bitPlane, closure); in miDoCopy()
|
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | ptrveloc.c | 461 DoGetDirection(int dx, int dy) in DoGetDirection() argument 466 if (abs(dx) < 2 && abs(dy) < 2) { in DoGetDirection() 468 if (dx > 0 && dy > 0) in DoGetDirection() 470 else if (dx > 0 && dy < 0) in DoGetDirection() 472 else if (dx < 0 && dy < 0) in DoGetDirection() 474 else if (dx < 0 && dy > 0) in DoGetDirection() 481 else if (dy > 0) in DoGetDirection() 483 else if (dy < 0) in DoGetDirection() 492 r = atan2(dy, dx); in DoGetDirection() 528 GetDirection(int dx, int dy) in GetDirection() argument [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/ |
| H A D | tile_cover.cpp | 23 double dx = 0, dy = 0; member 32 dy = b.y - a.y; in edge() 43 (e0.x0 + e1.dy / e0.dy * e0.dx < e1.x1) : in scanSpans() 44 (e0.x1 - e1.dy / e0.dy * e0.dx < e1.x0)) { in scanSpans() 49 double m0 = e0.dx / e0.dy; in scanSpans() 50 double m1 = e1.dx / e1.dy; in scanSpans() 54 double x0 = m0 * ::fmax(0, ::fmin(e0.dy, y + d0 - e0.y0)) + e0.x0; in scanSpans() 55 double x1 = m1 * ::fmax(0, ::fmin(e1.dy, y + d1 - e1.y0)) + e1.x0; in scanSpans() 67 if (ab.dy > bc.dy) { std::swap(ab, bc); } in scanTriangle() 68 if (ab.dy > ca.dy) { std::swap(ab, ca); } in scanTriangle() [all …]
|
| H A D | math.hpp | 38 T dy = b.y - a.y; in normal() local 39 T c = std::sqrt(dx * dx + dy * dy); in normal() 40 return { dx / c, dy / c }; in normal() 51 T dy = b.y - a.y; in dist() local 52 T c = std::sqrt(dx * dx + dy * dy); in dist() 59 T dy = b.y - a.y; in distSqr() local 60 T c = dx * dx + dy * dy; in distSqr()
|
| /OK3568_Linux_fs/external/xserver/glamor/ |
| H A D | glamor_copy.c | 32 int dx, dy; member 44 glUniform2f(prog->fill_offset_uniform, args->dx, args->dy); in use_copyarea() 73 glUniform2f(prog->fill_offset_uniform, args->dx, args->dy); in use_copyplane() 168 int dy, in glamor_copy_bail() argument 177 fbCopyNto1(src, dst, gc, box, nbox, dx, dy, in glamor_copy_bail() 180 fbCopy1toN(src, dst, gc, box, nbox, dx, dy, in glamor_copy_bail() 183 fbCopyNtoN(src, dst, gc, box, nbox, dx, dy, in glamor_copy_bail() 206 int dy, in glamor_copy_cpu_fbo() argument 252 fbCopyNto1(src, &tmp_pix->drawable, gc, box, nbox, dx, dy, in glamor_copy_cpu_fbo() 255 fbCopy1toN(src, &tmp_pix->drawable, gc, box, nbox, dx, dy, in glamor_copy_cpu_fbo() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/mb862xx/ |
| H A D | mb862xxfb_accel.c | 52 if (area->sx >= area->dx && area->sy >= area->dy) in mb86290fb_copyarea() 54 else if (area->sx >= area->dx && area->sy <= area->dy) in mb86290fb_copyarea() 56 else if (area->sx <= area->dx && area->sy >= area->dy) in mb86290fb_copyarea() 62 cmd[4] = (area->dy << 16) | area->dx; in mb86290fb_copyarea() 71 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit1() argument 98 cmd[7] = (dy << 16) | dx; in mb86290fb_imageblit1() 120 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit8() argument 131 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit8() 159 static void mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit16() argument 174 cmd[1] = (dy << 16) | dx; in mb86290fb_imageblit16() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/geojsonvt/6.5.1/include/mapbox/geojsonvt/ |
| H A D | simplify.hpp | 14 double dy = b.y - a.y; in getSqSegDist() local 16 if ((dx != 0.0) || (dy != 0.0)) { in getSqSegDist() 18 const double t = ((p.x - a.x) * dx + (p.y - a.y) * dy) / (dx * dx + dy * dy); in getSqSegDist() 26 y += dy * t; in getSqSegDist() 31 dy = p.y - y; in getSqSegDist() 33 return dx * dx + dy * dy; in getSqSegDist()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | atafb.h | 5 void atafb_mfb_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, 10 int dy, int dx, u32 width, 13 void atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, 18 int dy, int dx, u32 width, 21 void atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, 26 int dy, int dx, u32 width, 29 void atafb_iplan2p8_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, 34 int dy, int dx, u32 width,
|
| H A D | atafb_mfb.c | 24 int sy, int sx, int dy, int dx, in atafb_mfb_copyarea() argument 32 dest = (u8 *)info->screen_base + dy * (width >> 3); in atafb_mfb_copyarea() 34 } else if (dy <= sy) { in atafb_mfb_copyarea() 36 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_copyarea() 44 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); in atafb_mfb_copyarea() 77 int dy, int dx, u32 width, in atafb_mfb_linefill() argument 83 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_linefill()
|
| H A D | tgafb.c | 623 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask; local 633 dy = image->dy; 645 if (dx > vxres || dy > vyres) 649 if (dy + height > vyres) 650 height = vyres - dy; 676 pos = dy * line_length; 836 u32 color, dx, dy, width, height, vxres, vyres; local 843 dy = image->dy; 851 if (dx > vxres || dy > vyres) 855 if (dy + height > vyres) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/aty/ |
| H A D | radeon_accel.c | 64 OUTREG(DST_Y_X, (region->dy << 16) | region->dx); in radeonfb_prim_fillrect() 89 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_fillrect() 93 if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy; in radeonfb_fillrect() 102 u32 sx, sy, dx, dy, w, h; in radeonfb_prim_copyarea() local 105 dx = area->dx; dy = area->dy; in radeonfb_prim_copyarea() 108 ydir = sy - dy; in radeonfb_prim_copyarea() 111 if ( ydir < 0 ) { sy += h-1; dy += h-1; } in radeonfb_prim_copyarea() 130 OUTREG(DST_Y_X, (dy << 16) | dx); in radeonfb_prim_copyarea() 143 modded.dy = area->dy; in radeonfb_copyarea() 161 modded.dx >= vxres || modded.dy >= vyres) in radeonfb_copyarea() [all …]
|
| /OK3568_Linux_fs/external/xserver/miext/rootless/ |
| H A D | rootlessValTree.c | 133 int dx, dy; in RootlessComputeClips() local 157 dy = (int) pParent->drawable.y + (int) pParent->drawable.height + in RootlessComputeClips() 159 if (dy > 32767) in RootlessComputeClips() 160 dy = 32767; in RootlessComputeClips() 161 borderSize.y2 = dy; in RootlessComputeClips() 199 dy = pParent->drawable.y - pParent->valdata->before.oldAbsCorner.y; in RootlessComputeClips() 218 RegionTranslate(&pChild->borderClip, dx, dy); in RootlessComputeClips() 219 RegionTranslate(&pChild->clipList, dx, dy); in RootlessComputeClips() 222 (*pScreen->ClipNotify) (pChild, dx, dy); in RootlessComputeClips() 254 if (dx || dy) { in RootlessComputeClips() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/mouse/ |
| H A D | amimouse.c | 38 int nx, ny, dx, dy; in amimouse_interrupt() local 46 dy = ny - amimouse_lasty; in amimouse_interrupt() 50 if (dy < -127) dy = (256 + ny) - amimouse_lasty; in amimouse_interrupt() 51 if (dy > 127) dy = (ny - 256) - amimouse_lasty; in amimouse_interrupt() 59 input_report_rel(dev, REL_Y, dy); in amimouse_interrupt()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/vboxvideo/ |
| H A D | vbox_irq.c | 79 hintsi->dy >= 0xffff || in validate_or_set_position_hints() 81 hintsj->dy >= 0xffff || in validate_or_set_position_hints() 86 (hintsi->dy < in validate_or_set_position_hints() 87 hintsj->dy + (hintsj->cy & 0x8fff) && in validate_or_set_position_hints() 88 hintsi->dy + (hintsi->cy & 0x8fff) > in validate_or_set_position_hints() 89 hintsj->dy)) in validate_or_set_position_hints() 98 vbox->last_mode_hints[i].dy = 0; in validate_or_set_position_hints() 141 vbox_conn->vbox_crtc->y_hint = hints->dy; in vbox_update_mode_hints()
|
| /OK3568_Linux_fs/external/xserver/randr/ |
| H A D | rrpointer.c | 67 int dx, dy; in RRPointerToNearestCrtc() local 85 dy = crtc->y - y; in RRPointerToNearestCrtc() 87 dy = crtc->y + (scan_height - 1) - y; in RRPointerToNearestCrtc() 89 dy = 0; in RRPointerToNearestCrtc() 90 dist = dx * dx + dy * dy; in RRPointerToNearestCrtc() 94 best_dy = dy; in RRPointerToNearestCrtc()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/sis/ |
| H A D | sis_accel.c | 322 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) in fbcon_sis_fillrect() 327 height = ((rect->dy + rect->height) > vyres) ? (vyres - rect->dy) : rect->height; in fbcon_sis_fillrect() 341 SiS300SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); in fbcon_sis_fillrect() 348 SiS310SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height); in fbcon_sis_fillrect() 375 area->dx >= vxres || area->dy >= vyres) in fbcon_sis_copyarea() 382 if((area->dy + height) > vyres) height = vyres - area->dy; in fbcon_sis_copyarea() 390 if(area->sy < area->dy) ydir = 0; in fbcon_sis_copyarea() 396 area->dx, area->dy, width, height); in fbcon_sis_copyarea() 404 area->dx, area->dy, width, height); in fbcon_sis_copyarea()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/savage/ |
| H A D | savagefb_accel.c | 35 int sy = region->sy, dy = region->dy; in savagefb_copyarea() local 51 if (dy <= sy) { in savagefb_copyarea() 55 dy += region->height - 1; in savagefb_copyarea() 61 BCI_SEND(BCI_X_Y(dx, dy)); in savagefb_copyarea() 88 BCI_SEND( BCI_X_Y(rect->dx, rect->dy) ); in savagefb_fillrect() 131 BCI_SEND(BCI_X_Y(image->dx, image->dy)); in savagefb_imageblit()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/core/ |
| H A D | fbcon_cw.c | 49 int sx, int dy, int dx, int height, int width) in cw_bmove() argument 57 area.dx = vxres - ((dy + height) * vc->vc_font.height); in cw_bmove() 58 area.dy = dx * vc->vc_font.width; in cw_bmove() 75 region.dy = sx * vc->vc_font.width; in cw_clear() 136 image.dy = xx * vc->vc_font.width; in cw_putcs() 161 image.dy += image.height; in cw_putcs() 189 region.dy = info->var.yoffset + rs; in cw_clear_margins() 197 region.dy = info->var.yoffset; in cw_clear_margins() 213 int err = 1, dx, dy; in cw_cursor() local 261 dy = vc->state.x * vc->vc_font.width; in cw_cursor() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/cuda/ |
| H A D | filters.hpp | 203 for(int dy = sy1; dy < sy2; ++dy) in operator ()() local 206 out = out + src(dy, dx) * scale; in operator ()() 243 for (int dy = sy1; dy < sy2; ++dy) in operator ()() local 246 out = out + src(dy, dx) * scale; in operator ()() 249 out = out + src(dy, (sx1 -1) ) * ((sx1 - fsx1) * scale); in operator ()() 252 out = out + src(dy, sx2) * ((fsx2 -sx2) * scale); in operator ()()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/cuda/ |
| H A D | filters.hpp | 203 for(int dy = sy1; dy < sy2; ++dy) in operator ()() local 206 out = out + src(dy, dx) * scale; in operator ()() 243 for (int dy = sy1; dy < sy2; ++dy) in operator ()() local 246 out = out + src(dy, dx) * scale; in operator ()() 249 out = out + src(dy, (sx1 -1) ) * ((sx1 - fsx1) * scale); in operator ()() 252 out = out + src(dy, sx2) * ((fsx2 -sx2) * scale); in operator ()()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/cuda/ |
| H A D | filters.hpp | 203 for(int dy = sy1; dy < sy2; ++dy) in operator ()() local 206 out = out + src(dy, dx) * scale; in operator ()() 243 for (int dy = sy1; dy < sy2; ++dy) in operator ()() local 246 out = out + src(dy, dx) * scale; in operator ()() 249 out = out + src(dy, (sx1 -1) ) * ((sx1 - fsx1) * scale); in operator ()() 252 out = out + src(dy, sx2) * ((fsx2 -sx2) * scale); in operator ()()
|