Home
last modified time | relevance | path

Searched refs:dy0 (Results 1 – 12 of 12) sorted by relevance

/external/opencv/cv/src/
Dcvstereobm.cpp183 int dy0 = MIN(_dy0, wsz2+1), dy1 = MIN(_dy1, wsz2+1); in icvFindStereoCorrespondenceBM_SSE2() local
204 int cstep = (height + dy0 + dy1)*ndisp; in icvFindStereoCorrespondenceBM_SSE2()
210 hsad0 = (ushort*)cvAlignPtr(sad + ndisp + 1 + dy0*ndisp); in icvFindStereoCorrespondenceBM_SSE2()
212 cbuf0 = (uchar*)cvAlignPtr(htext + height + wsz2 + 2 + dy0*ndisp); in icvFindStereoCorrespondenceBM_SSE2()
218 memset( hsad0 - dy0*ndisp, 0, (height + dy0 + dy1)*ndisp*sizeof(hsad0[0]) ); in icvFindStereoCorrespondenceBM_SSE2()
223 hsad = hsad0 - dy0*ndisp; cbuf = cbuf0 + (x + wsz2 + 1)*cstep - dy0*ndisp; in icvFindStereoCorrespondenceBM_SSE2()
224 lptr = lptr0 + MIN(MAX(x, -lofs), width-lofs-1) - dy0*sstep; in icvFindStereoCorrespondenceBM_SSE2()
225 rptr = rptr0 + MIN(MAX(x, -rofs), width-rofs-1) - dy0*sstep; in icvFindStereoCorrespondenceBM_SSE2()
227 … for( y = -dy0; y < height + dy1; y++, hsad += ndisp, cbuf += ndisp, lptr += sstep, rptr += sstep ) in icvFindStereoCorrespondenceBM_SSE2()
253 const uchar* cbuf_sub = cbuf0 + ((x0 + wsz2 + 1) % (wsz + 1))*cstep - dy0*ndisp; in icvFindStereoCorrespondenceBM_SSE2()
[all …]
Dcvconvhull.cpp658 double dx0, dy0; in cvConvexityDefects() local
671 dy0 = (double)hull_next->y - (double)hull_cur->y; 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()
770 int dy0 = cur_pt->y - prev_pt->y; in cvCheckContourConvexity() local
784 dxdy0 = dx * dy0; in cvCheckContourConvexity()
800 dy0 = dy; in cvCheckContourConvexity()
811 float dy0 = cur_pt->y - prev_pt->y; in cvCheckContourConvexity() local
825 dxdy0 = dx * dy0; in cvCheckContourConvexity()
[all …]
Dcvhough.cpp564 int i, j, k, x0, y0, dx0, dy0, xflag; in icvHoughLinesProbabalistic() local
605 dy0 = cvRound( b*(1 << shift)/fabs(a) ); in icvHoughLinesProbabalistic()
611 dy0 = b > 0 ? 1 : -1; 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.cpp470 double dy0 = out_corners[last_row].y - out_corners[0].y; in cvFindChessboardCorners() local
471 if( dy0 < 0 ) in cvFindChessboardCorners()
508 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
310 VGfloat ay = dy0 - dy1 + dy2 - dy3; 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()
339 d = dy1 - dy0 + g * dy1; in matrix_square_to_quad()
340 e = dy3 - dy0 + h * dy3; in matrix_square_to_quad()
341 f = dy0; 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.c210 const GLfloat dy0 = v1[1] - v0[1]; 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/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/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_sf.h69 struct brw_reg dy0; member
Dbrw_sf_emit.c252 c->dy0 = brw_vec1_grf(1, 5); in alloc_regs()
456 brw_MAC(p, c->tmp, c->a2_sub_a0, negate(c->dy0)); in brw_emit_tri_setup()
536 brw_MUL(p, c->tmp, c->a1_sub_a0, c->dy0); in brw_emit_line_setup()
/external/libvncserver/x11vnc/
Dscreen.c4161 int dx0, dy0, dx1, dy1, dm, i, msec = waitms; local
4279 dy0 = nabs(y1 - y0);
4290 if ((dx0 || dy0) && (dx1 || dy1)) {