Searched refs:affine (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/third_party/skia/tools/lua/
H A Dbitmap_statistics.lua34 elseif matrixType.affine then
55 ", affine = ", num_affine_bitmaps,
/external/skia/tools/lua/
H A Dbitmap_statistics.lua34 elseif matrixType.affine then
55 ", affine = ", num_affine_bitmaps,
/external/pixman/pixman/
H A Dpixman-conical-gradient.c66 pixman_bool_t affine = TRUE; local
96 affine =
101 if (affine)
/external/libvpx/libvpx/vp9/common/
H A Dvp9_tapify.py39 affine = [[math.cos(theta),-math.sin(theta)],
45 r,c = numpy.dot(affine,[y-radius, x-radius])
64 r,c = numpy.dot(affine,[y-7.5, x-7.5])
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DGraphicsContext.h382 void concatCTM(const AffineTransform& affine) { concat(affineTransformToSkMatrix(affine)); } argument
383 void setCTM(const AffineTransform& affine) { setMatrix(affineTransformToSkMatrix(affine)); } argument
/external/chromium_org/third_party/skia/src/core/
H A DSkMatrix.cpp95 // along with affine.
100 // For rectStaysRect, in the affine case, we only need check that
113 // Only test for scale explicitly if not affine, since affine sets the
119 // Not affine, therefore we already know secondary diagonal is
740 void SkMatrix::SetAffineIdentity(SkScalar affine[6]) { argument
741 affine[kAScaleX] = 1;
742 affine[kASkewY] = 0;
743 affine[kASkewX] = 0;
744 affine[kAScale
[all...]
/external/skia/src/core/
H A DSkMatrix.cpp95 // along with affine.
100 // For rectStaysRect, in the affine case, we only need check that
113 // Only test for scale explicitly if not affine, since affine sets the
119 // Not affine, therefore we already know secondary diagonal is
746 void SkMatrix::SetAffineIdentity(SkScalar affine[6]) { argument
747 affine[kAScaleX] = 1;
748 affine[kASkewY] = 0;
749 affine[kASkewX] = 0;
750 affine[kAScale
[all...]
/external/chromium_org/third_party/skia/tests/
H A DMatrix44Test.cpp385 SkMatrix44 affine(SkMatrix44::kUninitialized_Constructor);
386 affine.setRotateDegreesAbout(0, 0, 1, 90);
387 affine.preScale(10, 20, 100);
388 affine.preTranslate(2, 3, 4);
389 affine.invert(&inverse);
H A DMatrixTest.cpp819 SkScalar affine[6]; local
820 REPORTER_ASSERT(reporter, mat.asAffine(affine));
822 #define affineEqual(e) affine[SkMatrix::kA##e] == mat.get(SkMatrix::kM##e)
832 REPORTER_ASSERT(reporter, !mat.asAffine(affine));
/external/skia/tests/
H A DMatrix44Test.cpp385 SkMatrix44 affine(SkMatrix44::kUninitialized_Constructor);
386 affine.setRotateDegreesAbout(0, 0, 1, 90);
387 affine.preScale(10, 20, 100);
388 affine.preTranslate(2, 3, 4);
389 affine.invert(&inverse);
H A DMatrixTest.cpp789 SkScalar affine[6]; local
790 REPORTER_ASSERT(reporter, mat.asAffine(affine));
792 #define affineEqual(e) affine[SkMatrix::kA##e] == mat.get(SkMatrix::kM##e)
802 REPORTER_ASSERT(reporter, !mat.asAffine(affine));
/external/chromium_org/third_party/skia/include/core/
H A DSkMatrix.h364 /** Fills the passed array with affine identity values
366 @param affine The array to fill with affine identity values.
369 static void SetAffineIdentity(SkScalar affine[6]);
371 /** Fills the passed array with the affine values in column major order.
374 @param affine The array to fill with affine values. Ignored if NULL.
376 bool asAffine(SkScalar affine[6]) const;
/external/skia/include/core/
H A DSkMatrix.h359 /** Fills the passed array with affine identity values
361 @param affine The array to fill with affine identity values.
364 static void SetAffineIdentity(SkScalar affine[6]);
366 /** Fills the passed array with the affine values in column major order.
369 @param affine The array to fill with affine values. Ignored if NULL.
371 bool asAffine(SkScalar affine[6]) const;
/external/eigen/test/
H A Dgeo_homogeneous.cpp77 aff.affine().setRandom();
/external/eigen/Eigen/src/Geometry/
H A DTransform.h91 * Therefore, an affine transformation matrix M is shaped like this:
154 * transformation of non homogeneous vectors by an affine transformation. In
200 /** type of read/write reference to the affine part of the transformation */
204 /** type of read reference to the affine part of the transformation */
376 /** \returns a read-only expression of the Dim x HDim affine part of the transformation */
377 inline ConstAffinePart affine() const { return take_affine_part::run(m_matrix); } function in class:Eigen::Transform
378 /** \returns a writable expression of the Dim x HDim affine part of the transformation */
379 inline AffinePart affine() { return take_affine_part::run(m_matrix); } function in class:Eigen::Transform
394 * \li an affine transformation matrix of size Dim x Dim+1,
407 * \li an affine transformatio
[all...]
H A DHomogeneous.h207 static type run (const TransformType& x) { return x.affine(); }
/external/chromium_org/third_party/skia/src/device/xps/
H A DSkXPSDevice.cpp520 SkScalar affine[6]; local
521 if (!matrix.asAffine(affine)) {
526 SkScalarToFLOAT(affine[SkMatrix::kAScaleX]),
527 SkScalarToFLOAT(affine[SkMatrix::kASkewY]),
528 SkScalarToFLOAT(affine[SkMatrix::kASkewX]),
529 SkScalarToFLOAT(affine[SkMatrix::kAScaleY]),
530 SkScalarToFLOAT(affine[SkMatrix::kATransX]),
531 SkScalarToFLOAT(affine[SkMatrix::kATransY]),
911 //TODO: figure out how to fake better if not affine
1048 //simple if affine an
[all...]
/external/skia/src/device/xps/
H A DSkXPSDevice.cpp521 SkScalar affine[6]; local
522 if (!matrix.asAffine(affine)) {
527 SkScalarToFLOAT(affine[SkMatrix::kAScaleX]),
528 SkScalarToFLOAT(affine[SkMatrix::kASkewY]),
529 SkScalarToFLOAT(affine[SkMatrix::kASkewX]),
530 SkScalarToFLOAT(affine[SkMatrix::kAScaleY]),
531 SkScalarToFLOAT(affine[SkMatrix::kATransX]),
532 SkScalarToFLOAT(affine[SkMatrix::kATransY]),
912 //TODO: figure out how to fake better if not affine
1049 //simple if affine an
[all...]
/external/chromium_org/crypto/
H A Dp224_unittest.cc28 // |scalar| is a big-endian scalar and |affine| is the external representation
32 uint8 affine[28*2]; member in struct:crypto::TestVector
791 EXPECT_TRUE(memcmp(external.data(), kNISTTestVectors[i].affine,
800 reinterpret_cast<const char *>(kNISTTestVectors[10].affine), 56)));
802 reinterpret_cast<const char *>(kNISTTestVectors[11].affine), 56)));
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFShader.cpp794 // Finds affine and persp such that in = affine * persp.
796 static bool split_perspective(const SkMatrix in, SkMatrix* affine, argument
825 affine->setAll(sx - p0 * tx / p2, kx - p1 * tx / p2, tx / p2,
/external/skia/src/pdf/
H A DSkPDFShader.cpp794 // Finds affine and persp such that in = affine * persp.
796 static bool split_perspective(const SkMatrix in, SkMatrix* affine, argument
825 affine->setAll(sx - p0 * tx / p2, kx - p1 * tx / p2, tx / p2,

Completed in 6953 milliseconds