Home
last modified time | relevance | path

Searched refs:inverse (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/layoutlib/bridge/tests/src/android/graphics/
DMatrix_DelegateTest.java53 Matrix inverse = new Matrix(); in testInvert() local
55 assertFalse(m1.invert(inverse)); in testInvert()
58 m1.invert(inverse); in testInvert()
60 inverse.getValues(values); in testInvert()
/frameworks/native/services/sensorservice/
Dmat.h341 mat<T, N, N> inverse(1); in invert()
359 t = inverse[i][k]; in invert()
360 inverse[i][k] = inverse[swap][k]; in invert()
361 inverse[swap][k] = t; in invert()
368 inverse[i][k] *= t; in invert()
375 inverse[j][k] -= inverse[i][k] * t; in invert()
380 return inverse; in invert()
/frameworks/native/libs/ui/
DColorSpace.cpp108 , mXYZtoRGB(inverse(rgbToXYZ)) in ColorSpace()
123 , mXYZtoRGB(inverse(rgbToXYZ)) in ColorSpace()
139 , mXYZtoRGB(inverse(rgbToXYZ)) in ColorSpace()
157 , mXYZtoRGB(inverse(mRGBtoXYZ)) in ColorSpace()
173 , mXYZtoRGB(inverse(mRGBtoXYZ)) in ColorSpace()
190 , mXYZtoRGB(inverse(mRGBtoXYZ)) in ColorSpace()
390 return inverse(matrix) * mat3{dstLMS / srcLMS} * matrix; in adaptation()
413 … xyzToRGB = inverse(adaptation(BRADFORD, dstXYZ, ILLUMINANT_D50_XYZ) * dst.getRGBtoXYZ()); in ColorSpaceConnector()
/frameworks/rs/script_api/
Drs_math.spec57 The inverse of pi, as a 32 bit float.
155 The inverse of the square root of 2, as a 32 bit float.
189 Returns the inverse cosine, in radians.
212 Returns the inverse hyperbolic cosine, in radians.
235 Returns the inverse cosine in radians, divided by pi.
237 To get an inverse cosine measured in degrees, use <code>acospi(a) * 180.f</code>.
260 Returns the inverse sine, in radians.
283 Returns the inverse hyperbolic sine, in radians.
306 Returns the inverse sine in radians, divided by pi.
308 To get an inverse sine measured in degrees, use <code>asinpi(a) * 180.f</code>.
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DMatrixTest.java106 Matrix m2 = m1.inverse(); in testInverse()
137 Matrix m2 = m1.inverse(); in testInverseOfPermutation()
150 m1.inverse(); in testSingularity()
/frameworks/native/libs/math/tests/
Dmat_test.cpp128 EXPECT_EQ(identity, inverse(identity)); in TEST_F()
131 mat4 m3i(inverse(m3)); in TEST_F()
137 mat4 m3ii(inverse(m3i)); in TEST_F()
255 EXPECT_EQ(identity, inverse(identity)); in TEST_F()
258 mat3 m3i(inverse(m3)); in TEST_F()
264 mat3 m3ii(inverse(m3i)); in TEST_F()
356 EXPECT_EQ(identity, inverse(identity)); in TEST_F()
377 MatrixType inv1 = inverse(MATRIX); \
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dpose.h29 rotation_ = rotation_.inverse(); in Invert()
97 Eigen::AffineMatrix<T, 4> matrix(rotation_.inverse().toRotationMatrix()); in GetObjectFromReferenceMatrix()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DMatrix.java253 public Matrix inverse() { in inverse() method in Matrix
254 return inverse(new Matrix(n, m), new Matrix(n, 2 * m)); in inverse()
266 public Matrix inverse(Matrix result, Matrix scratch) { in inverse() method in Matrix
DKalmanFilter.java47 Matrix tK = mP.dotTranspose(mH).dot(tS.inverse()); in update()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DQuaternion.java106 public Quaternion inverse() { in inverse() method in Quaternion
113 return a.inverse().times(b); in divides()
/frameworks/native/opengl/libagl/
Dmatrix.cpp527 void invert(GLfloat* inverse, const GLfloat* src) in invert() argument
533 memcpy(inverse, gIdentityf, sizeof(gIdentityf)); in invert()
552 t = inverse[i*4+k]; in invert()
553 inverse[i*4+k] = inverse[swap*4+k]; in invert()
554 inverse[swap*4+k] = t; in invert()
561 inverse[i*4+k] *= t; in invert()
568 inverse[j*4+k] -= inverse[i*4+k]*t; in invert()
/frameworks/rs/
DrsMatrix4x4.h54 bool inverse();
/frameworks/native/services/surfaceflinger/Effects/
DDaltonizer.cpp66 const mat4 lms2rgb(inverse(rgb2lms)); in update()
/frameworks/native/libs/ui/include/ui/
DTransform.h95 Transform inverse() const;
/frameworks/native/libs/ui/include_vndk/ui/
DTransform.h95 Transform inverse() const;
/frameworks/native/libs/math/include/math/
DTQuatHelpers.h112 return imaginary(q * QUATERNION<T>(v, 0) * inverse(q));
200 constexpr QUATERNION<T> PURE inverse(const QUATERNION<T>& q) { in inverse() function
DTMatHelpers.h234 inline constexpr MATRIX PURE inverse(const MATRIX& matrix) { in inverse() function
429 friend inline CONSTEXPR BASE<T> PURE inverse(const BASE<T>& matrix) { in inverse() function
430 return matrix::inverse(matrix); in inverse()
/frameworks/rs/script_api/include/
Drs_math.rsh59 * The inverse of pi, as a 32 bit float.
145 * The inverse of the square root of 2, as a 32 bit float.
202 * Returns the inverse cosine, in radians.
241 * Returns the inverse hyperbolic cosine, in radians.
280 * Returns the inverse cosine in radians, divided by pi.
282 * To get an inverse cosine measured in degrees, use acospi(a) * 180.f.
321 * Returns the inverse sine, in radians.
360 * Returns the inverse hyperbolic sine, in radians.
399 * Returns the inverse sine in radians, divided by pi.
401 * To get an inverse sine measured in degrees, use asinpi(a) * 180.f.
[all …]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dcamera_response_fast.rsh14 // that f(0) = 0 and f(1) = 1. The function and its inverse is
/frameworks/native/libs/ui/tests/
Dcolorspace_test.cpp39 mat3 XYZtoSRGB(inverse(sRGBToXYZ)); in TEST_F()
/frameworks/base/core/jni/android/graphics/
DMatrix.cpp315 SkMatrix* inverse = reinterpret_cast<SkMatrix*>(inverseHandle); in invert() local
316 return matrix->invert(inverse); in invert()
/frameworks/base/libs/hwui/utils/
DColor.cpp133 return inverse(matrix) * mat3{dstLMS / srcLMS} * matrix; in adaptation()
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp361 SkMatrix inverse; in getClipBounds() local
363 if (!mCanvas->getTotalMatrix().invert(&inverse)) { in getClipBounds()
372 inverse.mapRect(outRect, r); in getClipBounds()
/frameworks/base/graphics/java/android/graphics/
DMatrix.java617 public boolean invert(Matrix inverse) { in invert() argument
618 return nInvert(native_instance, inverse.native_instance); in invert()
/frameworks/rs/cpu_ref/
DrsCpuRuntimeMath.cpp85 return m->inverse(); in SC_MatrixInverse_4x4()

12