Home
last modified time | relevance | path

Searched refs:dy0 (Results 1 – 21 of 21) 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/opencv3/modules/calib3d/src/
Dstereobm.cpp326 int dy0 = MIN(_dy0, wsz2+1), dy1 = MIN(_dy1, wsz2+1); in findStereoCorrespondenceBM_SSE2() local
347 int cstep = (height + dy0 + dy1)*ndisp; in findStereoCorrespondenceBM_SSE2()
355 hsad0 = (ushort*)alignPtr(sad + ndisp + 1 + dy0*ndisp, ALIGN); in findStereoCorrespondenceBM_SSE2()
357 cbuf0 = (uchar*)alignPtr((uchar*)(htext + height + wsz2 + 2) + dy0*ndisp, ALIGN); in findStereoCorrespondenceBM_SSE2()
363 memset( hsad0 - dy0*ndisp, 0, (height + dy0 + dy1)*ndisp*sizeof(hsad0[0]) ); in findStereoCorrespondenceBM_SSE2()
368 hsad = hsad0 - dy0*ndisp; cbuf = cbuf0 + (x + wsz2 + 1)*cstep - dy0*ndisp; in findStereoCorrespondenceBM_SSE2()
369 lptr = lptr0 + MIN(MAX(x, -lofs), width-lofs-1) - dy0*sstep; in findStereoCorrespondenceBM_SSE2()
370 rptr = rptr0 + MIN(MAX(x, -rofs), width-rofs-1) - dy0*sstep; in findStereoCorrespondenceBM_SSE2()
372 … for( y = -dy0; y < height + dy1; y++, hsad += ndisp, cbuf += ndisp, lptr += sstep, rptr += sstep ) in findStereoCorrespondenceBM_SSE2()
406 const uchar* cbuf_sub = cbuf0 + ((x0 + wsz2 + 1) % (wsz + 1))*cstep - dy0*ndisp; in findStereoCorrespondenceBM_SSE2()
[all …]
Dcalibinit.cpp526 double dy0 = out_corners[last_row].y - out_corners[0].y; in cvFindChessboardCorners() local
527 if( dy0 < 0 ) in cvFindChessboardCorners()
594 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/imgproc/src/
Dconvhull.cpp299 double dy0 = pt1.y - pt0.y; 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()
347 _Tp dy0 = cur_pt.y - prev_pt.y; in isContourConvex_() local
360 dxdy0 = dx * dy0; in isContourConvex_()
371 dy0 = dy; in isContourConvex_()
647 double dx0, dy0; in cvConvexityDefects() local
660 dy0 = (double)hull_next->y - (double)hull_cur->y; in cvConvexityDefects()
661 assert( dx0 != 0 || dy0 != 0 ); in cvConvexityDefects()
662 scale = 1./std::sqrt(dx0*dx0 + dy0*dy0); in cvConvexityDefects()
[all …]
Dderiv.cpp923 … int dy0 = std::min(std::max((int)(STRIPE_SIZE/(CV_ELEM_SIZE(stype)*src.cols)), 1), src.rows); in Laplacian() local
924 Mat d2x( dy0 + kd.rows - 1, src.cols, wtype ); in Laplacian()
925 Mat d2y( dy0 + kd.rows - 1, src.cols, wtype ); in Laplacian()
927 for( ; dsty < src.rows; sptr += dy0*src.step, dsty += dy ) in Laplacian()
929 fx->proceed( sptr, (int)src.step, dy0, d2x.ptr(), (int)d2x.step ); in Laplacian()
930 dy = fy->proceed( sptr, (int)src.step, dy0, d2y.ptr(), (int)d2y.step ); in Laplacian()
Dhough.cpp503 int i = point.y, j = point.x, k, x0, y0, dx0, dy0, xflag; in HoughLinesProbabilistic() local
541 dy0 = cvRound( b*(1 << shift)/fabs(a) ); in HoughLinesProbabilistic()
547 dy0 = b > 0 ? 1 : -1; 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()
/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/opencv3/modules/imgproc/src/opencl/
Dwarp_affine.cl95 int dy0 = get_global_id(1) * rowsPerWI;
103 int dst_index = mad24(dy0, dst_step, mad24(dx, pixsize, dst_offset));
105 … for (int dy = dy0, dy1 = min(dst_rows, dy0 + rowsPerWI); dy < dy1; ++dy, dst_index += dst_step)
139 int dy0 = get_global_id(1) * rowsPerWI;
147 for (int dy = dy0, dy1 = min(dst_rows, dy0 + rowsPerWI); dy < dy1; ++dy)
/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/opencv3/modules/objdetect/test/
Dtest_cascadeandhog.cpp1257 float dx0, dy0, dx, dy, mag0, mag; in computeGradient() local
1262 dy0 = lut[nextPtr[x1+2]] - lut[prevPtr[x1+2]]; in computeGradient()
1263 mag0 = dx0*dx0 + dy0*dy0; in computeGradient()
1272 dy0 = dy; in computeGradient()
1283 dy0 = dy; in computeGradient()
1288 dbuf[x+width] = dy0; in computeGradient()
/external/opencv3/modules/objdetect/src/
Dhog.cpp375 float dx0, dy0, dx, dy, mag0, mag; in computeGradient() local
380 dy0 = lut[nextPtr[x1+2]] - lut[prevPtr[x1+2]]; in computeGradient()
381 mag0 = dx0*dx0 + dy0*dy0; in computeGradient()
389 dy0 = dy; in computeGradient()
399 dy0 = dy; in computeGradient()
404 dbuf[x+width] = dy0; in computeGradient()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp2700 GrGLfloat dy0 = -2.0f * (bounds.top() - 1) / height + 1.0f; in setupPixelLocalStorage() local
2702 SkRect deviceBounds = SkRect::MakeXYWH(dx0, dy0, dx1 - dx0, dy1 - dy0); in setupPixelLocalStorage()
3696 GrGLfloat dy0 = 2.f * dstPoint.fY / dh - 1.f; in copySurfaceAsDraw() local
3699 dy0 = -dy0; in copySurfaceAsDraw()
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()