/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
clear_object.rs | 4 rs_allocation allocation; 8 rsClearObject( &allocation ); 9 *out = ( NULL == allocation.p ? 1 : 0 );
|
/cts/tests/tests/rscpp/librscpptest/ |
clear_object.rs | 4 rs_allocation allocation; 8 rsClearObject( &allocation ); 9 *out = ( NULL == allocation.p ? 1 : 0 );
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSBlurTest.java | 46 Allocation rsInput = Allocation.createTyped(mRS, build.create()); 47 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); 57 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create()); 75 Allocation rsInput = Allocation.createTyped(mRS, build.create()); 76 Allocation rsOutput = Allocation.createTyped(mRS, build.create()) [all...] |
/frameworks/base/rs/java/android/renderscript/ |
ScriptIntrinsic3DLUT.java | 23 * allocation. The 8 nearest values are sampled and linearly interpolated. The 28 private Allocation mLUT; 57 * Sets the {@link android.renderscript.Allocation} to be used as the lookup table. 63 public void setLUT(Allocation lut) { 83 * @param ain Input allocation 84 * @param aout Output allocation 86 public void forEach(Allocation ain, Allocation aout) { 94 * @param ain Input allocation 95 * @param aout Output allocation [all...] |
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...] |
/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 | 175 static void validateGEMV(RS* mRS, sp<const Element> e, RsBlasTranspose TransA, sp<Allocation> A, 176 sp<Allocation> X, int incX, sp<Allocation> Y, int incY) { 205 void ScriptIntrinsicBLAS::SGEMV(RsBlasTranspose TransA, float alpha, sp<Allocation> A, sp<Allocation> X, 206 int incX, float beta, sp<Allocation> Y, int incY) { 216 void ScriptIntrinsicBLAS::DGEMV(RsBlasTranspose TransA, double alpha, sp<Allocation> A, sp<Allocation> X, 217 int incX, double beta, sp<Allocation> Y, int incY) { 227 void ScriptIntrinsicBLAS::CGEMV(RsBlasTranspose TransA, Float2 alpha, sp<Allocation> A, sp<Allocation> X [all...] |