Searched refs:dy0 (Results 1 - 18 of 18) sorted by relevance

/external/opencv/cv/src/
H A Dcvstereobm.cpp183 int dy0 = MIN(_dy0, wsz2+1), dy1 = MIN(_dy1, wsz2+1); local
204 int cstep = (height + dy0 + dy1)*ndisp;
210 hsad0 = (ushort*)cvAlignPtr(sad + ndisp + 1 + dy0*ndisp);
212 cbuf0 = (uchar*)cvAlignPtr(htext + height + wsz2 + 2 + dy0*ndisp);
218 memset( hsad0 - dy0*ndisp, 0, (height + dy0 + dy1)*ndisp*sizeof(hsad0[0]) );
223 hsad = hsad0 - dy0*ndisp; cbuf = cbuf0 + (x + wsz2 + 1)*cstep - dy0*ndisp;
224 lptr = lptr0 + MIN(MAX(x, -lofs), width-lofs-1) - dy0*sstep;
225 rptr = rptr0 + MIN(MAX(x, -rofs), width-rofs-1) - dy0*sste
391 int dy0 = MIN(_dy0, wsz2+1), dy1 = MIN(_dy1, wsz2+1); local
[all...]
H A Dcvconvhull.cpp658 double dx0, dy0; local
671 dy0 = (double)hull_next->y - (double)hull_cur->y;
672 assert( dx0 != 0 || dy0 != 0 );
673 scale = 1./sqrt(dx0*dx0 + dy0*dy0);
694 double dist = fabs(-dy0*dx + dx0*dy) * scale;
770 int dy0 = cur_pt->y - prev_pt->y; local
784 dxdy0 = dx * dy0;
788 /*orient = -dy0 * dx + dx0 * dy;
800 dy0
811 float dy0 = cur_pt->y - prev_pt->y; local
[all...]
H A Dcvhough.cpp564 int i, j, k, x0, y0, dx0, dy0, xflag; local
605 dy0 = cvRound( b*(1 << shift)/fabs(a) );
611 dy0 = b > 0 ? 1 : -1;
618 int gap = 0, x = x0, y = y0, dx = dx0, dy = dy0;
666 int x = x0, y = y0, dx = dx0, dy = dy0;
H A Dcvcalibinit.cpp470 double dy0 = out_corners[last_row].y - out_corners[0].y; local
471 if( dy0 < 0 )
508 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);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_sf.h69 struct brw_reg dy0; member in struct:brw_sf_compile
H A Dbrw_sf_emit.c252 c->dy0 = brw_vec1_grf(1, 5);
456 brw_MAC(p, c->tmp, c->a2_sub_a0, negate(c->dy0));
536 brw_MUL(p, c->tmp, c->a1_sub_a0, c->dy0);
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_aatriangle.c210 const GLfloat dy0 = v1[1] - v0[1]; 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;
H A Ds_aaline.c281 const GLfloat area = dx0 * dy1 - dx1 * dy0;
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_sf.h69 struct brw_reg dy0; member in struct:brw_sf_compile
H A Dbrw_sf_emit.c252 c->dy0 = brw_vec1_grf(1, 5);
456 brw_MAC(p, c->tmp, c->a2_sub_a0, negate(c->dy0));
536 brw_MUL(p, c->tmp, c->a1_sub_a0, c->dy0);
/external/mesa3d/src/mesa/swrast/
H A Ds_aatriangle.c210 const GLfloat dy0 = v1[1] - v0[1]; 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;
H A Ds_aaline.c281 const GLfloat area = dx0 * dy1 - dx1 * dy0;
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dmatrix.h303 static INLINE VGboolean matrix_square_to_quad(VGfloat dx0, VGfloat dy0, argument
310 VGfloat ay = dy0 - dy1 + dy2 - dy3;
315 dx1 - dx0, dy1 - dy0, 0,
317 dx0, dy0, 1);
339 d = dy1 - dy0 + g * dy1;
340 e = dy3 - dy0 + h * dy3;
341 f = dy0;
367 static INLINE VGboolean matrix_quad_to_quad(VGfloat dx0, VGfloat dy0, argument
379 if (!matrix_square_to_quad(dx0, dy0, dx1, dy1,
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,
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dmatrix.h303 static INLINE VGboolean matrix_square_to_quad(VGfloat dx0, VGfloat dy0, argument
310 VGfloat ay = dy0 - dy1 + dy2 - dy3;
315 dx1 - dx0, dy1 - dy0, 0,
317 dx0, dy0, 1);
339 d = dy1 - dy0 + g * dy1;
340 e = dy3 - dy0 + h * dy3;
341 f = dy0;
367 static INLINE VGboolean matrix_quad_to_quad(VGfloat dx0, VGfloat dy0, argument
379 if (!matrix_square_to_quad(dx0, dy0, dx1, dy1,
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,
/external/chromium_org/third_party/mesa/src/include/VG/
H A 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/
H A 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,

Completed in 475 milliseconds