Home
last modified time | relevance | path

Searched refs:mat (Results 1 – 6 of 6) sorted by relevance

/development/perftests/panorama/feature_mos/src/mosaic/
DMatrixUtils.h52 mat[0][1] = mat[0][2] = mat[1][0] = mat[1][2] = mat[2][0] = mat[2][1] = 0.0;
54 mat[0][0] = mat[1][1] = mat[2][2] = 1.0;
56 mat[0][0] = mat[1][1] = mat[2][2] = 0.0;
79 double mat[3][3]; variable
110 mat[1] = mat[2] = mat[3] = mat[5] = mat[6] = mat[7] = 0.0;
112 mat[0] = mat[4] = mat[8] = 1.0;
114 mat[0] = mat[4] = mat[8] = 0.0;
137 double mat[9]; variable
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
DMainActivity.java219 Matrix3f mat = new Matrix3f(); in performFilter() local
220 mat.set(0, 0, (float) (.299 + .701 * cos + .168 * sin)); in performFilter()
221 mat.set(1, 0, (float) (.587 - .587 * cos + .330 * sin)); in performFilter()
222 mat.set(2, 0, (float) (.114 - .114 * cos - .497 * sin)); in performFilter()
223 mat.set(0, 1, (float) (.299 - .299 * cos - .328 * sin)); in performFilter()
224 mat.set(1, 1, (float) (.587 + .413 * cos + .035 * sin)); in performFilter()
225 mat.set(2, 1, (float) (.114 - .114 * cos + .292 * sin)); in performFilter()
226 mat.set(0, 2, (float) (.299 - .3 * cos + 1.25 * sin)); in performFilter()
227 mat.set(1, 2, (float) (.587 - .588 * cos - 1.05 * sin)); in performFilter()
228 mat.set(2, 2, (float) (.114 + .886 * cos - .203 * sin)); in performFilter()
[all …]
/development/ndk/sources/android/ndk_helper/
Dvecmath.h1043 void ToMatrix( Mat4& mat ) in ToMatrix() argument
1055 mat.f_[0] = 1.0f - y2 - z2; in ToMatrix()
1056 mat.f_[1] = xy + zw; in ToMatrix()
1057 mat.f_[2] = zx - yw; in ToMatrix()
1058 mat.f_[4] = xy - zw; in ToMatrix()
1059 mat.f_[5] = 1.0f - z2 - x2; in ToMatrix()
1060 mat.f_[6] = yz + xw; in ToMatrix()
1061 mat.f_[8] = zx + yw; in ToMatrix()
1062 mat.f_[9] = yz - xw; in ToMatrix()
1063 mat.f_[10] = 1.0f - x2 - y2; in ToMatrix()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixGrabber.java55 private void getMatrix(GL10 gl, int mode, float[] mat) { in getMatrix() argument
58 gl2.getMatrix(mat, 0); in getMatrix()
/development/ndk/platforms/android-17/samples/Teapot/jni/
DTeapotRenderer.cpp90 ndk_helper::Mat4 mat = ndk_helper::Mat4::RotationX( M_PI / 3 ); in Init() local
91 mat_model_ = mat * mat_model_; in Init()
/development/perftests/panorama/feature_stab/src/dbreg/
Dvp_motionmodel.c99 double mat[3][3], indet, temp; in inv4Mat() local
121 mat[m][n] = inmat[k][l]; in inv4Mat()
132 outmat[j][i] = temp * Det3(mat)/indet; in inv4Mat()