Home
last modified time | relevance | path

Searched refs:dy1 (Results 1 – 25 of 43) 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/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()
D_cvgeom.h55 int icvIntersectLines( double x1, double dx1, double y1, double dy1,
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()
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()
/external/qemu/hw/input/
Dps2.c285 int dx1, dy1, dz1; in ps2_mouse_send_packet() local
288 dy1 = s->mouse_dy; in ps2_mouse_send_packet()
295 if (dy1 > 127) in ps2_mouse_send_packet()
296 dy1 = 127; in ps2_mouse_send_packet()
297 else if (dy1 < -127) in ps2_mouse_send_packet()
298 dy1 = -127; in ps2_mouse_send_packet()
299 b = 0x08 | ((dx1 < 0) << 4) | ((dy1 < 0) << 5) | (s->mouse_buttons & 0x07); in ps2_mouse_send_packet()
302 ps2_queue(&s->common, dy1 & 0xff); in ps2_mouse_send_packet()
326 s->mouse_dy -= dy1; in ps2_mouse_send_packet()
/external/chromium_org/third_party/libyuv/util/
Dssim.cc139 const int dy1 = y * stride; in GetSSIMFullKernel() local
155 const int ul1 = org[-dy1 - x]; in GetSSIMFullKernel()
156 const int ur1 = org[-dy1 + x]; in GetSSIMFullKernel()
157 const int ll1 = org[dy1 - x]; in GetSSIMFullKernel()
158 const int lr1 = org[dy1 + x]; in GetSSIMFullKernel()
183 const int u1 = org[-dy1]; in GetSSIMFullKernel()
184 const int d1 = org[dy1]; in GetSSIMFullKernel()
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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()
/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()
/external/mesa3d/include/VG/
Dvgu.h112 VGfloat dx1, VGfloat dy1,
118 VGfloat dx1, VGfloat dy1,
/external/chromium_org/third_party/mesa/src/include/VG/
Dvgu.h112 VGfloat dx1, VGfloat dy1,
118 VGfloat dx1, VGfloat dy1,
/external/chromium_org/content/renderer/pepper/
Dpepper_graphics_2d_host_unittest.cc113 int dy1; in TEST_F() member
155 gfx::Point delta(tests[i].dx1, tests[i].dy1); in TEST_F()
/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/skia/src/pathops/
DSkPathOpsLine.h37 static bool NearRay(double dx1, double dy1, double dx2, double dy2);
/external/chromium_org/third_party/skia/src/pathops/
DSkPathOpsLine.h37 static bool NearRay(double dx1, double dy1, double dx2, double dy2);
/external/opencv/cvaux/src/
Ddecomppoly.cpp153 int dx1, dy1, dx2, dy2;
195 dy1 = y2 - y1;
198 if( dx1 * dy2 - dx2 * dy1 < 0 ) // convex condition

12