Home
last modified time | relevance | path

Searched refs:dx0 (Results 1 – 21 of 21) sorted by relevance

/external/opencv3/modules/imgproc/src/
Dconvhull.cpp298 double dx0 = pt1.x - pt0.x; in convexityDefects() local
300 double scale = dx0 == 0 && dy0 == 0 ? 0. : 1./std::sqrt(dx0*dx0 + dy0*dy0); in convexityDefects()
317 double dist = fabs(-dy0*dx + dx0*dy) * scale; in convexityDefects()
346 _Tp dx0 = cur_pt.x - prev_pt.x; in isContourConvex_() local
361 dydx0 = dy * dx0; in isContourConvex_()
370 dx0 = dx; in isContourConvex_()
647 double dx0, dy0; in cvConvexityDefects() local
659 dx0 = (double)hull_next->x - (double)hull_cur->x; in cvConvexityDefects()
661 assert( dx0 != 0 || dy0 != 0 ); in cvConvexityDefects()
662 scale = 1./std::sqrt(dx0*dx0 + dy0*dy0); in cvConvexityDefects()
[all …]
Dhough.cpp503 int i = point.y, j = point.x, k, x0, y0, dx0, dy0, xflag; in HoughLinesProbabilistic() local
540 dx0 = a > 0 ? 1 : -1; in HoughLinesProbabilistic()
548 dx0 = cvRound( a*(1 << shift)/fabs(b) ); in HoughLinesProbabilistic()
554 int gap = 0, x = x0, y = y0, dx = dx0, dy = dy0; in HoughLinesProbabilistic()
602 int x = x0, y = y0, dx = dx0, dy = dy0; in HoughLinesProbabilistic()
Dimgwarp.cpp1408 int dx0 = vecOp((const uchar**)src, (uchar**)dst, count, in operator ()() local
1415 for( dx = dx0; dx < xmax; dx++ ) in operator ()()
/external/opencv/cv/src/
Dcvconvhull.cpp658 double dx0, dy0; in cvConvexityDefects() local
670 dx0 = (double)hull_next->x - (double)hull_cur->x; in cvConvexityDefects()
672 assert( dx0 != 0 || dy0 != 0 ); in cvConvexityDefects()
673 scale = 1./sqrt(dx0*dx0 + dy0*dy0); in cvConvexityDefects()
694 double dist = fabs(-dy0*dx + dx0*dy) * scale; in cvConvexityDefects()
769 int dx0 = cur_pt->x - prev_pt->x; in cvCheckContourConvexity() local
785 dydx0 = dy * dx0; in cvCheckContourConvexity()
799 dx0 = dx; in cvCheckContourConvexity()
810 float dx0 = cur_pt->x - prev_pt->x; in cvCheckContourConvexity() local
826 dydx0 = dy * dx0; in cvCheckContourConvexity()
[all …]
Dcvhough.cpp564 int i, j, k, x0, y0, dx0, dy0, xflag; in icvHoughLinesProbabalistic() local
604 dx0 = a > 0 ? 1 : -1; in icvHoughLinesProbabalistic()
612 dx0 = cvRound( a*(1 << shift)/fabs(b) ); in icvHoughLinesProbabalistic()
618 int gap = 0, x = x0, y = y0, dx = dx0, dy = dy0; in icvHoughLinesProbabalistic()
666 int x = x0, y = y0, dx = dx0, dy = dy0; in icvHoughLinesProbabalistic()
Dcvcalibinit.cpp508 float prevt = 0, dx0 = b.x - a.x, dy0 = b.y - a.y; in icvCheckBoardMonotony() local
509 if( fabs(dx0) + fabs(dy0) < FLT_EPSILON ) in icvCheckBoardMonotony()
515 float t = ((c.x - a.x)*dx0 + (c.y - a.y)*dy0)/(dx0*dx0 + dy0*dy0); in icvCheckBoardMonotony()
/external/mesa3d/src/gallium/state_trackers/vega/
Dmatrix.h303 static INLINE VGboolean matrix_square_to_quad(VGfloat dx0, VGfloat dy0, in matrix_square_to_quad() argument
309 VGfloat ax = dx0 - dx1 + dx2 - dx3; in matrix_square_to_quad()
315 dx1 - dx0, dy1 - dy0, 0, in matrix_square_to_quad()
317 dx0, dy0, 1); in matrix_square_to_quad()
336 a = dx1 - dx0 + g * dx1; in matrix_square_to_quad()
337 b = dx3 - dx0 + h * dx3; in matrix_square_to_quad()
338 c = dx0; in matrix_square_to_quad()
367 static INLINE VGboolean matrix_quad_to_quad(VGfloat dx0, VGfloat dy0, in matrix_quad_to_quad() argument
379 if (!matrix_square_to_quad(dx0, dy0, dx1, dy1, in matrix_quad_to_quad()
Dvgu.c386 VGUErrorCode vguComputeWarpSquareToQuad(VGfloat dx0, VGfloat dy0, in vguComputeWarpSquareToQuad() argument
397 if (!matrix_square_to_quad(dx0, dy0, in vguComputeWarpSquareToQuad()
412 VGUErrorCode vguComputeWarpQuadToQuad(VGfloat dx0, VGfloat dy0, in vguComputeWarpQuadToQuad() argument
427 if (!matrix_quad_to_quad(dx0, dy0, in vguComputeWarpQuadToQuad()
/external/mesa3d/src/mesa/swrast/
Ds_aatriangle.c209 const GLfloat dx0 = v1[0] - v0[0]; in compute_coveragef() local
218 ASSERT(dx0 * dy1 - dx1 * dy0 >= 0.0); /* area >= 0.0 */ in compute_coveragef()
224 GLfloat cross = (dx0 * (sy - v0[1]) - dy0 * (sx - v0[0])); in compute_coveragef()
229 cross = dx0 + dy0; in compute_coveragef()
Ds_aaline.c281 const GLfloat area = dx0 * dy1 - dx1 * dy0; in compute_coveragef()
/external/skia/src/effects/gradients/
DSkClampRange.cpp68 void SkClampRange::init(SkGradFixed fx0, SkGradFixed dx0, int count, int v0, int v1) { in init() argument
82 int64_t dx = dx0; in init()
/external/mesa3d/include/VG/
Dvgu.h111 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguComputeWarpSquareToQuad(VGfloat dx0, VGfloat dy0,
117 VGU_API_CALL VGUErrorCode VGU_API_ENTRY vguComputeWarpQuadToQuad(VGfloat dx0, VGfloat dy0,
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtConvexHullComputer.cpp1084 int32_t dx0 = (w0->point.x - v0->point.x) * sign; in mergeProjection() local
1086 if ((dy0 <= 0) && ((dx0 == 0) || ((dx0 < 0) && (dy0 * dx <= dy * dx0)))) in mergeProjection()
1133 int32_t dx0 = (w0->point.x - v0->point.x) * sign; in mergeProjection() local
1136 if ((dxn < 0) && (dy0 > 0) && ((dx0 == 0) || ((dx0 < 0) && (dy0 * dx < dy * dx0)))) in mergeProjection()
1548 int64_t dx0 = (f0->target->point - et0).dot(perp); in findEdgeForCoplanarFaces() local
1550 …if ((dx0 == 0) ? (dy0 < 0) : ((dx0 < 0) && (Rational64(dy0, dx0).compare(Rational64(dy, dx)) >= 0)… in findEdgeForCoplanarFaces()
1620 int64_t dx0 = d0.dot(perp); in findEdgeForCoplanarFaces() local
1623 …if ((dxn < 0) && ((dx0 == 0) ? (dy0 > 0) : ((dx0 < 0) && (Rational64(dy0, dx0).compare(Rational64(… in findEdgeForCoplanarFaces()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_sf.h67 struct brw_reg dx0; member
Dbrw_sf_emit.c250 c->dx0 = brw_vec1_grf(1, 3); in alloc_regs()
461 brw_MUL(p, brw_null_reg(), c->a2_sub_a0, c->dx0); in brw_emit_tri_setup()
533 brw_MUL(p, c->tmp, c->a1_sub_a0, c->dx0); in brw_emit_line_setup()
602 c->dx0, in brw_emit_point_sprite_setup()
/external/opencv3/modules/objdetect/test/
Dtest_cascadeandhog.cpp1257 float dx0, dy0, dx, dy, mag0, mag; in computeGradient() local
1261 dx0 = lut[p2[2]] - lut[p0[2]]; in computeGradient()
1263 mag0 = dx0*dx0 + dy0*dy0; in computeGradient()
1271 dx0 = dx; in computeGradient()
1282 dx0 = dx; in computeGradient()
1287 dbuf[x] = dx0; in computeGradient()
/external/pdfium/third_party/lcms2-2.6/src/
Dcmsintrp.c344 dx0, dx1, in BilinearInterpFloat() local
367 dx0 = LERP(fx, d00, d10); in BilinearInterpFloat()
370 dxy = LERP(fy, dx0, dx1); in BilinearInterpFloat()
397 dx0, dx1, in BilinearInterp16() local
425 dx0 = LERP(rx, d00, d10); in BilinearInterp16()
428 dxy = LERP(ry, dx0, dx1); in BilinearInterp16()
/external/opencv3/modules/calib3d/src/
Dcalibinit.cpp594 float prevt = 0, dx0 = b.x - a.x, dy0 = b.y - a.y; in icvCheckBoardMonotony() local
595 if( fabs(dx0) + fabs(dy0) < FLT_EPSILON ) in icvCheckBoardMonotony()
601 float t = ((c.x - a.x)*dx0 + (c.y - a.y)*dy0)/(dx0*dx0 + dy0*dy0); in icvCheckBoardMonotony()
/external/opencv3/modules/objdetect/src/
Dhog.cpp375 float dx0, dy0, dx, dy, mag0, mag; in computeGradient() local
379 dx0 = lut[p2[2]] - lut[p0[2]]; in computeGradient()
381 mag0 = dx0*dx0 + dy0*dy0; in computeGradient()
388 dx0 = dx; in computeGradient()
398 dx0 = dx; in computeGradient()
403 dbuf[x] = dx0; in computeGradient()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp2698 GrGLfloat dx0 = 2.0f * (bounds.left() - 1) / width - 1.0f; in setupPixelLocalStorage() local
2702 SkRect deviceBounds = SkRect::MakeXYWH(dx0, dy0, dx1 - dx0, dy1 - dy0); in setupPixelLocalStorage()
3694 GrGLfloat dx0 = 2.f * dstPoint.fX / dw - 1.f; in copySurfaceAsDraw() local
3722 GL_CALL(Uniform4f(fCopyPrograms[progIdx].fPosXformUniform, dx1 - dx0, dy1 - dy0, dx0, dy0)); in copySurfaceAsDraw()
/external/opencv3/modules/imgproc/test/
Dtest_convhull.cpp617 float dx0 = pt1.x - pt0.x, dy0 = pt1.y - pt0.y; in validate_test_results() local
619 double t = (double)dx0*dy1 - (double)dx1*dy0; in validate_test_results()