Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DIntrinsicColorMatrix.java35 private void subtest(int w, int h, Matrix4f mat, Float4 add, in subtest() argument
41 if (mat == null) { in subtest()
42 mat = new Matrix4f(); in subtest()
66 mSi.setColorMatrix(mat); in subtest()
73 mSr.invoke_reference(mat, add, mAllocSrc, mAllocRef, x1, y1, x2, y2); in subtest()
84 Matrix4f mat = new Matrix4f(); in test() local
87 float f[] = mat.getArray(); in test()
96 mat.loadIdentity(); in test()
100 mat.set(0, 0, 1.f); in test()
101 mat.set(0, 1, 1.f); in test()
[all …]
DScriptGroupTest.java556 Matrix4f mat = new Matrix4f(); in testBuilder2InvokeToKernelDependency() local
558 mat.set(0, 0, 0.0f); in testBuilder2InvokeToKernelDependency()
559 mat.set(0, 1, 0.0f); in testBuilder2InvokeToKernelDependency()
560 mat.set(0, 2, 0.0f); in testBuilder2InvokeToKernelDependency()
561 mat.set(0, 3, 1.0f); in testBuilder2InvokeToKernelDependency()
563 mat.set(1, 0, 1.0f); in testBuilder2InvokeToKernelDependency()
564 mat.set(1, 1, 0.0f); in testBuilder2InvokeToKernelDependency()
565 mat.set(1, 2, 0.0f); in testBuilder2InvokeToKernelDependency()
566 mat.set(1, 3, 0.0f); in testBuilder2InvokeToKernelDependency()
568 mat.set(2, 0, 0.0f); in testBuilder2InvokeToKernelDependency()
[all …]
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSColorMatrixTest.java62 Matrix3f mat = new Matrix3f(coeffs); in testRSColorMatrix0() local
63 cm.setColorMatrix(mat); in testRSColorMatrix0()
127 Matrix4f mat = new Matrix4f(coeffs); in testRSColorMatrix2() local
128 cm.setColorMatrix(mat); in testRSColorMatrix2()
/cts/apps/CameraITS/tests/
Dtutorial.py159 mat = numpy.array([[1, 0, 0 ],
162 rgbimg_mat = its.image.apply_matrix_to_image(rgbimg, mat)
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java515 Matrix mat = new Matrix();
516 mat.postRotate(degrees);
517 mat.postConcat(matrixMirrorX);
524 mat,
/cts/apps/CameraITS/pymodules/its/
Dimage.py589 def apply_matrix_to_image(img, mat): argument
609 img2.reshape(w*h*3)[:] = (numpy.dot(img.reshape(h*w, 3), mat.T)
823 mat = numpy.array([[1,2,3], [4,5,6], [7,8,9]])
825 y = apply_matrix_to_image(x, mat).reshape(3).tolist()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java1198 private Mat mat; field in RVCVXCheckAnalyzer.VideoDecoderForOpenCV.MatBuffer
1211 mat = new Mat(height, width, CvType.CV_8UC4); //RGBA in MatBuffer()
1236 mat.put(0,0, bytes); in get()
1240 return mat; in get()
1263 return mat.size(); in getSize()
/cts/tests/tests/rsblas/assets/
Dblas_gen.py59 a = mat(random.randint(1, 10, size=(m, n)).astype('f4')/scale)
64 a = mat(random.randint(1, 10, size=(m, n)).astype('f8')/scale)
69 a_real = mat(random.randint(1, 10, size=(m, n)).astype('f4')/scale)
70 a_img = mat(random.randint(1, 10, size=(m, n)).astype('f4')/scale)
76 a_real = mat(random.randint(1, 10, size=(m, n)).astype('f8')/scale)
77 a_img = mat(random.randint(1, 10, size=(m, n)).astype('f8')/scale)
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jar ... boolean retVal public static org.opencv.core.Mat imdecode (org.opencv.core.Mat, ...