Home
last modified time | relevance | path

Searched refs:nativeByteAlloc (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSColorMatrixTest.java66 byte[] nativeByteAlloc = new byte[X * Y * 4]; in testRSColorMatrix0()
67 …atrixTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, coeffs, 0); in testRSColorMatrix0() local
70 rsCppOutput.copyFromUnchecked(nativeByteAlloc); in testRSColorMatrix0()
96 byte[] nativeByteAlloc = new byte[X * Y * 4]; in testRSColorMatrix1()
97 …atrixTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, coeffs, 1); in testRSColorMatrix1() local
100 rsCppOutput.copyFromUnchecked(nativeByteAlloc); in testRSColorMatrix1()
131 byte[] nativeByteAlloc = new byte[X * Y * 4]; in testRSColorMatrix2()
132 …atrixTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, coeffs, 2); in testRSColorMatrix2() local
135 rsCppOutput.copyFromUnchecked(nativeByteAlloc); in testRSColorMatrix2()
162 byte[] nativeByteAlloc = new byte[X * Y * 4]; in testRSColorMatrix3()
[all …]
DRSBlurTest.java54 byte[] nativeByteAlloc = new byte[X * Y]; in testRSBlurOneChannel()
55 … blurTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, true); in testRSBlurOneChannel() local
58 rsCppOutput.copyFromUnchecked(nativeByteAlloc); in testRSBlurOneChannel()
83 byte[] nativeByteAlloc = new byte[X * Y * 4]; in testRSBlurFourChannels()
84 … blurTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, false); in testRSBlurFourChannels() local
87 rsCppOutput.copyFromUnchecked(nativeByteAlloc); in testRSBlurFourChannels()
DRSYuvTest.java105 byte[] nativeByteAlloc = new byte[width * height * 4]; in testV17()
106 yuvTest(this.getContext().getCacheDir().toString(), width, height, tmp, nativeByteAlloc, 0); in testV17() local
107 aref.copyFromUnchecked(nativeByteAlloc); in testV17()
143 byte[] nativeByteAlloc = new byte[width * height * 4]; in test_YV12()
144 yuvTest(this.getContext().getCacheDir().toString(), width, height, tmp, nativeByteAlloc, in test_YV12() local
146 aref.copyFromUnchecked(nativeByteAlloc); in test_YV12()
180 byte[] nativeByteAlloc = new byte[width * height * 4]; in test_NV21()
181 yuvTest(this.getContext().getCacheDir().toString(), width, height, tmp, nativeByteAlloc, in test_NV21() local
183 aref.copyFromUnchecked(nativeByteAlloc); in test_NV21()
DRSConvolveTest.java65 byte[] nativeByteAlloc = new byte[X * Y]; in testConvolve3x3()
66 …convolveTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, coeffs,… in testConvolve3x3() local
69 rsCppOutput.copyFromUnchecked(nativeByteAlloc); in testConvolve3x3()
122 byte[] nativeByteAlloc = new byte[X * Y]; in testConvolve5x5()
123 …convolveTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, coeffs,… in testConvolve5x5() local
126 rsCppOutput.copyFromUnchecked(nativeByteAlloc); in testConvolve5x5()
DRSLUTTest.java58 byte[] nativeByteAlloc = new byte[X * Y * 4]; in testRSLUT()
59 … lutTest(this.getContext().getCacheDir().toString().toString(), X, Y, byteAlloc, nativeByteAlloc); in testRSLUT() local
62 rsCppOutput.copyFromUnchecked(nativeByteAlloc); in testRSLUT()
DRS3DLUTTest.java69 byte[] nativeByteAlloc = new byte[X * Y * 4]; in testRSLUT()
70 …s.getContext().getCacheDir().toString(), X, Y, lutSize, byteAlloc, byteColorCube, nativeByteAlloc); in testRSLUT() local
73 rsCppOutput.copyFromUnchecked(nativeByteAlloc); in testRSLUT()
DRSResizeTest.java79 byte[] nativeByteAlloc = new byte[outArrSize]; in testResize()
82 useByte, vecSize, byteAlloc, nativeByteAlloc, floatAlloc, nativeFloatAlloc); in testResize() local
85 rsCppOutput.copyFromUnchecked(nativeByteAlloc); in testResize()