HomeSort by relevance Sort by last modified time
    Searched defs:det (Results 1 - 23 of 23) sorted by null

  /external/valgrind/main/none/tests/
fucomip.c 5 float det = 625.f; local
7 if (det < 1)
  /packages/apps/Camera/jni/feature_mos/src/mosaic/
trsMatrix.cpp 81 double det = det33d(m); local
83 out[0][0] = (m[1][1]*m[2][2] - m[1][2]*m[2][1]) / det;
84 out[1][0] = (m[1][2]*m[2][0] - m[1][0]*m[2][2]) / det;
85 out[2][0] = (m[1][0]*m[2][1] - m[1][1]*m[2][0]) / det;
87 out[0][1] = (m[0][2]*m[2][1] - m[0][1]*m[2][2]) / det;
88 out[1][1] = (m[0][0]*m[2][2] - m[0][2]*m[2][0]) / det;
89 out[2][1] = (m[0][1]*m[2][0] - m[0][0]*m[2][1]) / det;
91 out[0][2] = (m[0][1]*m[1][2] - m[0][2]*m[1][1]) / det;
92 out[1][2] = (m[0][2]*m[1][0] - m[0][0]*m[1][2]) / det;
93 out[2][2] = (m[0][0]*m[1][1] - m[0][1]*m[1][0]) / det;
    [all...]
  /external/icu4c/i18n/
csrmbcs.h 42 int32_t nextByte(InputText* det);
53 * @param det The CharsetDetector, which contains the input text
61 int32_t match_mbcs(InputText* det, const uint16_t commonChars[], int32_t commonCharsLen);
74 int32_t match(InputText* det) = 0; member in class:CharsetRecog_mbcs
84 * @param det The charset detector, which is needed to get at the input byte data
101 UBool nextChar(IteratedChar *it, InputText *det);
103 int32_t match(InputText *det);
125 int32_t match(InputText* det) = 0; member in class:CharsetRecog_euc
132 UBool nextChar(IteratedChar *it, InputText *det);
147 int32_t match(InputText *det);
    [all...]
  /frameworks/base/media/libstagefright/codecs/aacdec/
calc_auto_corr.h 83 Int32 det; member in struct:ACORR_COEFS
  /external/opencv/cv/src/
cvlinefit.cpp 111 float det[9], evc[9], evl[3]; local
177 det[0] = dz2 + dy2;
178 det[1] = -dxy;
179 det[2] = -dxz;
180 det[3] = det[1];
181 det[4] = dx2 + dz2;
182 det[5] = -dyz;
183 det[6] = det[2]
    [all...]
cvgeometry.cpp 149 double det = a0[0] * b1[0] - a1[0] * b0[0]; local
151 if( det != 0 )
153 det = 1. / det;
154 point->x = (float) ((b0[0] * c1[0] - b1[0] * c0[0]) * det);
155 point->y = (float) ((a1[0] * c0[0] - a0[0] * c1[0]) * det);
581 assert(cvDet(tmpMatrixM) != 0.0); // So far only finite cameras could be decomposed, so M has to be nonsingular [det(M) != 0].
cvposit.cpp 278 float det = 0; local
306 det += ata00 * p00;
307 det += ata01 * p01;
308 det += ata02 * p02;
310 inv_det = 1 / det;
  /external/skia/src/core/
