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

/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/core/platform/graphics/
H A DGraphicsContext.h331 void concatCTM(const AffineTransform& affine) { concat(affine); } argument
332 void setCTM(const AffineTransform& affine) { setMatrix(affine); } argument
/external/chromium_org/third_party/skia/src/core/
H A DSkMatrix.cpp117 // along with affine.
122 // For rectStaysRect, in the affine case, we only need check that
135 // Only test for scale explicitly if not affine, since affine sets the
141 // Not affine, therefore we already know secondary diagonal is
901 void SkMatrix::SetAffineIdentity(SkScalar affine[6]) { argument
902 affine[kAScaleX] = SK_Scalar1;
903 affine[kASkewY] = 0;
904 affine[kASkewX] = 0;
905 affine[kAScale
[all...]
/external/skia/src/core/
H A DSkMatrix.cpp117 // along with affine.
122 // For rectStaysRect, in the affine case, we only need check that
135 // Only test for scale explicitly if not affine, since affine sets the
141 // Not affine, therefore we already know secondary diagonal is
901 void SkMatrix::SetAffineIdentity(SkScalar affine[6]) { argument
902 affine[kAScaleX] = SK_Scalar1;
903 affine[kASkewY] = 0;
904 affine[kASkewX] = 0;
905 affine[kAScale
[all...]
/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.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/eigen/test/
H A Dgeo_homogeneous.cpp77 aff.affine().setRandom();
/external/skia/tests/
H A DMatrixTest.cpp679 SkScalar affine[6]; local
680 REPORTER_ASSERT(reporter, mat.asAffine(affine));
682 #define affineEqual(e) affine[SkMatrix::kA##e] == mat.get(SkMatrix::kM##e)
692 REPORTER_ASSERT(reporter, !mat.asAffine(affine));
/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.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/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/skia/src/pdf/
H A DSkPDFShader.cpp787 // Finds affine and persp such that in = affine * persp.
789 static bool split_perspective(const SkMatrix in, SkMatrix* affine, argument
818 affine->setAll(sx - p0 * tx / p2, kx - p1 * tx / p2, tx / p2,
/external/dropbear/libtomcrypt/
H A Dcrypt.tex6295 @param map Boolean indicated whether to map back to affine or not
6296 (can be ignored if you work in affine only)
6331 /** ECC mapping from projective to affine,
6414 that (x,y,z) => (x/z^2, y/z^3, 1) when interpreted as affine */
6427 could point to anything you want. The only further exception is the export functions which expects the values to be in affine format.
6430 This will multiply the point $G$ by the scalar $k$ and store the result in the point $R$. The value should be mapped to affine only if $map$ is set to one.
6434 may be in either affine (with $z = 1$) or projective format and the output point is always projective.
6437 This will map the point $P$ back from projective to affine. The output point $P$ must be of the form $(x, y, 1)$.
6444 overlap (e.g., $A \leftarrow k_1A + k_2B$) and must return the final point in affine format.

Completed in 456 milliseconds