/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | IntrinsicColorMatrix.java | 35 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 …]
|
D | ScriptGroupTest.java | 556 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/ |
D | RSColorMatrixTest.java | 62 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/ |
D | tutorial.py | 159 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/ |
D | CameraOrientationActivity.java | 519 Matrix mat = new Matrix(); 520 mat.postRotate(degrees); 521 mat.postConcat(matrixMirrorX); 528 mat,
|
/cts/apps/CameraITS/pymodules/its/ |
D | image.py | 626 def apply_matrix_to_image(img, mat): argument 646 img2.reshape(w*h*3)[:] = (numpy.dot(img.reshape(h*w, 3), mat.T) 905 mat = numpy.array([[1,2,3], [4,5,6], [7,8,9]]) 907 y = apply_matrix_to_image(x, mat).reshape(3).tolist()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckAnalyzer.java | 1220 private Mat mat; field in RVCVXCheckAnalyzer.VideoDecoderForOpenCV.MatBuffer 1233 mat = new Mat(height, width, CvType.CV_8UC4); //RGBA in MatBuffer() 1258 mat.put(0,0, bytes); in get() 1262 return mat; in get() 1285 return mat.size(); in getSize()
|
/cts/tests/tests/rsblas/assets/ |
D | blas_gen.py | 59 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)
|