/external/libchrome/crypto/ |
H A D | p224_unittest.cc | 29 // |scalar| is a big-endian scalar and |affine| is the external representation 33 uint8_t affine[28 * 2]; member in struct:crypto::TestVector 792 EXPECT_TRUE(memcmp(external.data(), kNISTTestVectors[i].affine, 801 reinterpret_cast<const char *>(kNISTTestVectors[10].affine), 56))); 803 reinterpret_cast<const char *>(kNISTTestVectors[11].affine), 56)));
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
H A D | p256-x86_64_test.cc | 201 P256_POINT_AFFINE affine; local 202 if (!PointToAffine(&affine, actual)) { 204 << "Could not convert " << actual_expr << " to affine: (" 210 if (OPENSSL_memcmp(expected, &affine, sizeof(P256_POINT_AFFINE)) != 0) { 214 << "; affine)\n" 215 << "Actual: (" << FieldElementToString(affine.X) << ", " 216 << FieldElementToString(affine.Y) << ") (" << actual_expr << ")";
|
/external/ImageMagick/coders/ |
H A D | fpx.c | 411 Read FPX image tile (with or without viewing affine).. 992 affine; 1048 affine.a11=1.0; 1049 affine.a12=0.0; 1050 affine.a13=0.0; 1051 affine.a14=0.0; 1052 affine.a21=0.0; 1053 affine.a22=1.0; 1054 affine.a23=0.0; 1055 affine 986 affine; local [all...] |
H A D | msl.c | 612 affine, 781 current=draw_info->affine; 782 GetAffineMatrix(&affine); 796 if (LocaleCompare(keyword,"affine") == 0) 802 draw_info->affine.sx=StringToDouble(p,&p); 805 draw_info->affine.rx=StringToDouble(p,&p); 808 draw_info->affine.ry=StringToDouble(p,&p); 811 draw_info->affine.sy=StringToDouble(p,&p); 814 draw_info->affine.tx=StringToDouble(p,&p); 817 draw_info->affine 606 affine, local [all...] |
H A D | svg.c | 142 affine; 273 GetAffineMatrix(&svg_info->affine); 274 svg_info->scale[0]=ExpandAffine(&svg_info->affine); 1318 affine, 1336 GetAffineMatrix(&affine); 1346 affine.sx=StringToDouble(value,(char **) NULL); 1350 affine.rx=StringToDouble(token,&next_token); 1354 affine.ry=StringToDouble(token,&next_token); 1358 affine.sy=StringToDouble(token,&next_token); 1362 affine 140 affine; member in struct:_SVGInfo 1314 affine, local 1932 affine, local 3393 AffineToTransform(Image *image,AffineMatrix *affine) argument 3623 affine; local [all...] |
/external/ImageMagick/MagickCore/ |
H A D | annotate.c | 351 annotate_info->affine.tx=geometry_info.xi-image->page.x; 352 annotate_info->affine.ty=geometry_info.psi-image->page.y; 362 offset.x=annotate_info->affine.tx+i*annotate_info->affine.ry*height; 363 offset.y=annotate_info->affine.ty+i*annotate_info->affine.sy*height; 368 offset.x=(geometry.width == 0 ? -1.0 : 1.0)*annotate_info->affine.tx+i* 369 annotate_info->affine.ry*height+annotate_info->affine.ry* 371 offset.y=(geometry.height == 0 ? -1.0 : 1.0)*annotate_info->affine 1162 affine; local 1178 affine; local 1193 affine; local 1209 affine; local 1270 affine; local [all...] |
H A D | gem.c | 1424 % ExpandAffine() computes the affine's expansion factor, i.e. the square root 1425 % of the factor by which the affine transform affects area. In an affine 1431 % double ExpandAffine(const AffineMatrix *affine) 1435 % o expansion: ExpandAffine returns the affine's expansion factor. 1437 % o affine: A pointer the affine transform of type AffineMatrix. 1440 MagickExport double ExpandAffine(const AffineMatrix *affine) 1442 assert(affine != (const AffineMatrix *) NULL); 1443 return(sqrt(fabs(affine 1420 ExpandAffine(const AffineMatrix *affine) argument [all...] |
H A D | distort.c | 82 static inline void AffineArgsToCoefficients(double *affine) 86 tmp[0]=affine[1]; tmp[1]=affine[2]; tmp[2]=affine[3]; tmp[3]=affine[4]; 87 affine[3]=tmp[0]; affine[1]=tmp[1]; affine[4]=tmp[2]; affine[2]=tmp[3]; 133 * affine 80 AffineArgsToCoefficients(double *affine) argument [all...] |
H A D | draw.h | 210 affine; member in struct:_DrawInfo
|
H A D | draw.c | 270 clone_info->affine=draw_info->affine; 962 % dictated by the affine transform. 967 % const AffineMatrix *affine,ExceptionInfo *exception) 975 % o affine: the affine transform. 981 static SegmentInfo AffineEdge(const Image *image,const AffineMatrix *affine, 1001 z=affine->ry*y+affine->tx; 1002 if (affine 969 AffineEdge(const Image *image,const AffineMatrix *affine, const double y,const SegmentInfo *edge) argument 1055 InverseAffineMatrix(const AffineMatrix *affine) argument 1076 DrawAffineImage(Image *image, const Image *source,const AffineMatrix *affine,ExceptionInfo *exception) argument 1677 affine, local 4573 affine; local [all...] |
/external/skia/tests/ |
H A D | GradientTest.cpp | 32 const SkScalar affine[] = { local 36 matrix.setAffine(affine);
|
H A D | MatrixTest.cpp | 912 SkScalar affine[6]; local 913 REPORTER_ASSERT(reporter, mat.asAffine(affine)); 915 #define affineEqual(e) affine[SkMatrix::kA##e] == mat.get(SkMatrix::kM##e) 925 REPORTER_ASSERT(reporter, !mat.asAffine(affine));
|
/external/ImageMagick/Magick++/lib/ |
H A D | Options.cpp | 787 affine, local 788 current=_drawInfo->affine; 790 affine.sx=1.0; 791 affine.rx=0.0; 792 affine.ry=0.0; 793 affine.sy=1.0; 794 affine.tx=0.0; 795 affine.ty=0.0; 797 affine.tx=tx_; 798 affine 821 affine, local 847 affine, local 871 affine, local 896 affine, local [all...] |
H A D | Image.cpp | 1889 oaffine=drawInfo->affine; 1893 affine, local 1896 affine.sx=1.0; 1897 affine.rx=0.0; 1898 affine.ry=0.0; 1899 affine.sy=1.0; 1900 affine.tx=0.0; 1901 affine.ty=0.0; 1903 current=drawInfo->affine; 1904 affine [all...] |
/external/eigen/Eigen/src/Geometry/ |
H A D | Transform.h | 110 * Therefore, an affine transformation matrix M is shaped like this: 179 * transformation of non homogeneous vectors by an affine transformation. In 226 /** type of read/write reference to the affine part of the transformation */ 230 /** type of read reference to the affine part of the transformation */ 404 /** \returns a read-only expression of the Dim x HDim affine part of the transformation */ 405 EIGEN_DEVICE_FUNC inline ConstAffinePart affine() const { return take_affine_part::run(m_matrix); } function in class:Eigen::Transform 406 /** \returns a writable expression of the Dim x HDim affine part of the transformation */ 407 EIGEN_DEVICE_FUNC inline AffinePart affine() { return take_affine_part::run(m_matrix); } function in class:Eigen::Transform 421 * Moreover, if \c *this represents an affine transformation (i.e., Mode!=Projective), then \a other can also be: 427 * If you want to interpret \a other as a linear or affine transformatio [all...] |
/external/skia/src/pdf/ |
H A D | SkPDFGradientShader.cpp | 542 // Finds affine and persp such that in = affine * persp. 544 static bool split_perspective(const SkMatrix in, SkMatrix* affine, argument 573 affine->setAll(sx - p0 * tx / p2, kx - p1 * tx / p2, tx / p2,
|
/external/skia/src/core/ |
H A D | SkMatrix.cpp | 138 // along with affine. 143 // For rectStaysRect, in the affine case, we only need check that 156 // Only test for scale explicitly if not affine, since affine sets the 162 // Not affine, therefore we already know secondary diagonal is 381 // TODO: The persp/affine preconditions are in place to keep the mask consistent with 779 void SkMatrix::SetAffineIdentity(SkScalar affine[6]) { argument 780 affine[kAScaleX] = 1; 781 affine[kASkewY] = 0; 782 affine[kASkew [all...] |
/external/ImageMagick/MagickWand/ |
H A D | drawing-wand.c | 327 static void AdjustAffine(DrawingWand *wand,const AffineMatrix *affine) 333 if ((affine->sx != 1.0) || (affine->rx != 0.0) || (affine->ry != 0.0) || 334 (affine->sy != 1.0) || (affine->tx != 0.0) || (affine->ty != 0.0)) 339 current=CurrentContext->affine; 340 CurrentContext->affine.sx=affine 323 AdjustAffine(DrawingWand *wand,const AffineMatrix *affine) argument 613 DrawAffine(DrawingWand *wand,const AffineMatrix *affine) argument 4631 affine; local [all...] |
/external/skia/src/xps/ |
H A D | SkXPSDevice.cpp | 516 SkScalar affine[6]; local 517 if (!matrix.asAffine(affine)) { 522 SkScalarToFLOAT(affine[SkMatrix::kAScaleX]), 523 SkScalarToFLOAT(affine[SkMatrix::kASkewY]), 524 SkScalarToFLOAT(affine[SkMatrix::kASkewX]), 525 SkScalarToFLOAT(affine[SkMatrix::kAScaleY]), 526 SkScalarToFLOAT(affine[SkMatrix::kATransX]), 527 SkScalarToFLOAT(affine[SkMatrix::kATransY]), 904 //TODO: figure out how to fake better if not affine 1040 //simple if affine an [all...] |