Home
last modified time | relevance | path

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

/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSColorMatrixTest.java38 byte[] byteAlloc = new byte[X * Y * 4]; in testRSColorMatrix0()
40 byteAlloc[i] = (byte)baseAlloc[i]; in testRSColorMatrix0()
59 rsInput.copyFromUnchecked(byteAlloc); in testRSColorMatrix0()
67 …colorMatrixTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, coef… in testRSColorMatrix0() local
78 byte[] byteAlloc = new byte[X * Y * 4]; in testRSColorMatrix1()
80 byteAlloc[i] = (byte)baseAlloc[i]; in testRSColorMatrix1()
90 rsInput.copyFromUnchecked(byteAlloc); in testRSColorMatrix1()
97 …colorMatrixTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, coef… in testRSColorMatrix1() local
109 byte[] byteAlloc = new byte[X * Y * 4]; in testRSColorMatrix2()
111 byteAlloc[i] = (byte)baseAlloc[i]; in testRSColorMatrix2()
[all …]
DRSBlurTest.java38 byte[] byteAlloc = new byte[X * Y]; in testRSBlurOneChannel()
40 byteAlloc[i] = (byte)baseAlloc[i]; in testRSBlurOneChannel()
48 rsInput.copyFromUnchecked(byteAlloc); in testRSBlurOneChannel()
55 … blurTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, true); in testRSBlurOneChannel() local
67 byte[] byteAlloc = new byte[X * Y * 4]; in testRSBlurFourChannels()
69 byteAlloc[i] = (byte)baseAlloc[i]; in testRSBlurFourChannels()
77 rsInput.copyFromUnchecked(byteAlloc); in testRSBlurFourChannels()
84 … blurTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, false); in testRSBlurFourChannels() local
DRSConvolveTest.java49 byte[] byteAlloc = new byte[X * Y]; in testConvolve3x3()
51 byteAlloc[i] = (byte)baseAlloc[i]; in testConvolve3x3()
59 rsInput.copyFromUnchecked(byteAlloc); in testConvolve3x3()
66 …convolveTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, coeffs,… in testConvolve3x3() local
106 byte[] byteAlloc = new byte[X * Y]; in testConvolve5x5()
108 byteAlloc[i] = (byte)baseAlloc[i]; in testConvolve5x5()
116 rsInput.copyFromUnchecked(byteAlloc); in testConvolve5x5()
123 …convolveTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, coeffs,… in testConvolve5x5() local
DRSLUTTest.java38 byte[] byteAlloc = new byte[X * Y * 4]; in testRSLUT()
40 byteAlloc[i] = (byte)baseAlloc[i]; in testRSLUT()
48 rsInput.copyFromUnchecked(byteAlloc); in testRSLUT()
59 … lutTest(this.getContext().getCacheDir().toString().toString(), X, Y, byteAlloc, nativeByteAlloc); in testRSLUT() local
DRS3DLUTTest.java42 byte[] byteAlloc = new byte[X * Y * 4]; in testRSLUT()
45 byteAlloc[i] = (byte)baseAlloc[i]; in testRSLUT()
56 rsInput.copyFromUnchecked(byteAlloc); in testRSLUT()
70 …lutTest(this.getContext().getCacheDir().toString(), X, Y, lutSize, byteAlloc, byteColorCube, nativ… in testRSLUT() local
DRSBlendTest.java39 byte[] byteAlloc = new byte[X * Y * 4]; in testRSBlend()
41 byteAlloc[i] = (byte)baseAlloc[i]; in testRSBlend()
56 rsInput.copyFromUnchecked(byteAlloc); in testRSBlend()
111 … blendTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, byteAlloc2, iter); in testRSBlend() local
DRSResizeTest.java49 byte[] byteAlloc = null; in testResize()
54 byteAlloc = new byte[arrSize]; in testResize()
56 byteAlloc[i] = (byte)baseAlloc[i]; in testResize()
58 rsInput.copyFromUnchecked(byteAlloc); in testResize()
82 useByte, vecSize, byteAlloc, nativeByteAlloc, floatAlloc, nativeFloatAlloc); in testResize() local