/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | IntrinsicColorMatrix.java | 26 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 …]
|
D | ScriptGroupTest.java | 502 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/ |
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 | 515 Matrix mat = new Matrix(); 516 mat.postRotate(degrees); 517 mat.postConcat(matrixMirrorX); 524 mat,
|
/cts/apps/CameraITS/pymodules/its/ |
D | image.py | 535 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/ |
D | RVCVXCheckAnalyzer.java | 1190 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/ |
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)
|
/cts/apps/CtsVerifier/libs/ |
D | opencv-android.jar | ... core.MatOfKeyPoint, org.opencv.core.Mat)
org.opencv.core.Mat image
org |