Home
last modified time | relevance | path

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

/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
DExactComparer.java61 RenderScript renderScript, Allocation inputAllocation, Allocation outputAllocation) { in verifySameRowsRS() argument
73 mScript.forEach_exactCompare(inputAllocation, outputAllocation); in verifySameRowsRS()
75 float val = sum1DFloatAllocation(outputAllocation); in verifySameRowsRS()
DMeanSquaredComparer.java54 RenderScript renderScript, Allocation inputAllocation, Allocation outputAllocation) { in verifySameRowsRS() argument
65 mScript.forEach_calcMSE(inputAllocation, outputAllocation); in verifySameRowsRS()
67 float error = sum1DFloatAllocation(outputAllocation); in verifySameRowsRS()
DThresholdDifferenceComparer.java70 RenderScript renderScript, Allocation inputAllocation, Allocation outputAllocation) { in verifySameRowsRS() argument
83 mScript.forEach_thresholdCompare(inputAllocation, outputAllocation); in verifySameRowsRS()
85 float differentPixels = sum1DFloatAllocation(outputAllocation); in verifySameRowsRS()
DMSSIMComparer.java88 RenderScript renderScript, Allocation inputAllocation, Allocation outputAllocation) { in verifySameRowsRS() argument
100 mScript.forEach_calcSSIM(inputAllocation, outputAllocation); in verifySameRowsRS()
102 float MSSIM = sum1DFloatAllocation(outputAllocation); in verifySameRowsRS()
DBaseRenderScriptComparer.java25 RenderScript renderScript, Allocation inputAllocation, Allocation outputAllocation); in verifySameRowsRS() argument
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DReduceTest.java242 Allocation outputAllocation = Allocation.createSized(mRS, Element.F16_2(mRS), 1); in findMinAndMaxHalf() local
244 mScript.invoke_findMinAndMaxHalf(outputAllocation, inputAllocation); in findMinAndMaxHalf()
247 outputAllocation.copyTo(outputArray); in findMinAndMaxHalf()
281 Allocation outputAllocation = Allocation.createSized(mRS, Element.F16_2(mRS), 2); in findMinAndMaxHalf2() local
283 mScript.invoke_findMinAndMaxHalf2(outputAllocation, inputAllocation); in findMinAndMaxHalf2()
286 outputAllocation.copyTo(outputArray); in findMinAndMaxHalf2()
424 … Allocation outputAllocation = Allocation.createSized(mRS, Element.U32(mRS), histogramBucketCount); in histogram() local
427 scriptHsg.setOutput(outputAllocation); in histogram()
431 outputAllocation.copyTo(outputArrayMistyped); in histogram()
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DScriptGraph.java170 Allocation outputAllocation = getOutputAllocation(); in getOutputData() local
172 byte[] destination = new byte[outputAllocation.getBytesSize()]; in getOutputData()
173 outputAllocation.copyTo(destination); in getOutputData()