Searched refs:m00 (Results 1 - 25 of 37) sorted by relevance

12

/external/libgdx/gdx/src/com/badlogic/gdx/math/
H A DAffine2.java32 public float m00 = 1, m01 = 0, m02 = 0; field in class:Affine2
51 m00 = 1;
64 m00 = other.m00;
79 m00 = other[Matrix3.M00];
100 m00 = other[Matrix4.M00];
114 m00 = 1;
135 m00 = scaleX;
158 m00 = cos;
174 m00
[all...]
/external/opencv3/modules/video/src/
H A Dcamshift.cpp84 if( fabs(m.m00) < DBL_EPSILON )
87 int dx = cvRound( m.m10/m.m00 - window.width*0.5 );
88 int dy = cvRound( m.m01/m.m00 - window.height*0.5 );
143 double m00 = m.m00, m10 = m.m10, m01 = m.m01; local
146 if( fabs(m00) < DBL_EPSILON )
149 double inv_m00 = 1. / m00;
/external/opencv/cv/src/
H A Dcvcamshift.cpp75 moments.m00 = moments.m10 = moments.m01 = 0;
104 if( fabs(moments.m00) < DBL_EPSILON )
139 comp->area = (float)moments.m00;
172 double m00 = 0, m10, m01, mu20, mu11, mu02, inv_m00; local
214 m00 = moments.m00;
221 if( fabs(m00) < DBL_EPSILON )
224 inv_m00 = 1. / m00;
280 comp.area = (float) m00;
H A Dcvmoments.cpp53 if( fabs(moments->m00) > DBL_EPSILON )
55 double inv_m00 = 1. / moments->m00;
180 moments->m00 = a00 * db1_2;
210 /* + m00 ( = m00' ) */
211 moments->m00 += tiles[0];
213 /* + m10 ( = m10' + dx*m00' ) */
216 /* + m01 ( = m01' + dy*m00' ) */
219 /* + m20 ( = m20' + 2*dx*m10' + dx*dx*m00' ) */
222 /* + m11 ( = m11' + dx*m01' + dy*m10' + dx*dy*m00' ) */
528 double m00s = mState->inv_sqrt_m00, m00 = m00s * m00s, s2 = m00 * m00, s3 = s2 * m00s; local
665 double m00s, m00; local
[all...]
/external/opencv3/samples/cpp/tutorial_code/ShapeDescriptors/
H A Dmoments_demo.cpp71 { mc[i] = Point2f( static_cast<float>(mu[i].m10/mu[i].m00) , static_cast<float>(mu[i].m01/mu[i].m00) ); }
90 printf(" * Contour[%d] - Area (M_00) = %.2f - Area OpenCV: %.2f - Length: %.2f \n", (int)i, mu[i].m00, contourArea(contours[i]), arcLength( contours[i], true ) );
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
H A DCpuSpriteBatch.java382 vertices[idx + 0] = t.m00 * x1 + t.m01 * y1 + t.m02;
388 vertices[idx + 5] = t.m00 * x2 + t.m01 * y2 + t.m02;
394 vertices[idx + 10] = t.m00 * x3 + t.m01 * y3 + t.m02;
400 vertices[idx + 15] = t.m00 * x4 + t.m01 * y4 + t.m02;
514 vertices[idx + 0] = t.m00 * x1 + t.m01 * y1 + t.m02;
520 vertices[idx + 5] = t.m00 * x2 + t.m01 * y2 + t.m02;
526 vertices[idx + 10] = t.m00 * x3 + t.m01 * y3 + t.m02;
532 vertices[idx + 15] = t.m00 * x4 + t.m01 * y4 + t.m02;
555 float x3 = t.m00 * width + t.m01 * height + t.m02;
557 float x4 = t.m00 * widt
[all...]
/external/opencv3/modules/imgproc/src/
H A Dmoments.cpp55 if( fabs(moments->m00) > DBL_EPSILON )
57 inv_m00 = 1. / moments->m00;
184 m.m00 = a00 * db1_2;
434 mom[0] += x0; // m00
445 m00 = m10 = m01 = m20 = m11 = m02 = m30 = m21 = m12 = m03 =
453 m00 = _m00; m10 = _m10; m01 = _m01;
458 if( std::abs(m00) > DBL_EPSILON )
460 inv_m00 = 1./m00;
517 // + m00 ( = m00' )
825 double m00s = mState->inv_sqrt_m00, m00 = m00s * m00s, s2 = m00 * m00, s3 = s2 * m00s; local
[all...]
/external/opencv3/modules/features2d/src/
H A Dblobdetector.cpp217 double area = moms.m00;
224 double area = moms.m00;
269 if(moms.m00 == 0.0)
271 center.location = Point2d(moms.m10 / moms.m00, moms.m01 / moms.m00);
/external/opencv3/modules/imgproc/include/opencv2/imgproc/
H A Dtypes_c.h399 double m00, m10, m01, m20, m11, m02, m30, m21, m12, m03; /**< spatial moments */ member in struct:CvMoments
401 double inv_sqrt_m00; /**< m00 != 0 ? 1/sqrt(m00) : 0 */
407 m00 = m.m00; m10 = m.m10; m01 = m.m01;
412 double am00 = std::abs(m.m00);
417 return cv::Moments(m00, m10, m01, m20, m11, m02, m30, m21, m12, m03);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dgen7_viewport_state.c62 vp->viewport.m00 = v[MAT_SX];
H A Dgen6_viewport_state.c91 sfv->viewport.m00 = v[MAT_SX];
H A Dbrw_sf_state.c67 sfv->viewport.m00 = v[MAT_SX];
H A Dbrw_structs.h747 GLfloat m00; member in struct:brw_sf_viewport::__anon14572
765 GLfloat m00; member in struct:gen6_sf_viewport
775 GLfloat m00; member in struct:gen7_sf_clip_viewport::__anon14574
H A Dbrw_state_dump.c307 batch_out(brw, name, offset, 0, "m00 = %f\n", vp->viewport.m00);
344 batch_out(brw, name, offset, 0, "m00 = %f\n", vp->viewport.m00);
/external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/
H A DUtils.cpp193 double m00 = rotationMatrix.at<double>(0,0); local
218 z = atan2(-m20,m00);
245 double m00, m01, m02, m10, m11, m12, m20, m21, m22; local
247 m00 = ch * ca;
257 rotationMatrix.at<double>(0,0) = m00;
/external/opencv3/modules/imgproc/test/
H A Dtest_moments.cpp240 m.m00 += s0;
255 if( m.m00 != 0 )
257 xc = m.m10/m.m00, yc = m.m01/m.m00;
258 m.inv_sqrt_m00 = 1./sqrt(fabs(m.m00));
299 mdata += sizeof(m)/sizeof(m.m00);
304 double s2 = inv_m00*inv_m00; /* 1./(m00 ^ (2/2 + 1)) */
305 double s3 = s2*m.inv_sqrt_m00; /* 1./(m00 ^ (3/2 + 1)) */
406 double s2 = inv_m00*inv_m00; /* 1./(m00 ^ (2/2 + 1)) */
407 double s3 = s2*m->inv_sqrt_m00; /* 1./(m00
[all...]
/external/opencv/cv/include/
H A Dcvtypes.h53 double m00, m10, m01, m20, m11, m02, m30, m21, m12, m03; /* spatial moments */ member in struct:CvMoments
55 double inv_sqrt_m00; /* m00 != 0 ? 1/sqrt(m00) : 0 */
/external/deqp/modules/gles2/scripts/
H A Dgenutil.py636 def __init__(self, m00, m01, m10, m11):
637 Mat.__init__(self, 2, 2, [m00, m10, m01, m11])
640 def __init__(self, m00, m01, m02, m10, m11, m12, m20, m21, m22):
641 Mat.__init__(self, 3, 3, [m00, m10, m20,
646 def __init__(self, m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, m30, m31, m32, m33):
647 Mat.__init__(self, 4, 4, [m00, m10, m20, m30,
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
H A DAffine2Test.java107 check(afn1.det() == (afn1.m00 * afn1.m11 - afn1.m01 * afn1.m10));
/external/skia/src/core/
H A DSkMatrix.cpp130 int m00 = SkScalarAs2sCompliment(fMat[SkMatrix::kMScaleX]); local
152 int dp0 = 0 == (m00 | m11) ; // true if both are 0
159 if ((m00 ^ kScalar1Int) | (m11 ^ kScalar1Int)) {
168 m00 = m00 != 0;
172 mask |= (m00 & m11) << kRectStaysRect_Shift;
1779 const SkScalar m00 = fSCos; local
1783 const SkScalar m11 = m00;
1787 quad[1].set(m00 * width + m02, m10 * width + m12);
1788 quad[2].set(m00 * widt
[all...]
/external/deqp/modules/gles3/scripts/
H A Dgenutil.py783 def __init__(self, m00, m01, m10, m11):
784 Mat.__init__(self, 2, 2, [m00, m10, m01, m11])
787 def __init__(self, m00, m01, m02, m10, m11, m12, m20, m21, m22):
788 Mat.__init__(self, 3, 3, [m00, m10, m20,
793 def __init__(self, m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, m30, m31, m32, m33):
794 Mat.__init__(self, 4, 4, [m00, m10, m20, m30,
/external/deqp/modules/gles31/scripts/
H A Dgenutil.py785 def __init__(self, m00, m01, m10, m11):
786 Mat.__init__(self, 2, 2, [m00, m10, m01, m11])
789 def __init__(self, m00, m01, m02, m10, m11, m12, m20, m21, m22):
790 Mat.__init__(self, 3, 3, [m00, m10, m20,
795 def __init__(self, m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, m30, m31, m32, m33):
796 Mat.__init__(self, 4, 4, [m00, m10, m20, m30,
/external/dng_sdk/source/
H A Ddng_reference.cpp1297 real32 m00 = (real32) cameraToRGB [0] [0]; local
1320 real32 r = m00 * A + m01 * B + m02 * C;
1355 real32 m00 = (real32) cameraToRGB [0] [0]; local
1383 real32 r = m00 * A + m01 * B + m02 * C + m03 * D;
1638 real32 m00 = (real32) matrix [0] [0]; local
1649 real32 g = m00 * R + m01 * G + m02 * B;
1671 real32 m00 = (real32) matrix [0] [0]; local
1690 real32 r = m00 * R + m01 * G + m02 * B;
/external/skia/include/utils/
H A DSkMatrix44.h310 void set3x3(SkMScalar m00, SkMScalar m01, SkMScalar m02,
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
H A DbtConvexHullComputer.cpp2470 int64_t m00 = face->dir0.dot(n0); local
2476 Int128 det = Int128::mul(m00, m11) - Int128::mul(m01, m10);
2482 + Int128::mul(face->dir1.x * r1, m00) - Int128::mul(face->dir1.x * r0, m10) + det * shiftedOrigin.x,
2484 + Int128::mul(face->dir1.y * r1, m00) - Int128::mul(face->dir1.y * r0, m10) + det * shiftedOrigin.y,
2486 + Int128::mul(face->dir1.z * r1, m00) - Int128::mul(face->dir1.z * r0, m10) + det * shiftedOrigin.z,

Completed in 556 milliseconds

12