/external/opencv/cv/src/ |
cvstereobm.cpp | 183 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*sstep 391 int dy0 = MIN(_dy0, wsz2+1), dy1 = MIN(_dy1, wsz2+1); local [all...] |
cvconvhull.cpp | 658 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 = dy 811 float dy0 = cur_pt->y - prev_pt->y; local [all...] |
cvhough.cpp | 564 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; [all...] |
cvcalibinit.cpp | 470 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); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_sf.h | 69 struct brw_reg dy0; member in struct:brw_sf_compile
|
brw_sf_emit.c | 252 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/ |
s_aatriangle.c | 210 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;
|
s_aaline.c | 281 const GLfloat area = dx0 * dy1 - dx1 * dy0;
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_sf.h | 69 struct brw_reg dy0; member in struct:brw_sf_compile
|
brw_sf_emit.c | 252 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/ |
s_aatriangle.c | 210 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;
|
s_aaline.c | 281 const GLfloat area = dx0 * dy1 - dx1 * dy0;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
matrix.h | 303 static INLINE VGboolean matrix_square_to_quad(VGfloat dx0, VGfloat dy0, 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, 379 if (!matrix_square_to_quad(dx0, dy0, dx1, dy1,
|
vgu.c | 386 VGUErrorCode vguComputeWarpSquareToQuad(VGfloat dx0, VGfloat dy0, 397 if (!matrix_square_to_quad(dx0, dy0, 412 VGUErrorCode vguComputeWarpQuadToQuad(VGfloat dx0, VGfloat dy0, 427 if (!matrix_quad_to_quad(dx0, dy0,
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
matrix.h | 303 static INLINE VGboolean matrix_square_to_quad(VGfloat dx0, VGfloat dy0, 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, 379 if (!matrix_square_to_quad(dx0, dy0, dx1, dy1,
|
vgu.c | 386 VGUErrorCode vguComputeWarpSquareToQuad(VGfloat dx0, VGfloat dy0, 397 if (!matrix_square_to_quad(dx0, dy0, 412 VGUErrorCode vguComputeWarpQuadToQuad(VGfloat dx0, VGfloat dy0, 427 if (!matrix_quad_to_quad(dx0, dy0,
|
/external/chromium_org/third_party/mesa/src/include/VG/ |
vgu.h | 111 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/ |
vgu.h | 111 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,
|