Home
last modified time | relevance | path

Searched refs:mat (Results 1 – 7 of 7) 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/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java531 Matrix mat = new Matrix();
532 mat.postRotate(degrees);
533 mat.postConcat(matrixMirrorX);
540 mat,
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java1237 private Mat mat; field in RVCVXCheckAnalyzer.VideoDecoderForOpenCV.MatBuffer
1250 mat = new Mat(height, width, CvType.CV_8UC4); //RGBA in MatBuffer()
1275 mat.put(0,0, bytes); in get()
1279 return mat; in get()
1302 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, ...