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.java26 private void subtest(int w, int h, Matrix4f mat, Float4 add, in subtest() argument
32 if (mat == null) { in subtest()
33 mat = new Matrix4f(); in subtest()
57 mSi.setColorMatrix(mat); in subtest()
64 mSr.invoke_reference(mat, add, mAllocSrc, mAllocRef, x1, y1, x2, y2); in subtest()
75 Matrix4f mat = new Matrix4f(); in test() local
78 float f[] = mat.getArray(); in test()
87 mat.loadIdentity(); in test()
91 mat.set(0, 0, 1.f); in test()
92 mat.set(0, 1, 1.f); in test()
[all …]
DScriptGroupTest.java502 Matrix4f mat = new Matrix4f(); in testBuilder2InvokeToKernelDependency() local
504 mat.set(0, 0, 0.0f); in testBuilder2InvokeToKernelDependency()
505 mat.set(0, 1, 0.0f); in testBuilder2InvokeToKernelDependency()
506 mat.set(0, 2, 0.0f); in testBuilder2InvokeToKernelDependency()
507 mat.set(0, 3, 1.0f); in testBuilder2InvokeToKernelDependency()
509 mat.set(1, 0, 1.0f); in testBuilder2InvokeToKernelDependency()
510 mat.set(1, 1, 0.0f); in testBuilder2InvokeToKernelDependency()
511 mat.set(1, 2, 0.0f); in testBuilder2InvokeToKernelDependency()
512 mat.set(1, 3, 0.0f); in testBuilder2InvokeToKernelDependency()
514 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.py535 def apply_matrix_to_image(img, mat): argument
555 img2.reshape(w*h*3)[:] = (numpy.dot(img.reshape(h*w, 3), mat.T)
703 mat = numpy.array([[1,2,3],[4,5,6],[7,8,9]])
705 y = apply_matrix_to_image(x, mat).reshape(3).tolist()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java1190 private Mat mat; field in RVCVXCheckAnalyzer.VideoDecoderForOpenCV.MatBuffer
1203 mat = new Mat(height, width, CvType.CV_8UC4); //RGBA in MatBuffer()
1228 mat.put(0,0, bytes); in get()
1232 return mat; in get()
1255 return mat.size(); in getSize()
/cts/tests/tests/renderscript/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/
Dopencv-android.jar ... core.MatOfKeyPoint, org.opencv.core.Mat) org.opencv.core.Mat image org