Home
last modified time | relevance | path

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

12

/external/pdfium/third_party/agg23/
Dagg_math_stroke.h48 float dx1, float dy1, in stroke_calc_arc() argument
54 float a1 = atan2(dy1, dx1); in stroke_calc_arc()
62 out_vertices.add(coord_type(x + dx1, y + dy1)); in stroke_calc_arc()
95 float dx1, float dy1, in stroke_calc_miter() argument
106 if(calc_intersection(v0.x + dx1, v0.y - dy1, in stroke_calc_miter()
107 v1.x + dx1, v1.y - dy1, in stroke_calc_miter()
119 float y2 = v1.y - dy1; in stroke_calc_miter()
120 if ((((x2 - v0.x) * dy1) - ((v0.y - y2) * dx1) < 0) != in stroke_calc_miter()
121 (((x2 - v2.x) * dy1) - ((v2.y - y2) * dx1) < 0)) { in stroke_calc_miter()
122 out_vertices.add(coord_type(v1.x + dx1, v1.y - dy1)); in stroke_calc_miter()
[all …]
D0000-bug-466.patch8 out_vertices.add(coord_type(x + dx1, y + dy1));
/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.py641 dy1 = args[0]
644 dy1 = 0
647 self.rCurveTo((dxa, dy1), (dxb, dyb), (dxc, 0))
648 dy1 = 0
675 dy1 = dy3 = dy4 = dy6 = 0
677 self.rCurveTo((dx1, dy1), (dx2, dy2), (dx3, dy3))
680 dx1, dy1, dx2, dy2, dx3, dy3, dx4, dy4, dx5, dy5, dx6, dy6, fd = self.popall()
681 self.rCurveTo((dx1, dy1), (dx2, dy2), (dx3, dy3))
684 dx1, dy1, dx2, dy2, dx3, dx4, dx5, dy5, dx6 = self.popall()
686 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/tensorflow/tensorflow/contrib/eager/python/examples/revnet/
Dblocks_test.py136 dy1, dy2 = tf.split(dy, num_or_size_splits=2, axis=1)
151 x=(x1, x2), y=(y1, y2), dy=(dy1, dy2), training=True)
165 dy1, dy2 = tf.split(dy, num_or_size_splits=2, axis=1)
180 x=(x1, x2), y=(y1, y2), dy=(dy1, dy2), training=True)
199 dy1, dy2 = tf.split(dy, num_or_size_splits=2, axis=1)
218 x=(x1, x2), y=(y1, y2), dy=(dy1, dy2), training=True)
239 dy1, dy2 = tf.split(dy, num_or_size_splits=2, axis=1)
255 y=(y1, y2), dy=(dy1, dy2), training=True)
Dblocks.py186 dy1, dy2 = dy
195 dx1 = dy1 + grads_combined[0]
223 dy1, dy2 = dy
231 dz1 = dy1 + grads_combined[0]
/external/libyuv/files/util/
Dssim.cc158 const int dy1 = y * stride; in GetSSIMFullKernel() local
174 const int ul1 = org[-dy1 - x]; in GetSSIMFullKernel()
175 const int ur1 = org[-dy1 + x]; in GetSSIMFullKernel()
176 const int ll1 = org[dy1 - x]; in GetSSIMFullKernel()
177 const int lr1 = org[dy1 + x]; in GetSSIMFullKernel()
202 const int u1 = org[-dy1]; in GetSSIMFullKernel()
203 const int d1 = org[dy1]; in GetSSIMFullKernel()
/external/mesa3d/src/mesa/swrast/
Ds_aatriangle.c197 const GLfloat dy1 = v2[1] - v1[1]; in compute_coveragef() local
203 assert(dx0 * dy1 - dx1 * dy0 >= 0.0); /* area >= 0.0 */ in compute_coveragef()
222 cross = (dx1 * (sy - v1[1]) - dy1 * (sx - v1[0])); in compute_coveragef()
224 cross = dx1 + dy1; in compute_coveragef()
/external/tensorflow/tensorflow/core/ops/
Darray_grad_test.cc78 const Tensor& dy1, int axis) { in UnpackGrad() argument
97 {"dy1:0", dy1}}, in UnpackGrad()
108 Tensor dy1(DT_FLOAT, {2, 3}); in TEST() local
110 test::FillIota<float>(&dy1, 100); in TEST()
111 auto dx = UnpackGrad(x, dy0, dy1, 0); in TEST()
214 const Tensor& dy1) { in SplitGrad() argument
234 {"dy1:0", dy1}}, in SplitGrad()
242 int dim, const Tensor& dy0, const Tensor& dy1) { in SplitVGrad() argument
267 {"dy1:0", dy1}}, in SplitVGrad()
278 Tensor dy1(DT_FLOAT, {2, 2, 5}); in TEST() local
[all …]
/external/skia/src/gpu/mtl/
DGrMtlCopyManager.mm163 float dy1 = 2.f * (dstPoint.fY + h) / dh - 1.f;
166 dy1 = -dy1;
187 {dx1 - dx0, dy1 - dy0, dx0, dy0}, // posXform
/external/skqp/src/gpu/mtl/
DGrMtlCopyManager.mm163 float dy1 = 2.f * (dstPoint.fY + h) / dh - 1.f;
166 dy1 = -dy1;
187 {dx1 - dx0, dy1 - dy0, dx0, dy0}, // posXform
/external/skia/src/gpu/vk/
DGrVkCopyManager.cpp204 float dy1 = 2.f * (dstPoint.fY + h) / dh - 1.f; in copySurfaceAsDraw() local
207 dy1 = -dy1; in copySurfaceAsDraw()
227 float uniData[] = { dx1 - dx0, dy1 - dy0, dx0, dy0, // posXform in copySurfaceAsDraw()
/external/skqp/src/gpu/vk/
DGrVkCopyManager.cpp204 float dy1 = 2.f * (dstPoint.fY + h) / dh - 1.f; in copySurfaceAsDraw() local
207 dy1 = -dy1; in copySurfaceAsDraw()
227 float uniData[] = { dx1 - dx0, dy1 - dy0, dx0, dy0, // posXform in copySurfaceAsDraw()
/external/tensorflow/tensorflow/core/kernels/
Dcrop_and_resize_op_gpu.cu.cc318 float dy1, dy2; in CropAndResizeBackpropBoxesKernel() local
320 dy1 = image_grad_y * (image_height - 1 - y * height_ratio); in CropAndResizeBackpropBoxesKernel()
323 dy1 = image_grad_y * 0.5 * (image_height - 1); in CropAndResizeBackpropBoxesKernel()
336 CudaAtomicAdd(grads_boxes_ptr + b * 4 + 0, dy1); in CropAndResizeBackpropBoxesKernel()
/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/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/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blitter.c333 unsigned dx1, dy1, dx2, dy2; in emit_blit() local
371 dy1 = dbox->y; in emit_blit()
444 OUT_RING(ring, CP_BLIT_3_DST_X1(dx1) | CP_BLIT_3_DST_Y1(dy1)); in emit_blit()
/external/skia/include/core/
DSkPath.h670 SkPath& rQuadTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2);
746 SkPath& rConicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2,
805 SkPath& rCubicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2,
/external/skqp/include/core/
DSkPath.h670 SkPath& rQuadTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2);
746 SkPath& rConicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2,
805 SkPath& rCubicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2,
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPath.java357 protected void rQuadTo(float dx1, float dy1, float dx2, float dy2) { in rQuadTo() argument
362 dy1 += mLastY; in rQuadTo()
365 mPath.quadTo(dx1, dy1, mLastX = dx2, mLastY = dy2); in rQuadTo()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SymbolicGradient.pbtxt41 dL/dy1, dL/dy2, ..., dL/dy_M),
/external/fonttools/Lib/fontTools/pens/
DpointPen.py308 dx1, dy1 = pt[0] - prevPt[0], pt[1] - prevPt[1]
310 a1 = math.atan2(dx1, dy1)
/external/pdfium/core/fxge/
Dcfx_pathdata.cpp53 float dy1 = hw * diff.x / ll; in UpdateLineEndPoints() local
54 rect->UpdateRect(CFX_PointF(mx - dx1, my + dy1)); in UpdateLineEndPoints()
55 rect->UpdateRect(CFX_PointF(mx + dx1, my - dy1)); in UpdateLineEndPoints()
/external/skia/src/compute/ts/
Dtransform_stack.c651 ts_transform_float_t const dy1 = y1 - y2; in ts_transform_stack_push_unit_to_quad() local
653 ts_transform_float_t const wx_den = dx1 * dy2 - dx2 * dy1; in ts_transform_stack_push_unit_to_quad()
659 ts_transform_float_t const w1_num = dx1 * dy3 - dx3 * dy1; in ts_transform_stack_push_unit_to_quad()

12