/third_party/ffmpeg/libavfilter/ |
D | vf_nlmeans_opencl.c | 181 cl_int *dxdy = NULL; in nlmeans_plane() local 196 dxdy = av_malloc(nb_pixel * 2 * sizeof(cl_int)); in nlmeans_plane() 199 if (!dxdy || !tmp) in nlmeans_plane() 212 dxdy[i * 8] = tmp[i * 8]; // dx0 in nlmeans_plane() 213 dxdy[i * 8 + 1] = tmp[i * 8 + 2]; // dx1 in nlmeans_plane() 214 dxdy[i * 8 + 2] = tmp[i * 8 + 4]; // dx2 in nlmeans_plane() 215 dxdy[i * 8 + 3] = tmp[i * 8 + 6]; // dx3 in nlmeans_plane() 216 dxdy[i * 8 + 4] = tmp[i * 8 + 1]; // dy0 in nlmeans_plane() 217 dxdy[i * 8 + 5] = tmp[i * 8 + 3]; // dy1 in nlmeans_plane() 218 dxdy[i * 8 + 6] = tmp[i * 8 + 5]; // dy2 in nlmeans_plane() [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_line.c | 471 const float dxdy = dx / dy; in try_setup_line() local 497 float xintersect = fracf(v1[0][0]) + y1diff * dxdy; in try_setup_line() 515 float xintersect = fracf(v2[0][0]) + y2diff * dxdy; in try_setup_line() 526 info.dy *= 1 + dxdy * dxdy; in try_setup_line() 539 x_offset_end = y_offset_end * dxdy; in try_setup_line() 543 x_offset = y_offset * dxdy; in try_setup_line() 550 x_offset = y_offset * dxdy; in try_setup_line() 554 x_offset_end = y_offset_end * dxdy; in try_setup_line()
|
/third_party/skia/samplecode/ |
D | SamplePathClip.cpp | 85 double dxdy = (double)(p1.fX - p0.fX) / (p1.fY - p0.fY); local 87 p0.fX = SkDoubleToScalar(p0.fX + dxdy * (bounds.top() - p0.fY)); 91 p1.fX = SkDoubleToScalar(p1.fX + dxdy * (bounds.bottom() - p1.fY)); 117 float y = SkDoubleToScalar(p0.fY + (bounds.left() - p0.fX) / dxdy); 123 float y = SkDoubleToScalar(p0.fY + (bounds.right() - p0.fX) / dxdy);
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_setup.c | 57 float dxdy; /**< dx/dy */ member 630 setup->emaj.dxdy = setup->emaj.dy ? setup->emaj.dx / setup->emaj.dy : .0f; in setup_tri_edges() 631 setup->emaj.sx = vmin_x + (setup->emaj.sy - vmin_y) * setup->emaj.dxdy; in setup_tri_edges() 635 setup->etop.dxdy = setup->etop.dy ? setup->etop.dx / setup->etop.dy : .0f; in setup_tri_edges() 636 setup->etop.sx = vmid_x + (setup->etop.sy - vmid_y) * setup->etop.dxdy; in setup_tri_edges() 640 setup->ebot.dxdy = setup->ebot.dy ? setup->ebot.dx / setup->ebot.dy : .0f; in setup_tri_edges() 641 setup->ebot.sx = vmin_x + (setup->ebot.sy - vmin_y) * setup->ebot.dxdy; in setup_tri_edges() 691 int left = (int)(eleft->sx + y * eleft->dxdy); in subtriangle() 692 int right = (int)(eright->sx + y * eright->dxdy); in subtriangle() 715 eleft->sx += lines * eleft->dxdy; in subtriangle() [all …]
|
/third_party/skia/src/core/ |
D | SkPathRef.cpp | 514 SkVector dxdy; in getRRect() local 517 dxdy.set(SkScalarAbs(v1_0.fX), SkScalarAbs(v2_1.fY)); in getRRect() 520 dxdy.set(SkScalarAbs(v2_1.fX), SkScalarAbs(v2_1.fY)); in getRRect() 523 dxdy.set(SkScalarAbs(v2_1.fX), SkScalarAbs(v1_0.fY)); in getRRect() 532 radii[corner] = dxdy; in getRRect()
|
/third_party/skia/src/pathops/ |
D | SkOpSegment.cpp | 835 SkDVector dxdy = (*CurveDSlopeAtT[this->verb()])(this->pts(), this->weight(), t); in isClose() local 836 SkDLine perp = {{ cPt, {cPt.fX + dxdy.fY, cPt.fY - dxdy.fX} }}; in isClose() 1681 SkDVector dxdy = (*CurveDDSlopeAtT[fVerb])(curvePart, 0.5f); in testForCoincidence() local 1683 SkDLine ray = {{{midPt.fX, midPt.fY}, {partMidPt.fX + dxdy.fY, partMidPt.fY - dxdy.fX}}}; in testForCoincidence()
|
D | SkPathOpsTSect.cpp | 15 SkDVector dxdy = c1.dxdyAtT(t); in setPerp() local 16 SkDLine perp = {{ cPt, {cPt.fX + dxdy.fY, cPt.fY - dxdy.fX} }}; in setPerp() 1240 SkDVector dxdy = this->fCurve.dxdyAtT(t); in matchedDirection() local 1242 return dxdy.dot(dxdy2) >= 0; in matchedDirection()
|
D | SkOpCoincidence.cpp | 304 SkDVector dxdy = baseSeg->dSlopeAtT(base->t()); in addEndMovedSpans() local 306 SkDLine ray = {{{pt.fX, pt.fY}, {pt.fX + dxdy.fY, pt.fY - dxdy.fX}}}; in addEndMovedSpans()
|
D | SkPathOpsDebug.cpp | 1482 SkDVector dxdy = baseSeg->dSlopeAtT(base->t()); in debugAddEndMovedSpans() local 1484 SkDLine ray = {{{pt.fX, pt.fY}, {pt.fX + dxdy.fY, pt.fY - dxdy.fX}}}; in debugAddEndMovedSpans()
|
/third_party/mesa3d/src/imgui/ |
D | imstb_truetype.h | 2746 float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); in stbtt__new_active() local 2751 if (dxdy < 0) in stbtt__new_active() 2752 z->dx = -STBTT_ifloor(STBTT_FIX * -dxdy); in stbtt__new_active() 2754 z->dx = STBTT_ifloor(STBTT_FIX * dxdy); in stbtt__new_active() 2768 float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); in stbtt__new_active() local 2772 z->fdx = dxdy; in stbtt__new_active() 2773 z->fdy = dxdy != 0.0f ? (1.0f/dxdy) : 0.0f; in stbtt__new_active() 2774 z->fx = e->x0 + dxdy * (start_point - e->y0); in stbtt__new_active()
|
/third_party/skia/third_party/externals/imgui/ |
D | imstb_truetype.h | 2746 float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); in stbtt__new_active() local 2751 if (dxdy < 0) in stbtt__new_active() 2752 z->dx = -STBTT_ifloor(STBTT_FIX * -dxdy); in stbtt__new_active() 2754 z->dx = STBTT_ifloor(STBTT_FIX * dxdy); in stbtt__new_active() 2768 float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); in stbtt__new_active() local 2772 z->fdx = dxdy; in stbtt__new_active() 2773 z->fdy = dxdy != 0.0f ? (1.0f/dxdy) : 0.0f; in stbtt__new_active() 2774 z->fx = e->x0 + dxdy * (start_point - e->y0); in stbtt__new_active()
|