Searched defs:dx0 (Results 1 - 15 of 15) sorted by relevance

/external/skia/src/effects/gradients/
H A DSkClampRange.cpp68 void SkClampRange::init(SkGradFixed fx0, SkGradFixed dx0, int count, int v0, int v1) { argument
82 int64_t dx = dx0;
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dvgu.c386 VGUErrorCode vguComputeWarpSquareToQuad(VGfloat dx0, VGfloat dy0, argument
397 if (!matrix_square_to_quad(dx0, dy0,
412 VGUErrorCode vguComputeWarpQuadToQuad(VGfloat dx0, VGfloat dy0, argument
427 if (!matrix_quad_to_quad(dx0, dy0,
H A Dmatrix.h303 static INLINE VGboolean matrix_square_to_quad(VGfloat dx0, VGfloat dy0, argument
309 VGfloat ax = dx0 - dx1 + dx2 - dx3;
315 dx1 - dx0, dy1 - dy0, 0,
317 dx0, dy0, 1);
336 a = dx1 - dx0 + g * dx1;
337 b = dx3 - dx0 + h * dx3;
338 c = dx0;
367 static INLINE VGboolean matrix_quad_to_quad(VGfloat dx0, VGfloat dy0, argument
379 if (!matrix_square_to_quad(dx0, dy0, dx1, dy1,
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_sf.h67 struct brw_reg dx0; member in struct:brw_sf_compile
/external/mesa3d/src/mesa/swrast/
H A Ds_aatriangle.c209 const GLfloat dx0 = v1[0] - v0[0]; local
218 ASSERT(dx0 * dy1 - dx1 * dy0 >= 0.0); /* area >= 0.0 */
224 GLfloat cross = (dx0 * (sy - v0[1]) - dy0 * (sx - v0[0]));
229 cross = dx0 + dy0;
/external/opencv/cv/src/
H A Dcvconvhull.cpp658 double dx0, dy0; local
670 dx0 = (double)hull_next->x - (double)hull_cur->x;
672 assert( dx0 != 0 || dy0 != 0 );
673 scale = 1./sqrt(dx0*dx0 + dy0*dy0);
694 double dist = fabs(-dy0*dx + dx0*dy) * scale;
769 int dx0 = cur_pt->x - prev_pt->x; local
785 dydx0 = dy * dx0;
788 /*orient = -dy0 * dx + dx0 * dy;
799 dx0
810 float dx0 = cur_pt->x - prev_pt->x; local
[all...]
H A Dcvcalibinit.cpp508 float prevt = 0, dx0 = b.x - a.x, dy0 = b.y - a.y; local
509 if( fabs(dx0) + fabs(dy0) < FLT_EPSILON )
515 float t = ((c.x - a.x)*dx0 + (c.y - a.y)*dy0)/(dx0*dx0 + dy0*dy0);
H A Dcvhough.cpp564 int i, j, k, x0, y0, dx0, dy0, xflag; local
604 dx0 = a > 0 ? 1 : -1;
612 dx0 = cvRound( a*(1 << shift)/fabs(b) );
618 int gap = 0, x = x0, y = y0, dx = dx0, dy = dy0;
666 int x = x0, y = y0, dx = dx0, dy = dy0;
/external/opencv3/modules/imgproc/src/
H A Dconvhull.cpp298 double dx0 = pt1.x - pt0.x; local
300 double scale = dx0 == 0 && dy0 == 0 ? 0. : 1./std::sqrt(dx0*dx0 + dy0*dy0);
317 double dist = fabs(-dy0*dx + dx0*dy) * scale;
346 _Tp dx0 = cur_pt.x - prev_pt.x; local
361 dydx0 = dy * dx0;
364 // orient = -dy0 * dx + dx0 * dy;
370 dx0 = dx;
647 double dx0, dy local
[all...]
/external/pdfium/third_party/lcms2-2.6/src/
H A Dcmsintrp.c344 dx0, dx1, local
367 dx0 = LERP(fx, d00, d10);
370 dxy = LERP(fy, dx0, dx1);
397 dx0, dx1, local
425 dx0 = LERP(rx, d00, d10);
428 dxy = LERP(ry, dx0, dx1);
/external/opencv3/modules/calib3d/src/
H A Dcalibinit.cpp594 float prevt = 0, dx0 = b.x - a.x, dy0 = b.y - a.y; local
595 if( fabs(dx0) + fabs(dy0) < FLT_EPSILON )
601 float t = ((c.x - a.x)*dx0 + (c.y - a.y)*dy0)/(dx0*dx0 + dy0*dy0);
/external/opencv3/modules/imgproc/test/
H A Dtest_convhull.cpp617 float dx0 = pt1.x - pt0.x, dy0 = pt1.y - pt0.y; local
619 double t = (double)dx0*dy1 - (double)dx1*dy0;
/external/opencv3/modules/objdetect/test/
H A Dtest_cascadeandhog.cpp1257 float dx0, dy0, dx, dy, mag0, mag; local
1261 dx0 = lut[p2[2]] - lut[p0[2]];
1263 mag0 = dx0*dx0 + dy0*dy0;
1271 dx0 = dx;
1282 dx0 = dx;
1287 dbuf[x] = dx0;
/external/opencv3/modules/objdetect/src/
H A Dhog.cpp375 float dx0, dy0, dx, dy, mag0, mag; local
379 dx0 = lut[p2[2]] - lut[p0[2]];
381 mag0 = dx0*dx0 + dy0*dy0;
388 dx0 = dx;
398 dx0 = dx;
403 dbuf[x] = dx0;
/external/skia/src/gpu/gl/
H A DGrGLGpu.cpp2698 GrGLfloat dx0 = 2.0f * (bounds.left() - 1) / width - 1.0f; local
2702 SkRect deviceBounds = SkRect::MakeXYWH(dx0, dy0, dx1 - dx0, dy1 - dy0);
3694 GrGLfloat dx0 = 2.f * dstPoint.fX / dw - 1.f; local
3722 GL_CALL(Uniform4f(fCopyPrograms[progIdx].fPosXformUniform, dx1 - dx0, dy1 - dy0, dx0, dy0));

Completed in 549 milliseconds