SkPoint.cpp 400 SkScalar det = u.cross(v); local
401 return SkScalarMulDiv(det, det, uLengthSqd);
SkMatrix.cpp 689 double det; local
692 det = mat[SkMatrix::kMScaleX] * ((double)mat[SkMatrix::kMScaleY] * mat[SkMatrix::kMPersp2] - (double)mat[SkMatrix::kMTransY] * mat[SkMatrix::kMPersp1]) +
696 det = (double)mat[SkMatrix::kMScaleX] * mat[SkMatrix::kMScaleY] - (double)mat[SkMatrix::kMSkewX] * mat[SkMatrix::kMSkewY];
702 if (SkScalarNearlyZero((float)det, SK_ScalarNearlyZero * SK_ScalarNearlyZero * SK_ScalarNearlyZero)) {
705 return 1.0 / det;
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/transforms/
AffineTransform.cpp 132 double AffineTransform::det() const function in class:WebCore::AffineTransform
139 return det() != 0.0;
144 double determinant = det();
TransformationMatrix.cpp 81 // det A
214 double det = determinant4x4(matrix); local
216 if (fabs(det) < SMALL_NUMBER)
223 result[i][j] = result[i][j] / det;
968 double det = WebCore::determinant4x4(m_matrix); local
    [all...]
  /frameworks/base/libs/rs/
rsMatrix4x4.cpp 63 float det = m[0]*result.m[0] + m[4]*result.m[1] + local
66 if (fabs(det) < 1e-6) {
70 det = 1.0f / det;
72 m[i] = result.m[i] * det;
104 float det = m[0]*result.m[0] + m[4]*result.m[4] + local
107 if (fabs(det) < 1e-6) {
111 det = 1.0f / det;
113 m[i] = result.m[i] * det;
    [all...]
  /packages/apps/Camera/jni/feature_stab/db_vlvm/
db_utilities_camera.h 234 \return true if success and false if matrix is ill-conditioned (det < 1e-7)
238 double det=H[0]*H[4]-H[3]*H[1]; local
239 if (det<1e-7)
246 Hinv[0]=H[4]/det;
247 Hinv[1]=-H[1]/det;
248 Hinv[3]=-H[3]/det;
249 Hinv[4]=H[0]/det;
db_feature_detection.cpp 367 float Gxx,Gxy,Gyy,det,trc; local
376 det=Gxx*Gyy-Gxy*Gxy;
378 s[i][j+c]=det-0.06f*trc*trc;
596 float Gxx,Gxy,Gyy,det,trc; local
606 det=Gxx*Gyy-Gxy*Gxy;
608 s[c]=det-k*trc*trc;
    [all...]
  /external/opencv/cvaux/src/
cv3dtracker.cpp 496 static inline double det(CvPoint3D32f v1, CvPoint3D32f v2, CvPoint3D32f v3) function
539 double t1 = det(x, d2, cross) / den;
540 double t2 = det(x, d1, cross) / den;
cvepilines.cpp 768 double det; local
771 det = p_start.x*p_end.y+p_end.x+p_start.y-p_end.y-p_start.y*p_end.x-p_start.x;
772 if( fabs(det) < EPS64D)/* Error */
782 double invDet = 1.0 / det;
1021 double det = direct1[0]*direct2[1] - direct2[0]*direct1[1]; local
1024 if( fabs(det) > EPS64D )
1026 cross->x = detx/det;
1027 cross->y = (-direct1[0]*direct2[2] + direct2[0]*direct1[2])/det;
1060 double det; local
1063 det = a * (p_end.x - p_start.x) + b * (p_end.y - p_start.y)
2087 double det = 1.0 \/ ( a*a + b*b ); local
    [all...]
cvlee.cpp 3532 float det; local
4116 float det = pVector21->y * pVector43->x - pVector21->x * pVector43->y; local
4254 float det = pVector21->y * pVector43->x - pVector21->x * pVector43->y; local
    [all...]
  /external/opencv/ml/src/
mlnbayes.cpp 217 double det = 1; local
259 det *= w->data.db[j];
262 c->data.db[cls] = log( det );
mlem.cpp 50 (-2)*ln(weights_k/det(Sigma_k)^0.5),
761 /* log_weight_div_det[k] = -2*log(weights_k) + log(det(Sigma_k)))
768 <alpha_ik> ~ weights_k * exp{ -0.5[ln(det(Sigma_k)) + (x_i - mu_k)' Sigma_k^(-1) (x_i - mu_k)] }
771 S_ik = -0.5(log(det(Sigma_k)) + (x_i - mu_k)' Sigma_k^(-1) (x_i - mu_k)) + log(weights_k),
797 double prev_log_likelihood = -DBL_MAX / 1000., det, d; local
824 for( j = 0, det = 1.; j < dims; j++ )
825 det *= w_data[j];
826 log_weight = sqrt(det);
877 for( j = 0, det = 1.; j < dims; j++ )
878 det *= w_data[j]
    [all...]
  /frameworks/base/graphics/java/android/renderscript/
Matrix4f.java 409 float det = mMat[0]*result.mMat[0] + mMat[4]*result.mMat[1] + local
412 if (Math.abs(det) < 1e-6) {
416 det = 1.0f / det;
418 mMat[i] = result.mMat[i] * det;
437 float det = mMat[0]*result.mMat[0] + mMat[4]*result.mMat[4] + local
440 if (Math.abs(det) < 1e-6) {
444 det = 1.0f / det;
446 mMat[i] = result.mMat[i] * det;
    [all...]
  /external/mesa3d/test/
m_matrix.c 494 GLfloat det; local
518 det = pos + neg;
520 if (det*det < 1e-25)
523 det = 1.0F / det;
524 MAT(out,0,0) = ( (MAT(in,1,1)*MAT(in,2,2) - MAT(in,2,1)*MAT(in,1,2) )*det);
525 MAT(out,0,1) = (- (MAT(in,0,1)*MAT(in,2,2) - MAT(in,2,1)*MAT(in,0,2) )*det);
526 MAT(out,0,2) = ( (MAT(in,0,1)*MAT(in,1,2) - MAT(in,1,1)*MAT(in,0,2) )*det);
527 MAT(out,1,0) = (- (MAT(in,1,0)*MAT(in,2,2) - MAT(in,2,0)*MAT(in,1,2) )*det);
    [all...]
  /frameworks/base/opengl/java/android/opengl/
Matrix.java 218 final float det = local
221 if (det == 0.0f) {
226 final float invdet = 1.0f / det;
  /external/v8/test/cctest/
test-heap-profiler.cc 481 NamedEntriesDetector det; local
482 i_snapshot_env2->IterateEntries(&det);
483 CHECK(det.has_A2);
484 CHECK(det.has_B2);
485 CHECK(det.has_C2);
    [all...]

Completed in 476 milliseconds