Home
last modified time | relevance | path

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

/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/skia/src/effects/gradients/
DSkClampRange.cpp48 void SkClampRange::init(SkFixed fx0, SkFixed dx0, int count, int v0, int v1) { in init() argument
63 int64_t dx = dx0; in init()
/external/skia/src/effects/gradients/
DSkClampRange.cpp48 void SkClampRange::init(SkFixed fx0, SkFixed dx0, int count, int v0, int v1) { in init() argument
63 int64_t dx = dx0; in init()
/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/chromium_org/third_party/mesa/src/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()