/external/ImageMagick/Magick++/lib/ |
D | Options.cpp | 787 affine, in transformOrigin() local 788 current=_drawInfo->affine; in transformOrigin() 790 affine.sx=1.0; in transformOrigin() 791 affine.rx=0.0; in transformOrigin() 792 affine.ry=0.0; in transformOrigin() 793 affine.sy=1.0; in transformOrigin() 794 affine.tx=0.0; in transformOrigin() 795 affine.ty=0.0; in transformOrigin() 797 affine.tx=tx_; in transformOrigin() 798 affine.ty=ty_; in transformOrigin() [all …]
|
D | Image.cpp | 1889 oaffine=drawInfo->affine; in annotate() 1893 affine, in annotate() local 1896 affine.sx=1.0; in annotate() 1897 affine.rx=0.0; in annotate() 1898 affine.ry=0.0; in annotate() 1899 affine.sy=1.0; in annotate() 1900 affine.tx=0.0; in annotate() 1901 affine.ty=0.0; in annotate() 1903 current=drawInfo->affine; in annotate() 1904 affine.sx=cos(DegreesToRadians(fmod(degrees_,360.0))); in annotate() [all …]
|
/external/ImageMagick/MagickCore/ |
D | annotate.c | 345 annotate_info->affine.tx=geometry_info.xi-image->page.x; in AnnotateImage() 346 annotate_info->affine.ty=geometry_info.psi-image->page.y; in AnnotateImage() 356 offset.x=annotate_info->affine.tx+i*annotate_info->affine.ry*height; in AnnotateImage() 357 offset.y=annotate_info->affine.ty+i*annotate_info->affine.sy*height; in AnnotateImage() 362 offset.x=(geometry.width == 0 ? -1.0 : 1.0)*annotate_info->affine.tx+i* in AnnotateImage() 363 annotate_info->affine.ry*height+annotate_info->affine.ry* in AnnotateImage() 365 offset.y=(geometry.height == 0 ? -1.0 : 1.0)*annotate_info->affine.ty+i* in AnnotateImage() 366 annotate_info->affine.sy*height+annotate_info->affine.sy* in AnnotateImage() 372 offset.x=(geometry.width == 0 ? -1.0 : 1.0)*annotate_info->affine.tx+ in AnnotateImage() 373 geometry.width/2.0+i*annotate_info->affine.ry*height- in AnnotateImage() [all …]
|
D | draw.c | 264 clone_info->affine=draw_info->affine; in CloneDrawInfo() 969 static SegmentInfo AffineEdge(const Image *image,const AffineMatrix *affine, in AffineEdge() argument 989 z=affine->ry*y+affine->tx; in AffineEdge() 990 if (affine->sx >= DrawEpsilon) in AffineEdge() 992 intercept=(-z/affine->sx); in AffineEdge() 996 intercept=(-z+(double) image->columns)/affine->sx; in AffineEdge() 1002 if (affine->sx < -DrawEpsilon) in AffineEdge() 1004 intercept=(-z+(double) image->columns)/affine->sx; in AffineEdge() 1008 intercept=(-z/affine->sx); in AffineEdge() 1022 z=affine->sy*y+affine->ty; in AffineEdge() [all …]
|
D | gem.c | 1420 MagickExport double ExpandAffine(const AffineMatrix *affine) in ExpandAffine() argument 1422 assert(affine != (const AffineMatrix *) NULL); in ExpandAffine() 1423 return(sqrt(fabs(affine->sx*affine->sy-affine->rx*affine->ry))); in ExpandAffine()
|
D | draw.h | 210 affine; member
|
/external/ImageMagick/coders/ |
D | svg.c | 140 affine; member 269 GetAffineMatrix(&svg_info->affine); in AcquireSVGInfo() 270 svg_info->scale[0]=ExpandAffine(&svg_info->affine); in AcquireSVGInfo() 1314 affine, in SVGStartElement() local 1332 GetAffineMatrix(&affine); in SVGStartElement() 1342 affine.sx=StringToDouble(value,(char **) NULL); in SVGStartElement() 1346 affine.rx=StringToDouble(token,&next_token); in SVGStartElement() 1350 affine.ry=StringToDouble(token,&next_token); in SVGStartElement() 1354 affine.sy=StringToDouble(token,&next_token); in SVGStartElement() 1358 affine.tx=StringToDouble(token,&next_token); in SVGStartElement() [all …]
|
D | msl.c | 606 affine, in MSLStartElement() local 775 current=draw_info->affine; in MSLStartElement() 776 GetAffineMatrix(&affine); in MSLStartElement() 796 draw_info->affine.sx=StringToDouble(p,&p); in MSLStartElement() 799 draw_info->affine.rx=StringToDouble(p,&p); in MSLStartElement() 802 draw_info->affine.ry=StringToDouble(p,&p); in MSLStartElement() 805 draw_info->affine.sy=StringToDouble(p,&p); in MSLStartElement() 808 draw_info->affine.tx=StringToDouble(p,&p); in MSLStartElement() 811 draw_info->affine.ty=StringToDouble(p,&p); in MSLStartElement() 927 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); in MSLStartElement() [all …]
|
D | fpx.c | 986 affine; in WriteFPXImage() local 1042 affine.a11=1.0; in WriteFPXImage() 1043 affine.a12=0.0; in WriteFPXImage() 1044 affine.a13=0.0; in WriteFPXImage() 1045 affine.a14=0.0; in WriteFPXImage() 1046 affine.a21=0.0; in WriteFPXImage() 1047 affine.a22=1.0; in WriteFPXImage() 1048 affine.a23=0.0; in WriteFPXImage() 1049 affine.a24=0.0; in WriteFPXImage() 1050 affine.a31=0.0; in WriteFPXImage() [all …]
|
D | mvg.c | 186 draw_info->affine.sx=image->resolution.x == 0.0 ? 1.0 : image->resolution.x/ in ReadMVGImage() 188 draw_info->affine.sy=image->resolution.y == 0.0 ? 1.0 : image->resolution.y/ in ReadMVGImage() 190 image->columns=(size_t) (draw_info->affine.sx*image->columns); in ReadMVGImage() 191 image->rows=(size_t) (draw_info->affine.sy*image->rows); in ReadMVGImage()
|
/external/libchrome/crypto/ |
D | p224_unittest.cc | 33 uint8_t affine[28 * 2]; member 792 EXPECT_TRUE(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 | 7571 affine, in Mogrify() local 8385 draw_info->affine.sx=(double) SvNV(*(av_fetch(av,0,0))); in Mogrify() 8386 draw_info->affine.rx=(double) SvNV(*(av_fetch(av,1,0))); in Mogrify() 8387 draw_info->affine.ry=(double) SvNV(*(av_fetch(av,2,0))); in Mogrify() 8388 draw_info->affine.sy=(double) SvNV(*(av_fetch(av,3,0))); in Mogrify() 8389 if (fabs(draw_info->affine.sx*draw_info->affine.sy- in Mogrify() 8390 draw_info->affine.rx*draw_info->affine.ry) < MagickEpsilon) in Mogrify() 8398 draw_info->affine.tx=(double) SvNV(*(av_fetch(av,4,0))); in Mogrify() 8399 draw_info->affine.ty=(double) SvNV(*(av_fetch(av,5,0))); in Mogrify() 8408 current=draw_info->affine; in Mogrify() [all …]
|
/external/ImageMagick/PerlMagick/quantum/ |
D | quantum.xs.in | 285 {"encoding", StringReference}, {"affine", ArrayReference}, 316 {"linewidth", RealReference}, {"affine", ArrayReference}, 407 { "AffineTransform", { {"affine", ArrayReference}, 7571 affine, local 8382 "affine matrix must have 4 or 6 elements",PackageName); 8385 draw_info->affine.sx=(double) SvNV(*(av_fetch(av,0,0))); 8386 draw_info->affine.rx=(double) SvNV(*(av_fetch(av,1,0))); 8387 draw_info->affine.ry=(double) SvNV(*(av_fetch(av,2,0))); 8388 draw_info->affine.sy=(double) SvNV(*(av_fetch(av,3,0))); 8389 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/boringssl/src/crypto/fipsmodule/ec/ |
D | p256-x86_64_test.cc | 201 P256_POINT_AFFINE affine; in ExpectPointsEqual() local 202 if (!PointToAffine(&affine, actual)) { in ExpectPointsEqual() 210 if (OPENSSL_memcmp(expected, &affine, sizeof(P256_POINT_AFFINE)) != 0) { in ExpectPointsEqual() 215 << "Actual: (" << FieldElementToString(affine.X) << ", " in ExpectPointsEqual() 216 << FieldElementToString(affine.Y) << ") (" << actual_expr << ")"; in ExpectPointsEqual()
|
/external/skia/src/core/ |
D | SkMatrix.cpp | 779 void SkMatrix::SetAffineIdentity(SkScalar affine[6]) { in SetAffineIdentity() 780 affine[kAScaleX] = 1; in SetAffineIdentity() 781 affine[kASkewY] = 0; in SetAffineIdentity() 782 affine[kASkewX] = 0; in SetAffineIdentity() 783 affine[kAScaleY] = 1; in SetAffineIdentity() 784 affine[kATransX] = 0; in SetAffineIdentity() 785 affine[kATransY] = 0; in SetAffineIdentity() 788 bool SkMatrix::asAffine(SkScalar affine[6]) const { in asAffine() 792 if (affine) { in asAffine() 793 affine[kAScaleX] = this->fMat[kMScaleX]; in asAffine() [all …]
|
/external/skia/tools/lua/ |
D | bitmap_statistics.lua | 34 elseif matrixType.affine then
|
/external/swiftshader/third_party/LLVM/test/Transforms/IndVarSimplify/ |
D | complex-scev.ll | 2 ; a simple affine IV. Make sure that indvars eliminates it.
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | lsr-nonaffine.ll | 3 ; LSR should leave non-affine expressions alone because it currently
|
/external/llvm/test/CodeGen/X86/ |
D | lsr-nonaffine.ll | 3 ; LSR should leave non-affine expressions alone because it currently
|
/external/eigen/Eigen/src/Geometry/ |
D | Transform.h | 405 …EIGEN_DEVICE_FUNC inline ConstAffinePart affine() const { return take_affine_part::run(m_matrix); } 407 EIGEN_DEVICE_FUNC inline AffinePart affine() { return take_affine_part::run(m_matrix); } 875 affine().noalias() = (other.asDiagonal() * affine()); 916 affine() += other * m_matrix.row(Dim); 1274 transform->affine() = other; 1340 TopLeftLhs(res, 0, 0, Dim, other.cols()).noalias() = T.affine() * other; 1436 res.affine().noalias() = other * tr.matrix();
|
/external/eigen/doc/ |
D | TutorialGeometry.dox | 5 …Module "geometry module" to deal with 2D and 3D rotations and projective or affine transformations. 11 …- Projective or affine transformation matrices: see the Transform class. These are really matrices. 75 designed to simplify the creation/initialization of linear (Matrix) and affine (Transform) 114 Generic affine transformations are represented by the Transform class which internaly
|
/external/skia/include/core/ |
D | SkMatrix.h | 410 static void SetAffineIdentity(SkScalar affine[6]); 417 bool SK_WARN_UNUSED_RESULT asAffine(SkScalar affine[6]) const; 422 void setAffine(const SkScalar affine[6]);
|
/external/skia/tests/ |
D | Matrix44Test.cpp | 393 SkMatrix44 affine(SkMatrix44::kUninitialized_Constructor); in test_invert() local 394 affine.setRotateDegreesAbout(0, 0, 1, 90); in test_invert() 395 affine.preScale(10, 20, 100); in test_invert() 396 affine.preTranslate(2, 3, 4); in test_invert() 397 affine.invert(&inverse); in test_invert()
|
/external/llvm/test/Analysis/LoopAccessAnalysis/ |
D | wrapping-pointer-versioning.ll | 17 ; affine AddRecExprs. However, we can turn them into AddRecExprs 20 ; Once we have an affine expression we need to add an additional NUSW 110 ; (and implictly not affine). However, we are able to make assumptions 111 ; that will turn the expression into an affine one and continue the 114 ; Once we have an affine expression we need to add an additional NUSW
|