/frameworks/base/rs/java/android/renderscript/ |
ScriptIntrinsicConvolve3x3.java | 20 * Intrinsic for applying a 3x3 convolve to an allocation. 25 private Allocation mInput; 72 * @param ain The input allocation. 74 public void setInput(Allocation ain) { 102 * allocation. 104 * @param aout Output allocation. Must match creation element 107 public void forEach(Allocation aout) { 108 forEach(0, (Allocation) null, aout, null); 113 * allocation. 115 * @param aout Output allocation. Must match creation elemen [all...] |
ScriptIntrinsicConvolve5x5.java | 20 * Intrinsic for applying a 5x5 convolve to an allocation. 25 private Allocation mInput; 72 * @param ain The input allocation. 74 public void setInput(Allocation ain) { 104 * allocation. 106 * @param aout Output allocation. Must match creation element 109 public void forEach(Allocation aout) { 110 forEach(0, (Allocation) null, aout, null); 115 * allocation. 117 * @param aout Output allocation. Must match creation elemen [all...] |
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_copy_test.java | 34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); 35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024); 58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); 59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024); 82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024) [all...] |
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
UT_copy_test.java | 34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); 35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024); 58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); 59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024); 82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024) [all...] |
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_copy_test.java | 34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); 35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024); 58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); 59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024); 82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024) [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
ScriptIntrinsicConvolve3x3.java | 22 * Intrinsic for applying a 3x3 convolve to an allocation. 27 private Allocation mInput; 81 * @param ain The input allocation. 83 public void setInput(Allocation ain) { 111 * allocation. 113 * @param aout Output allocation. Must match creation element 116 public void forEach(Allocation aout) { 117 forEach(0, (Allocation) null, aout, null); 122 * allocation. 124 * @param aout Output allocation. Must match creation elemen [all...] |
ScriptIntrinsicConvolve5x5.java | 22 * Intrinsic for applying a 5x5 convolve to an allocation. 27 private Allocation mInput; 82 * @param ain The input allocation. 84 public void setInput(Allocation ain) { 114 * allocation. 116 * @param aout Output allocation. Must match creation element 119 public void forEach(Allocation aout) { 120 forEach(0, (Allocation) null, aout, null); 125 * allocation. 127 * @param aout Output allocation. Must match creation elemen [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
PipelineInterface.java | 21 import android.renderscript.Allocation; 27 public Allocation getInPixelsAllocation(); 28 public Allocation getOutPixelsAllocation();
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestConvert.java | 21 import android.renderscript.Allocation; 46 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x4e1f6ac6l, -1.6163412428744576259e+38, 1.6163412428744576259e+38); 48 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 63 private void verifyResultsConvertFloat2Float2(Allocation inV, Allocation out, boolean relaxed) { 115 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x443a8ba4l, -1.6163412428744576259e+38, 1.6163412428744576259e+38); 117 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE) [all...] |
TestNativeSincos.java | 21 import android.renderscript.Allocation; 47 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x6436cc13l, false); 49 Allocation outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 59 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE) [all...] |
TestSincos.java | 21 import android.renderscript.Allocation; 47 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe46c48d4l, false); 49 Allocation outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 59 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE) [all...] |
TestAtan2.java | 21 import android.renderscript.Allocation; 47 Allocation inNumerator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe261d332l, false); 48 Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x7bd90d5bl, false); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 private void verifyResultsAtan2FloatFloatFloat(Allocation inNumerator, Allocation inDenominator, Allocation out, boolean relaxed) [all...] |
TestAtan2pi.java | 21 import android.renderscript.Allocation; 47 Allocation inNumerator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x81dcb793l, false); 48 Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x5a748df4l, false); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 private void verifyResultsAtan2piFloatFloatFloat(Allocation inNumerator, Allocation inDenominator, Allocation out, boolean relaxed) [all...] |
TestCopysign.java | 21 import android.renderscript.Allocation; 47 Allocation inMagnitudeValue = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xcf086614l, false); 48 Allocation inSignValue = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x9d8d3ef5l, false); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 private void verifyResultsCopysignFloatFloatFloat(Allocation inMagnitudeValue, Allocation inSignValue, Allocation out, boolean relaxed) [all...] |
TestFdim.java | 21 import android.renderscript.Allocation; 47 Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xc3a47366l, false); 48 Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xc3a47367l, false); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 private void verifyResultsFdimFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boolean relaxed) [all...] |
TestFmod.java | 21 import android.renderscript.Allocation; 47 Allocation inNumerator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xdcc790e8l, false); 48 Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x4b044e1l, false); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 private void verifyResultsFmodFloatFloatFloat(Allocation inNumerator, Allocation inDenominator, Allocation out, boolean relaxed) [all...] |
TestHypot.java | 21 import android.renderscript.Allocation; 47 Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x738c74c4l, false); 48 Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x738c74c5l, false); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 private void verifyResultsHypotFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boolean relaxed) [all...] |
TestNativeAtan2.java | 21 import android.renderscript.Allocation; 47 Allocation inNumerator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xfb6dcb4fl, false); 48 Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x634c16d0l, false); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 private void verifyResultsNativeAtan2FloatFloatFloat(Allocation inNumerator, Allocation inDenominator, Allocation out, boolean relaxed) [all...] |
TestNativeAtan2pi.java | 21 import android.renderscript.Allocation; 47 Allocation inNumerator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x694fc108l, false); 48 Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x853dc01l, false); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 private void verifyResultsNativeAtan2piFloatFloatFloat(Allocation inNumerator, Allocation inDenominator, Allocation out, boolean relaxed) [all...] |
TestNativeDivide.java | 21 import android.renderscript.Allocation; 47 Allocation inLeftVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x751754efl, false); 48 Allocation inRightVector = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x19040daal, false); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 private void verifyResultsNativeDivideFloatFloatFloat(Allocation inLeftVector, Allocation inRightVector, Allocation out, boolean relaxed) [all...] |
TestNativeHypot.java | 21 import android.renderscript.Allocation; 47 Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xbdf66001l, false); 48 Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xbdf66002l, false); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 private void verifyResultsNativeHypotFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boolean relaxed) [all...] |
TestNativePowr.java | 21 import android.renderscript.Allocation; 47 Allocation inBase = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x834d1839l, 0, 256); 48 Allocation inExponent = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xf9181f0fl, -15, 15); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 private void verifyResultsNativePowrFloatFloatFloat(Allocation inBase, Allocation inExponent, Allocation out, boolean relaxed) [all...] |
TestPow.java | 21 import android.renderscript.Allocation; 47 Allocation inBase = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x622b91eel, false); 48 Allocation inExponent = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x49a5f734l, false); 50 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 58 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 private void verifyResultsPowFloatFloatFloat(Allocation inBase, Allocation inExponent, Allocation out, boolean relaxed) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
ImageBuffersForRenderScript.java | 20 import android.renderscript.Allocation; 30 * Input and output images and their corresponding Allocation to interface 35 public Allocation inAllocation; 36 public Allocation outAllocation; 49 inAllocation = Allocation.createFromBitmap(renderScript, inputImage); 53 outAllocation = Allocation.createFromBitmap(renderScript, outputImage);
|
/frameworks/rs/cpp/ |
ScriptIntrinsicBLAS.cpp | 177 static void validateGEMV(RS* mRS, sp<const Element> e, RsBlasTranspose TransA, sp<Allocation> A, 178 sp<Allocation> X, int incX, sp<Allocation> Y, int incY) { 207 void ScriptIntrinsicBLAS::SGEMV(RsBlasTranspose TransA, float alpha, sp<Allocation> A, sp<Allocation> X, 208 int incX, float beta, sp<Allocation> Y, int incY) { 218 void ScriptIntrinsicBLAS::DGEMV(RsBlasTranspose TransA, double alpha, sp<Allocation> A, sp<Allocation> X, 219 int incX, double beta, sp<Allocation> Y, int incY) { 229 void ScriptIntrinsicBLAS::CGEMV(RsBlasTranspose TransA, Float2 alpha, sp<Allocation> A, sp<Allocation> X [all...] |