/external/ImageMagick/Magick++/lib/ |
D | Options.cpp | 794 affine, in transformOrigin() local 795 current=_drawInfo->affine; in transformOrigin() 797 affine.sx=1.0; in transformOrigin() 798 affine.rx=0.0; in transformOrigin() 799 affine.ry=0.0; in transformOrigin() 800 affine.sy=1.0; in transformOrigin() 801 affine.tx=tx_; in transformOrigin() 802 affine.ty=ty_; in transformOrigin() 804 _drawInfo->affine.sx=current.sx*affine.sx+current.ry*affine.rx; in transformOrigin() 805 _drawInfo->affine.rx=current.rx*affine.sx+current.sy*affine.rx; in transformOrigin() [all …]
|
D | Image.cpp | 1894 oaffine=drawInfo->affine; in annotate() 1898 affine, in annotate() local 1901 affine.sx=1.0; in annotate() 1902 affine.rx=0.0; in annotate() 1903 affine.ry=0.0; in annotate() 1904 affine.sy=1.0; in annotate() 1905 affine.tx=0.0; in annotate() 1906 affine.ty=0.0; in annotate() 1908 current=drawInfo->affine; in annotate() 1909 affine.sx=cos(DegreesToRadians(fmod(degrees_,360.0))); in annotate() [all …]
|
/external/ImageMagick/MagickCore/ |
D | annotate.c | 346 annotate_info->affine.tx=geometry_info.xi-image->page.x; in AnnotateImage() 347 annotate_info->affine.ty=geometry_info.psi-image->page.y; in AnnotateImage() 357 offset.x=annotate_info->affine.tx+i*annotate_info->affine.ry*height; in AnnotateImage() 358 offset.y=annotate_info->affine.ty+i*annotate_info->affine.sy*height; in AnnotateImage() 363 offset.x=(geometry.width == 0 ? -1.0 : 1.0)*annotate_info->affine.tx+i* in AnnotateImage() 364 annotate_info->affine.ry*height+annotate_info->affine.ry* in AnnotateImage() 366 offset.y=(geometry.height == 0 ? -1.0 : 1.0)*annotate_info->affine.ty+i* in AnnotateImage() 367 annotate_info->affine.sy*height+annotate_info->affine.sy* in AnnotateImage() 373 offset.x=(geometry.width == 0 ? -1.0 : 1.0)*annotate_info->affine.tx+ in AnnotateImage() 374 geometry.width/2.0+i*annotate_info->affine.ry*height- in AnnotateImage() [all …]
|
D | draw.c | 289 clone_info->affine=draw_info->affine; in CloneDrawInfo() 1028 static SegmentInfo AffineEdge(const Image *image,const AffineMatrix *affine, in AffineEdge() argument 1048 z=affine->ry*y+affine->tx; in AffineEdge() 1049 if (affine->sx >= MagickEpsilon) in AffineEdge() 1051 intercept=(-z/affine->sx); in AffineEdge() 1055 intercept=(-z+(double) image->columns)/affine->sx; in AffineEdge() 1061 if (affine->sx < -MagickEpsilon) in AffineEdge() 1063 intercept=(-z+(double) image->columns)/affine->sx; in AffineEdge() 1067 intercept=(-z/affine->sx); in AffineEdge() 1081 z=affine->sy*y+affine->ty; in AffineEdge() [all …]
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/ |
D | affine_linear_operator_test.py | 32 affine = AffineLinearOperator( 38 self.assertEqual(affine.name, "affine_linear_operator") 39 self.assertAllClose(y, affine.forward(x).eval()) 40 self.assertAllClose(x, affine.inverse(y).eval()) 41 self.assertAllClose(ildj, affine.inverse_log_det_jacobian( 44 -affine.inverse_log_det_jacobian(y, event_ndims=2).eval(), 45 affine.forward_log_det_jacobian(x, event_ndims=2).eval()) 53 affine = AffineLinearOperator( 60 self.assertEqual(affine.name, "affine_linear_operator") 61 self.assertAllClose(y, affine.forward(x).eval()) [all …]
|
/external/ImageMagick/coders/ |
D | svg.c | 146 affine; member 368 GetAffineMatrix(&svg_info->affine); in AcquireSVGInfo() 369 svg_info->scale[0]=ExpandAffine(&svg_info->affine); in AcquireSVGInfo() 1847 affine, in SVGStartElement() local 1865 GetAffineMatrix(&affine); in SVGStartElement() 1875 affine.sx=StringToDouble(value,(char **) NULL); in SVGStartElement() 1879 affine.rx=StringToDouble(token,&next_token); in SVGStartElement() 1883 affine.ry=StringToDouble(token,&next_token); in SVGStartElement() 1887 affine.sy=StringToDouble(token,&next_token); in SVGStartElement() 1891 affine.tx=StringToDouble(token,&next_token); in SVGStartElement() [all …]
|
D | msl.c | 608 affine, in MSLStartElement() local 778 current=draw_info->affine; in MSLStartElement() 779 GetAffineMatrix(&affine); in MSLStartElement() 800 draw_info->affine.sx=StringToDouble(p,&p); in MSLStartElement() 803 draw_info->affine.rx=StringToDouble(p,&p); in MSLStartElement() 806 draw_info->affine.ry=StringToDouble(p,&p); in MSLStartElement() 809 draw_info->affine.sy=StringToDouble(p,&p); in MSLStartElement() 812 draw_info->affine.tx=StringToDouble(p,&p); in MSLStartElement() 815 draw_info->affine.ty=StringToDouble(p,&p); in MSLStartElement() 931 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); in MSLStartElement() [all …]
|
D | fpx.c | 985 affine; in WriteFPXImage() local 1041 affine.a11=1.0; in WriteFPXImage() 1042 affine.a12=0.0; in WriteFPXImage() 1043 affine.a13=0.0; in WriteFPXImage() 1044 affine.a14=0.0; in WriteFPXImage() 1045 affine.a21=0.0; in WriteFPXImage() 1046 affine.a22=1.0; in WriteFPXImage() 1047 affine.a23=0.0; in WriteFPXImage() 1048 affine.a24=0.0; in WriteFPXImage() 1049 affine.a31=0.0; in WriteFPXImage() [all …]
|
D | mvg.c | 190 draw_info->affine.sx=image->resolution.x == 0.0 ? 1.0 : image->resolution.x/ in ReadMVGImage() 192 draw_info->affine.sy=image->resolution.y == 0.0 ? 1.0 : image->resolution.y/ in ReadMVGImage() 194 image->columns=(size_t) (draw_info->affine.sx*image->columns); in ReadMVGImage() 195 image->rows=(size_t) (draw_info->affine.sy*image->rows); in ReadMVGImage()
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | make_p256-x86_64-tests.go | 36 affine coordinates = iota const 170 printTestCase(zero, zero, affine, zero, zero, affine) 177 printTestCase(gx, gy, affine, zero, zero, affine) 180 printTestCase(gx, gy, affine, zero, zero, jacobian) 184 printTestCase(gx, gy, affine, gx, minusGy, affine) 203 printTestCase(ax, ay, affine, bx, by, affine) 209 printTestCase(ax, ay, affine, ax, ay, affine)
|
D | p256-x86_64_test.cc | 278 P256_POINT_AFFINE affine; in ExpectPointsEqual() local 279 if (!PointToAffine(&affine, actual)) { in ExpectPointsEqual() 287 if (OPENSSL_memcmp(expected, &affine, sizeof(P256_POINT_AFFINE)) != 0) { in ExpectPointsEqual() 292 << "Actual: (" << FieldElementToString(affine.X) << ", " in ExpectPointsEqual() 293 << FieldElementToString(affine.Y) << ") (" << actual_expr << ")"; in ExpectPointsEqual()
|
/external/tensorflow/tensorflow/contrib/distributions/python/ops/ |
D | vector_student_t.py | 209 affine = bijectors.Affine( 219 loc=array_ops.zeros([], dtype=affine.dtype), 220 scale=array_ops.ones([], dtype=affine.dtype)) 223 affine.shift, affine.scale)) 230 bijector=affine,
|
D | sinh_arcsinh.py | 189 affine = bijectors.AffineScalar( 194 bijector = bijectors.Chain([affine, f])
|
D | vector_sinh_arcsinh_diag.py | 238 affine = bijectors.Affine( 241 bijector = bijectors.Chain([affine, f])
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
D | autoregressive_test.py | 24 from tensorflow.contrib.distributions.python.ops.bijectors.affine import Affine 59 affine = Affine(scale_tril=self._random_scale_tril(event_size)) 61 self._normal_fn(affine), sample0, validate_args=True) 73 affine = Affine(scale_tril=self._random_scale_tril(event_size)) 75 self._normal_fn(affine), sample0, validate_args=True) 78 shift_and_log_scale_fn=lambda x: [None, affine.forward(x)],
|
/external/libchrome/crypto/ |
D | p224_unittest.cc | 33 uint8_t affine[28 * 2]; member 792 EXPECT_EQ(0, memcmp(external.data(), kNISTTestVectors[i].affine, in TEST() 801 reinterpret_cast<const char *>(kNISTTestVectors[10].affine), 56))); in TEST() 803 reinterpret_cast<const char *>(kNISTTestVectors[11].affine), 56))); in TEST()
|
/external/ImageMagick/PerlMagick/ |
D | Magick.xs | 7654 affine, in Mogrify() local 8466 draw_info->affine.sx=(double) SvNV(*(av_fetch(av,0,0))); in Mogrify() 8467 draw_info->affine.rx=(double) SvNV(*(av_fetch(av,1,0))); in Mogrify() 8468 draw_info->affine.ry=(double) SvNV(*(av_fetch(av,2,0))); in Mogrify() 8469 draw_info->affine.sy=(double) SvNV(*(av_fetch(av,3,0))); in Mogrify() 8470 if (fabs(draw_info->affine.sx*draw_info->affine.sy- in Mogrify() 8471 draw_info->affine.rx*draw_info->affine.ry) < MagickEpsilon) in Mogrify() 8479 draw_info->affine.tx=(double) SvNV(*(av_fetch(av,4,0))); in Mogrify() 8480 draw_info->affine.ty=(double) SvNV(*(av_fetch(av,5,0))); in Mogrify() 8489 current=draw_info->affine; in Mogrify() [all …]
|
/external/ltp/testcases/kernel/sched/eas/ |
D | sched_prio_3_fifo.c | 122 affine(0); in rt_high_fn_b() 134 affine(0); in rt_high_fn_a() 154 affine(0); in rt_med_fn_b() 170 affine(0); in rt_med_fn_a() 190 affine(0); in rt_low_fn_b() 221 affine(0); in rt_low_fn_a()
|
D | sched_prio_3_rr.c | 40 affine(0); in rt_b_fn() 49 affine(0); in rt_c_fn() 58 affine(0); in rt_a_fn()
|
D | sched_latency_rt.c | 35 affine(0); in rt_fn() 43 affine(0); in cfs_fn()
|
D | sugov_stale_util.c | 52 affine(test_cpu - 1); in event_fn() 71 affine(test_cpu); in burn_fn()
|
/external/ImageMagick/PerlMagick/quantum/ |
D | quantum.xs.in | 286 {"encoding", StringReference}, {"affine", ArrayReference}, 318 {"linewidth", RealReference}, {"affine", ArrayReference}, 409 { "AffineTransform", { {"affine", ArrayReference}, 7653 affine, local 8464 "affine matrix must have 4 or 6 elements",PackageName); 8467 draw_info->affine.sx=(double) SvNV(*(av_fetch(av,0,0))); 8468 draw_info->affine.rx=(double) SvNV(*(av_fetch(av,1,0))); 8469 draw_info->affine.ry=(double) SvNV(*(av_fetch(av,2,0))); 8470 draw_info->affine.sy=(double) SvNV(*(av_fetch(av,3,0))); 8471 if (fabs(draw_info->affine.sx*draw_info->affine.sy- [all …]
|
/external/ImageMagick/MagickWand/ |
D | drawing-wand.c | 323 static void AdjustAffine(DrawingWand *wand,const AffineMatrix *affine) in AdjustAffine() argument 329 if ((affine->sx != 1.0) || (affine->rx != 0.0) || (affine->ry != 0.0) || in AdjustAffine() 330 (affine->sy != 1.0) || (affine->tx != 0.0) || (affine->ty != 0.0)) in AdjustAffine() 335 current=CurrentContext->affine; in AdjustAffine() 336 CurrentContext->affine.sx=affine->sx*current.sx+affine->ry*current.rx; in AdjustAffine() 337 CurrentContext->affine.rx=affine->rx*current.sx+affine->sy*current.rx; in AdjustAffine() 338 CurrentContext->affine.ry=affine->sx*current.ry+affine->ry*current.sy; in AdjustAffine() 339 CurrentContext->affine.sy=affine->rx*current.ry+affine->sy*current.sy; in AdjustAffine() 340 CurrentContext->affine.tx=affine->sx*current.tx+affine->ry*current.ty+ in AdjustAffine() 341 affine->tx; in AdjustAffine() [all …]
|
/external/skia/src/core/ |
D | SkMatrix.cpp | 775 void SkMatrix::SetAffineIdentity(SkScalar affine[6]) { in SetAffineIdentity() 776 affine[kAScaleX] = 1; in SetAffineIdentity() 777 affine[kASkewY] = 0; in SetAffineIdentity() 778 affine[kASkewX] = 0; in SetAffineIdentity() 779 affine[kAScaleY] = 1; in SetAffineIdentity() 780 affine[kATransX] = 0; in SetAffineIdentity() 781 affine[kATransY] = 0; in SetAffineIdentity() 784 bool SkMatrix::asAffine(SkScalar affine[6]) const { in asAffine() 788 if (affine) { in asAffine() 789 affine[kAScaleX] = this->fMat[kMScaleX]; in asAffine() [all …]
|
/external/skqp/src/core/ |
D | SkMatrix.cpp | 775 void SkMatrix::SetAffineIdentity(SkScalar affine[6]) { in SetAffineIdentity() 776 affine[kAScaleX] = 1; in SetAffineIdentity() 777 affine[kASkewY] = 0; in SetAffineIdentity() 778 affine[kASkewX] = 0; in SetAffineIdentity() 779 affine[kAScaleY] = 1; in SetAffineIdentity() 780 affine[kATransX] = 0; in SetAffineIdentity() 781 affine[kATransY] = 0; in SetAffineIdentity() 784 bool SkMatrix::asAffine(SkScalar affine[6]) const { in asAffine() 788 if (affine) { in asAffine() 789 affine[kAScaleX] = this->fMat[kMScaleX]; in asAffine() [all …]
|