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

12

/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_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/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
H A DAffine2Test.java134 private static void checkEqual (Matrix3 matrix, Affine2 affine) { argument
135 checkEqual(matrix, new Matrix3().set(affine));
/external/libweave/third_party/chromium/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_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/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
H A DCpuSpriteBatch.java636 private static boolean checkEqual (Matrix4 matrix, Affine2 affine) { argument
640 return (val[Matrix4.M00] == affine.m00 && val[Matrix4.M10] == affine.m10 && val[Matrix4.M01] == affine.m01
641 && val[Matrix4.M11] == affine.m11 && val[Matrix4.M03] == affine.m02 && val[Matrix4.M13] == affine.m12);
/external/libgdx/gdx/src/com/badlogic/gdx/math/
H A DMatrix3.java326 /** Copies the values from the provided affine matrix to this matrix. The last row is set to (0, 0, 1).
327 * @param affine The affine matrix to copy.
329 public Matrix3 set (Affine2 affine) { argument
332 val[M00] = affine.m00;
333 val[M10] = affine.m10;
335 val[M01] = affine.m01;
336 val[M11] = affine.m11;
338 val[M02] = affine.m02;
339 val[M12] = affine
[all...]
H A DMatrix4.java995 /** Sets this matrix to the given affine matrix. The values are mapped as follows:
1003 * @param affine the affine matrix
1005 public Matrix4 set (Affine2 affine) { argument
1006 val[M00] = affine.m00;
1007 val[M10] = affine.m10;
1010 val[M01] = affine.m01;
1011 val[M11] = affine.m11;
1018 val[M03] = affine.m02;
1019 val[M13] = affine
1036 setAsAffine(Affine2 affine) argument
[all...]
/external/opencv3/modules/core/include/opencv2/core/
H A Daffine.hpp71 //! Augmented affine matrix
72 Affine3(const Mat4& affine);
119 //! a.concatenate(affine) is equivalent to affine * a;
120 Affine3 concatenate(const Affine3& affine) const;
129 Affine3(const Eigen::Transform<T, 3, Eigen::Affine, (Eigen::RowMajor)>& affine);
130 Affine3(const Eigen::Transform<T, 3, Eigen::Affine>& affine);
140 V operator*(const Affine3<T>& affine, const V& vector);
145 static Vec3f operator*(const Affine3f& affine, const Vec3f& vector);
146 static Vec3d operator*(const Affine3d& affine, cons
180 Affine3(const Mat4& affine) argument
[all...]
/external/opencv3/modules/shape/src/
H A Daff_trans.cpp219 Mat affine; local
220 estimateRigidTransform(shape1, shape2, fullAffine).convertTo(affine, CV_32F);
222 if (affine.empty())
223 affine=_localAffineEstimate(shape1, shape2, fullAffine); //In case there is not good solution, just give a LLS based one
225 affineMat = affine;
H A Dtps_trans.cpp124 float affine=a1+ax*point.x+ay*point.y; local
134 out.x=affine+nonrigid;
138 out.y=affine+nonrigid;
/external/skia/tests/
H A DGradientTest.cpp30 const SkScalar affine[] = { local
34 matrix.setAffine(affine);
H A DMatrixTest.cpp906 SkScalar affine[6]; local
907 REPORTER_ASSERT(reporter, mat.asAffine(affine));
909 #define affineEqual(e) affine[SkMatrix::kA##e] == mat.get(SkMatrix::kM##e)
919 REPORTER_ASSERT(reporter, !mat.asAffine(affine));
/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/opencv3/modules/viz/src/
H A Dvizcore.cpp280 Affine3d affine; local
281 bool ok = readPose(cv::format(files_format.c_str(), i), affine, tag);
285 traj.push_back(affine);
303 Affine3d affine; local
306 pose.copyTo(affine.matrix);
307 writePose(cv::format(files_format.c_str(), index), affine, tag); local
/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/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...]
/external/eigen/Eigen/src/Geometry/
H A DTransform.h93 * Therefore, an affine transformation matrix M is shaped like this:
156 * transformation of non homogeneous vectors by an affine transformation. In
202 /** type of read/write reference to the affine part of the transformation */
206 /** type of read reference to the affine part of the transformation */
377 /** \returns a read-only expression of the Dim x HDim affine part of the transformation */
378 inline ConstAffinePart affine() const { return take_affine_part::run(m_matrix); } function in class:Eigen::Transform
379 /** \returns a writable expression of the Dim x HDim affine part of the transformation */
380 inline AffinePart affine() { return take_affine_part::run(m_matrix); } function in class:Eigen::Transform
395 * \li an affine transformation matrix of size Dim x Dim+1,
408 * \li an affine transformatio
[all...]
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/math/
H A DMatrix4.java1078 /** Sets this matrix to the given affine matrix. The values are mapped as follows:
1086 * @param affine the affine matrix
1088 public Matrix4 set (Affine2 affine) { argument
1089 val[M00] = affine.m00;
1090 val[M10] = affine.m10;
1093 val[M01] = affine.m01;
1094 val[M11] = affine.m11;
1101 val[M03] = affine.m02;
1102 val[M13] = affine
1119 setAsAffine(Affine2 affine) argument
[all...]
/external/skia/src/pdf/
H A DSkPDFShader.cpp643 // Finds affine and persp such that in = affine * persp.
645 static bool split_perspective(const SkMatrix in, SkMatrix* affine, argument
674 affine->setAll(sx - p0 * tx / p2, kx - p1 * tx / p2, tx / p2,
/external/opencv3/modules/calib3d/src/
H A Dfisheye.cpp62 void cv::fisheye::projectPoints(InputArray objectPoints, OutputArray imagePoints, const Affine3d& affine, argument
65 projectPoints(objectPoints, imagePoints, affine.rvec(), affine.translation(), K, D, alpha, jacobian);

Completed in 1013 milliseconds

12