/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Matrix4f.java | 441 float det = mMat[0]*result.mMat[0] + mMat[4]*result.mMat[1] + in inverse() local 444 if (Math.abs(det) < 1e-6) { in inverse() 448 det = 1.0f / det; in inverse() 450 mMat[i] = result.mMat[i] * det; in inverse() 469 float det = mMat[0]*result.mMat[0] + mMat[4]*result.mMat[4] + in inverseTranspose() local 472 if (Math.abs(det) < 1e-6) { in inverseTranspose() 476 det = 1.0f / det; in inverseTranspose() 478 mMat[i] = result.mMat[i] * det; in inverseTranspose()
|
/frameworks/rs/ |
D | rsMatrix4x4.cpp | 63 float det = m[0]*result.m[0] + m[4]*result.m[1] + in inverse() local 66 if (fabs(det) < 1e-6) { in inverse() 70 det = 1.0f / det; in inverse() 72 m[i] = result.m[i] * det; in inverse() 104 float det = m[0]*result.m[0] + m[4]*result.m[4] + in inverseTranspose() local 107 if (fabs(det) < 1e-6) { in inverseTranspose() 111 det = 1.0f / det; in inverseTranspose() 113 m[i] = result.m[i] * det; in inverseTranspose()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Matrix4f.java | 440 float det = mMat[0]*result.mMat[0] + mMat[4]*result.mMat[1] + in inverse() local 443 if (Math.abs(det) < 1e-6) { in inverse() 447 det = 1.0f / det; in inverse() 449 mMat[i] = result.mMat[i] * det; in inverse() 468 float det = mMat[0]*result.mMat[0] + mMat[4]*result.mMat[4] + in inverseTranspose() local 471 if (Math.abs(det) < 1e-6) { in inverseTranspose() 475 det = 1.0f / det; in inverseTranspose() 477 mMat[i] = result.mMat[i] * det; in inverseTranspose()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Matrix.java | 316 double det; in invers() local 317 det = m[0] * inv[0] + m[1] * inv[4] + m[2] * inv[8] + m[3] * inv[12]; in invers() 319 if (det == 0) { in invers() 323 det = 1.0 / det; in invers() 328 out[i] = inv[i] * det; in invers()
|
/frameworks/native/libs/math/include/math/ |
D | TMatHelpers.h | 150 const T det((a * d) - (b * c)); in fastInverse2() 151 inverted[0][0] = d / det; in fastInverse2() 152 inverted[0][1] = -c / det; in fastInverse2() 153 inverted[1][0] = -b / det; in fastInverse2() 154 inverted[1][1] = a / det; in fastInverse2() 217 const T det(a * A + b * B + c * C); in fastInverse3() 220 inverted[col][row] /= det; in fastInverse3()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | DistortionMapper.cpp | 558 float det = b * b - 4 * a * c; in calculateUorV() local 559 if (det < 0) { in calculateUorV() 561 ALOGE("Bad determinant! a: %f, b: %f, c: %f, det: %f", a,b,c,det); in calculateUorV() 566 float sqdet = b > 0 ? -std::sqrt(det) : std::sqrt(det); in calculateUorV()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ColorSpace.java | 1876 float det = a * A + b * B + c * C; 1879 inverted[0] = A / det; 1880 inverted[1] = B / det; 1881 inverted[2] = C / det; 1882 inverted[3] = (c * h - b * i) / det; 1883 inverted[4] = (a * i - c * g) / det; 1884 inverted[5] = (b * g - a * h) / det; 1885 inverted[6] = (b * f - c * e) / det; 1886 inverted[7] = (c * d - a * f) / det; 1887 inverted[8] = (a * e - b * d) / det; [all …]
|
D | Matrix44.java | 175 float det = (b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06); in invert() local 176 if (det == 0.0f) { in invert() 179 float invDet = 1.0f / det; in invert()
|
/frameworks/native/libs/ui/include/ui/ |
D | Transform.h | 80 float det() const;
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Transform.h | 80 float det() const;
|
/frameworks/native/include/ui/ |
D | Transform.h | 80 float det() const;
|
/frameworks/native/libs/ui/ |
D | Transform.cpp | 137 float Transform::det() const { in det() function in android::ui::Transform 397 const float idet = 1.0f / det(); in inverse()
|
/frameworks/base/opengl/java/android/opengl/ |
D | Matrix.java | 399 final float det = in invertM() local 402 if (det == 0.0f) { in invertM() 407 final float invdet = 1.0f / det; in invertM()
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerSnapshot.cpp | 261 float transformDet = t.det(); in isTransformValid()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 2040 float transformDet = getTransform().det(); in isTransformValid()
|