Searched refs:dxdy (Results 1 – 10 of 10) sorted by relevance
/external/mesa3d/src/mesa/swrast/ |
D | s_aatritemp.h | 182 const GLfloat dxdy = majDx / majDy; variable 183 const GLfloat xAdj = dxdy < 0.0F ? -dxdy : 0.0F; 189 GLfloat x = pMin[0] - (yMin - iy) * dxdy; 251 const GLfloat dxdy = majDx / majDy; variable 252 const GLfloat xAdj = dxdy > 0 ? dxdy : 0.0F; 258 GLfloat x = pMin[0] - (yMin - iy) * dxdy;
|
D | s_tritemp.h | 119 GLfloat dxdy; /* dx/dy */ in NAME() member 254 eMaj.dxdy = eMaj.dx / eMaj.dy; in NAME() 255 eMaj.fdxdy = SignedFloatToFixed(eMaj.dxdy); in NAME() 258 eMaj.fsx = eMaj.fx0 + (GLfixed) (eMaj.adjy * eMaj.dxdy); in NAME() 267 eTop.dxdy = eTop.dx / eTop.dy; in NAME() 268 eTop.fdxdy = SignedFloatToFixed(eTop.dxdy); in NAME() 271 eTop.fsx = eTop.fx0 + (GLfixed) (eTop.adjy * eTop.dxdy); in NAME() 277 eBot.dxdy = eBot.dx / eBot.dy; in NAME() 278 eBot.fdxdy = SignedFloatToFixed(eBot.dxdy); in NAME() 281 eBot.fsx = eBot.fx0 + (GLfixed) (eBot.adjy * eBot.dxdy); in NAME()
|
D | s_aaline.c | 415 GLfloat dxdy = line->dx / line->dy; in segment() local 455 xLeft += dxdy; in segment() 456 xRight += dxdy; in segment()
|
/external/skia/samplecode/ |
D | SamplePathClip.cpp | 93 double dxdy = (double)(p1.fX - p0.fX) / (p1.fY - p0.fY); local 95 p0.fX = SkDoubleToScalar(p0.fX + dxdy * (bounds.top() - p0.fY)); 99 p1.fX = SkDoubleToScalar(p1.fX + dxdy * (bounds.bottom() - p1.fY)); 124 float y = SkDoubleToScalar(p0.fY + (bounds.left() - p0.fX) / dxdy); 130 float y = SkDoubleToScalar(p0.fY + (bounds.right() - p0.fX) / dxdy);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_line.c | 438 const float dxdy = dx / dy; in try_setup_line() local 464 float xintersect = fracf(v1[0][0]) + y1diff * dxdy; in try_setup_line() 482 float xintersect = fracf(v2[0][0]) + y2diff * dxdy; in try_setup_line() 502 x_offset_end = y_offset_end * dxdy; in try_setup_line() 506 x_offset = y_offset * dxdy; in try_setup_line() 513 x_offset = y_offset * dxdy; in try_setup_line() 518 x_offset_end = y_offset_end * dxdy; in try_setup_line()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_setup.c | 57 float dxdy; /**< dx/dy */ member 687 setup->emaj.dxdy = setup->emaj.dy ? setup->emaj.dx / setup->emaj.dy : .0f; in setup_tri_edges() 688 setup->emaj.sx = vmin_x + (setup->emaj.sy - vmin_y) * setup->emaj.dxdy; in setup_tri_edges() 692 setup->etop.dxdy = setup->etop.dy ? setup->etop.dx / setup->etop.dy : .0f; in setup_tri_edges() 693 setup->etop.sx = vmid_x + (setup->etop.sy - vmid_y) * setup->etop.dxdy; in setup_tri_edges() 697 setup->ebot.dxdy = setup->ebot.dy ? setup->ebot.dx / setup->ebot.dy : .0f; in setup_tri_edges() 698 setup->ebot.sx = vmin_x + (setup->ebot.sy - vmin_y) * setup->ebot.dxdy; in setup_tri_edges() 747 int left = (int)(eleft->sx + y * eleft->dxdy); in subtriangle() 748 int right = (int)(eright->sx + y * eright->dxdy); in subtriangle() 771 eleft->sx += lines * eleft->dxdy; in subtriangle() [all …]
|
/external/skia/src/core/ |
D | SkPathRef.cpp | 500 SkVector dxdy; in getRRect() local 503 dxdy.set(SkScalarAbs(v1_0.fX), SkScalarAbs(v2_1.fY)); in getRRect() 506 dxdy.set(SkScalarAbs(v2_1.fX), SkScalarAbs(v2_1.fY)); in getRRect() 509 dxdy.set(SkScalarAbs(v2_1.fX), SkScalarAbs(v1_0.fY)); in getRRect() 518 radii[corner] = dxdy; in getRRect()
|
/external/skia/src/pathops/ |
D | SkOpSegment.cpp | 914 SkDVector dxdy = (*CurveDSlopeAtT[this->verb()])(this->pts(), this->weight(), t); in isClose() local 915 SkDLine perp = {{ cPt, {cPt.fX + dxdy.fY, cPt.fY - dxdy.fX} }}; in isClose() 1688 SkVector dxdy = (*CurveSlopeAtT[fVerb])(this->pts(), this->weight(), midT); in testForCoincidence() local 1690 {(double) midPt.fX + dxdy.fY, (double) midPt.fY - dxdy.fX}}}; in testForCoincidence() 1699 dxdy.normalize(); in testForCoincidence() 1700 SkScalar flatness = SkScalarAbs(dxdy.cross(oppDxdy) / FLT_EPSILON); in testForCoincidence()
|
D | SkPathOpsTSect.h | 336 SkDVector dxdy = c1.dxdyAtT(t); in setPerp() local 337 SkDLine perp = {{ cPt, {cPt.fX + dxdy.fY, cPt.fY - dxdy.fX} }}; in setPerp() 1503 SkDVector dxdy = this->fCurve.dxdyAtT(t); in matchedDirection() local 1505 return dxdy.dot(dxdy2) >= 0; in matchedDirection()
|
/external/opencv3/modules/imgproc/test/ |
D | test_filter.cpp | 1310 Mat dx2, dy2, dxdy(src.size(), CV_32F), kernel; in test_cornerEigenValsVecs() local 1325 float* dxdyp = dxdy.ptr<float>(i); in test_cornerEigenValsVecs() 1343 cvtest::filter2D( dxdy, dxdy, ftype, kernel, anchor, 0, BORDER_REPLICATE ); in test_cornerEigenValsVecs() 1351 const float* dxdyp = dxdy.ptr<float>(i); in test_cornerEigenValsVecs() 1401 const float* dxdyp = dxdy.ptr<float>(i); in test_cornerEigenValsVecs()
|