Home
last modified time | relevance | path

Searched refs:dy1 (Results 1 – 25 of 33) sorted by relevance

12

/external/pdfium/core/src/fxge/agg/agg23/
Dagg_math_stroke.h48 FX_FLOAT dx1, FX_FLOAT dy1, in stroke_calc_arc() argument
54 FX_FLOAT a1 = FXSYS_atan2(dy1, dx1); in stroke_calc_arc()
62 out_vertices.add(coord_type(x + dx1, y + dy1)); in stroke_calc_arc()
93 FX_FLOAT dx1, FX_FLOAT dy1, in stroke_calc_miter() argument
104 if(calc_intersection(v0.x + dx1, v0.y - dy1, in stroke_calc_miter()
105 v1.x + dx1, v1.y - dy1, in stroke_calc_miter()
117 FX_FLOAT y2 = v1.y - dy1; in stroke_calc_miter()
118 if((FXSYS_Mul(x2 - v0.x, dy1) - FXSYS_Mul(v0.y - y2, dx1) < 0) != in stroke_calc_miter()
119 (FXSYS_Mul(x2 - v2.x, dy1) - FXSYS_Mul(v2.y - y2, dx1) < 0)) { in stroke_calc_miter()
120 out_vertices.add(coord_type(v1.x + dx1, v1.y - dy1)); in stroke_calc_miter()
[all …]
/external/fonttools/Lib/fontTools/misc/
Dtransform.py191 xx1, xy1, yx1, yy1, dx1, dy1 = other
198 xx2*dx1 + yx2*dy1 + dx2,
199 xy2*dx1 + yy2*dy1 + dy2)
214 xx1, xy1, yx1, yy1, dx1, dy1 = self.__affine
221 xx2*dx1 + yx2*dy1 + dx2,
222 xy2*dx1 + yy2*dy1 + dy2)
292 xx1, xy1, yx1, yy1, dx1, dy1 = self.__affine
294 return (xx1, xy1, yx1, yy1, dx1, dy1) == \
DpsCharStrings.py796 dy1 = args[0]
799 dy1 = 0
802 self.rCurveTo((dxa, dy1), (dxb, dyb), (dxc, 0))
803 dy1 = 0
830 dy1 = dy3 = dy4 = dy6 = 0
832 self.rCurveTo((dx1, dy1), (dx2, dy2), (dx3, dy3))
835 dx1, dy1, dx2, dy2, dx3, dy3, dx4, dy4, dx5, dy5, dx6, dy6, fd = self.popall()
836 self.rCurveTo((dx1, dy1), (dx2, dy2), (dx3, dy3))
839 dx1, dy1, dx2, dy2, dx3, dx4, dx5, dy5, dx6 = self.popall()
841 dy6 = -(dy1 + dy2 + dy3 + dy4 + dy5)
[all …]
/external/eigen/blas/f2c/
Ddrotmg.c16 dx1, doublereal *dy1, doublereal *dparam) in drotmg_() argument
109 dp2 = *dd2 * *dy1; in drotmg_()
118 dq2 = dp2 * *dy1; in drotmg_()
124 dh21 = -(*dy1) / *dx1; in drotmg_()
150 dh22 = *dx1 / *dy1; in drotmg_()
155 *dx1 = *dy1 * du; in drotmg_()
/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()
211 htext = (int*)cvAlignPtr((int*)(hsad0 + (height+dy1)*ndisp) + wsz2 + 2); in icvFindStereoCorrespondenceBM_SSE2()
218 memset( hsad0 - dy0*ndisp, 0, (height + dy0 + dy1)*ndisp*sizeof(hsad0[0]) ); in icvFindStereoCorrespondenceBM_SSE2()
227 … for( y = -dy0; y < height + dy1; y++, hsad += ndisp, cbuf += ndisp, lptr += sstep, rptr += sstep ) in icvFindStereoCorrespondenceBM_SSE2()
260 for( y = -dy0; y < height + dy1; y++, cbuf += ndisp, cbuf_sub += ndisp, in icvFindStereoCorrespondenceBM_SSE2()
284 for( y = dy1; y <= wsz2; y++ ) in icvFindStereoCorrespondenceBM_SSE2()
285 htext[height+y] = htext[height+dy1-1]; in icvFindStereoCorrespondenceBM_SSE2()
305 hsad = hsad0 + MIN(y + wsz2, height+dy1-1)*ndisp; in icvFindStereoCorrespondenceBM_SSE2()
391 int dy0 = MIN(_dy0, wsz2+1), dy1 = MIN(_dy1, wsz2+1); in icvFindStereoCorrespondenceBM() local
[all …]
Dcvgeometry.cpp114 icvIntersectLines( double x1, double dx1, double y1, double dy1, in icvIntersectLines() argument
117 double d = dx1 * dy2 - dx2 * dy1; in icvIntersectLines()
122 *t2 = ((x2 - x1) * dy1 - (y2 - y1) * dx1) / d; in icvIntersectLines()
295 double dx, dy, dx1, dy1, dx2, dy2, dist_num, dist_denom = 1; in cvPointPolygonTest() local
309 dx1 = pt.x - v0.x; dy1 = pt.y - v0.y; in cvPointPolygonTest()
312 if( dx1*dx + dy1*dy <= 0 ) in cvPointPolygonTest()
313 dist_num = dx1*dx1 + dy1*dy1; in cvPointPolygonTest()
318 dist_num = (dy1*dx - dx1*dy); in cvPointPolygonTest()
336 dist_num = dy1*dx - dx1*dy; in cvPointPolygonTest()
Dcvapprox.cpp209 int dx1, dy1, dx2, dy2; in icvApproximateChainTC89() local
218 dy1 = array[i1].pt.y - pt0.y; in icvApproximateChainTC89()
222 if( (dx1 | dy1) == 0 || (dx2 | dy2) == 0 ) in icvApproximateChainTC89()
225 temp_num = dx1 * dx2 + dy1 * dy2; in icvApproximateChainTC89()
228 sqrt( ((double)dx1 * dx1 + (double)dy1 * dy1) * in icvApproximateChainTC89()
D_cvgeom.h55 int icvIntersectLines( double x1, double dx1, double y1, double dy1,
Dcvsurf.cpp87 int dy1 = src[k][1]*newSize/oldSize; in icvResizeHaarPattern() local
90 dst[k].p0 = dy1*widthStep + dx1; in icvResizeHaarPattern()
92 dst[k].p2 = dy1*widthStep + dx2; in icvResizeHaarPattern()
94 dst[k].w = src[k][4]/((float)(dx2-dx1)*(dy2-dy1)); in icvResizeHaarPattern()
Dcvfundam.cpp408 double dy1 = ptr[j].y - ptr[i].y; in checkSubset() local
413 … if( fabs(dx2*dy1 - dy2*dx1) < FLT_EPSILON*(fabs(dx1) + fabs(dy1) + fabs(dx2) + fabs(dy2))) in checkSubset()
/external/mesa3d/src/gallium/state_trackers/vega/
Dmatrix.h304 VGfloat dx1, VGfloat dy1, 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()
316 dx2 - dx1, dy2 - dy1, 0, in matrix_square_to_quad()
322 VGfloat ay1 = dy1 - dy2; in matrix_square_to_quad()
339 d = dy1 - dy0 + g * dy1; in matrix_square_to_quad()
368 VGfloat dx1, VGfloat dy1, in matrix_quad_to_quad() argument
379 if (!matrix_square_to_quad(dx0, dy0, dx1, dy1, in matrix_quad_to_quad()
Dvgu.c387 VGfloat dx1, VGfloat dy1, in vguComputeWarpSquareToQuad() argument
398 dx1, dy1, in vguComputeWarpSquareToQuad()
413 VGfloat dx1, VGfloat dy1, in vguComputeWarpQuadToQuad() argument
428 dx1, dy1, in vguComputeWarpQuadToQuad()
Drenderer.h154 int dx1, int dy1,
/external/mesa3d/src/mesa/swrast/
Ds_aatriangle.c212 const GLfloat dy1 = v2[1] - v1[1]; in compute_coveragef() local
218 ASSERT(dx0 * dy1 - dx1 * dy0 >= 0.0); /* area >= 0.0 */ in compute_coveragef()
237 cross = (dx1 * (sy - v1[1]) - dy1 * (sx - v1[0])); in compute_coveragef()
239 cross = dx1 + dy1; in compute_coveragef()
Ds_aaline.c281 const GLfloat area = dx0 * dy1 - dx1 * dy0; in compute_coveragef()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DFastMath.java692 float dx1, dx2, dy1, dy2; in counterClockwise() local
694 dy1 = p1.y - p0.y; in counterClockwise()
697 if (dx1 * dy2 > dy1 * dx2) { in counterClockwise()
700 if (dx1 * dy2 < dy1 * dx2) { in counterClockwise()
703 if ((dx1 * dx2 < 0) || (dy1 * dy2 < 0)) { in counterClockwise()
706 if ((dx1 * dx1 + dy1 * dy1) < (dx2 * dx2 + dy2 * dy2)) { in counterClockwise()
/external/mesa3d/include/VG/
Dvgu.h112 VGfloat dx1, VGfloat dy1,
118 VGfloat dx1, VGfloat dy1,
/external/proguard/src/proguard/gui/splash/
DOverrideGraphics2D.java294 …public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2,… in drawImage() argument
296 return graphics.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, bgcolor, observer); in drawImage()
299 …public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2,… in drawImage() argument
301 return graphics.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer); in drawImage()
/external/opencv/cvaux/src/
Ddecomppoly.cpp153 int dx1, dy1, dx2, dy2;
195 dy1 = y2 - y1;
198 if( dx1 * dy2 - dx2 * dy1 < 0 ) // convex condition
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
DRotation.java357 double dy1 = v1y - u1.getY(); in Rotation() local
362 Vector3D k = new Vector3D(dy1 * dz2 - dz1 * dy2, in Rotation()
364 dx1 * dy2 - dy1 * dx2); in Rotation()
384 k = new Vector3D(dy1 * dz3 - dz1 * dy3, in Rotation()
386 dx1 * dy3 - dy1 * dx3); in Rotation()
/external/skia/include/core/
DSkPath.h408 void rQuadTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2);
415 void rConicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2,
/external/freetype/src/smooth/
Dftgrays.c1105 TPos dx1, dy1, dx2, dy2; in gray_render_cubic() local
1124 dy1 = arc[1].y - arc[0].y; in gray_render_cubic()
1125 s = FT_ABS( dy * dx1 - dx * dy1 ); in gray_render_cubic()
1141 if ( dx1 * ( dx1 - dx ) + dy1 * ( dy1 - dy ) > 0 || in gray_render_cubic()
/external/pdfium/third_party/freetype/src/smooth/
Dftgrays.c1089 TPos dx1, dy1, dx2, dy2; in gray_render_cubic() local
1108 dy1 = arc[1].y - arc[0].y; in gray_render_cubic()
1109 s = FT_ABS( dy * dx1 - dx * dy1 ); in gray_render_cubic()
1125 if ( dx1 * ( dx1 - dx ) + dy1 * ( dy1 - dy ) > 0 || in gray_render_cubic()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_path.cpp249 FX_FLOAT dy1 = hw * dx / ll; in _UpdateLineEndPoints() local
250 rect.UpdateRect(mx - dx1, my + dy1); in _UpdateLineEndPoints()
251 rect.UpdateRect(mx + dx1, my - dy1); in _UpdateLineEndPoints()
/external/libvncserver/x11vnc/
Dscreen.c4161 int dx0, dy0, dx1, dy1, dm, i, msec = waitms; local
4281 dy1 = nabs(y2 - y1);
4284 if (dx1 > dy1) {
4287 dm = dy1;
4290 if ((dx0 || dy0) && (dx1 || dy1)) {
4299 } else if ((dx1 || dy1) && dm > 40) {
4305 } else if ((dx1 || dy1) && dm > 40) {

12