Searched defs:affine (Results 1 - 24 of 24) sorted by relevance

/external/libchrome/crypto/
H A Dp224_unittest.cc29 // |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_EQ(0, 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 Dp256-x86_64_test.cc200 P256_POINT_AFFINE affine; local
201 if (!PointToAffine(&affine, actual)) {
203 << "Could not convert " << actual_expr << " to affine: ("
209 if (OPENSSL_memcmp(expected, &affine, sizeof(P256_POINT_AFFINE)) != 0) {
213 << "; affine)\n"
214 << "Actual: (" << FieldElementToString(affine.X) << ", "
215 << FieldElementToString(affine.Y) << ") (" << actual_expr << ")";
/external/ImageMagick/coders/
H A Dfpx.c411 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 Dmsl.c612 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 Dsvg.c142 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 Dannotate.c351 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 Dgem.c1424 % 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 Ddistort.c82 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 Ddraw.h210 affine; member in struct:_DrawInfo
H A Ddraw.c270 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 DGradientTest.cpp32 const SkScalar affine[] = { local
36 matrix.setAffine(affine);
H A DMatrixTest.cpp920 SkScalar affine[6]; local
921 REPORTER_ASSERT(reporter, mat.asAffine(affine));
923 #define affineEqual(e) affine[SkMatrix::kA##e] == mat.get(SkMatrix::kM##e)
933 REPORTER_ASSERT(reporter, !mat.asAffine(affine));
/external/skqp/tests/
H A DGradientTest.cpp32 const SkScalar affine[] = { local
36 matrix.setAffine(affine);
H A DMatrixTest.cpp920 SkScalar affine[6]; local
921 REPORTER_ASSERT(reporter, mat.asAffine(affine));
923 #define affineEqual(e) affine[SkMatrix::kA##e] == mat.get(SkMatrix::kM##e)
933 REPORTER_ASSERT(reporter, !mat.asAffine(affine));
/external/ImageMagick/Magick++/lib/
H A DOptions.cpp787 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 DImage.cpp1889 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 DTransform.h110 * 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 DSkPDFGradientShader.cpp542 // 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/skqp/src/pdf/
H A DSkPDFGradientShader.cpp542 // 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 DSkMatrix.cpp140 // along with affine.
145 // For rectStaysRect, in the affine case, we only need check that
158 // Only test for scale explicitly if not affine, since affine sets the
164 // Not affine, therefore we already know secondary diagonal is
375 // TODO: The persp/affine preconditions are in place to keep the mask consistent with
774 void SkMatrix::SetAffineIdentity(SkScalar affine[6]) { argument
775 affine[kAScaleX] = 1;
776 affine[kASkewY] = 0;
777 affine[kASkew
[all...]
/external/skqp/src/core/
H A DSkMatrix.cpp139 // along with affine.
144 // For rectStaysRect, in the affine case, we only need check that
157 // Only test for scale explicitly if not affine, since affine sets the
163 // Not affine, therefore we already know secondary diagonal is
374 // TODO: The persp/affine preconditions are in place to keep the mask consistent with
773 void SkMatrix::SetAffineIdentity(SkScalar affine[6]) { argument
774 affine[kAScaleX] = 1;
775 affine[kASkewY] = 0;
776 affine[kASkew
[all...]
/external/ImageMagick/MagickWand/
H A Ddrawing-wand.c327 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 DSkXPSDevice.cpp515 SkScalar affine[6]; local
516 if (!matrix.asAffine(affine)) {
521 SkScalarToFLOAT(affine[SkMatrix::kAScaleX]),
522 SkScalarToFLOAT(affine[SkMatrix::kASkewY]),
523 SkScalarToFLOAT(affine[SkMatrix::kASkewX]),
524 SkScalarToFLOAT(affine[SkMatrix::kAScaleY]),
525 SkScalarToFLOAT(affine[SkMatrix::kATransX]),
526 SkScalarToFLOAT(affine[SkMatrix::kATransY]),
903 //TODO: figure out how to fake better if not affine
1039 //simple if affine an
[all...]
/external/skqp/src/xps/
H A DSkXPSDevice.cpp515 SkScalar affine[6]; local
516 if (!matrix.asAffine(affine)) {
521 SkScalarToFLOAT(affine[SkMatrix::kAScaleX]),
522 SkScalarToFLOAT(affine[SkMatrix::kASkewY]),
523 SkScalarToFLOAT(affine[SkMatrix::kASkewX]),
524 SkScalarToFLOAT(affine[SkMatrix::kAScaleY]),
525 SkScalarToFLOAT(affine[SkMatrix::kATransX]),
526 SkScalarToFLOAT(affine[SkMatrix::kATransY]),
903 //TODO: figure out how to fake better if not affine
1039 //simple if affine an
[all...]

Completed in 1932 milliseconds