/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
UT_alloc.java | 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); 46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); 49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); 52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
UT_alloc.java | 40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); 46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); 49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); 52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create());
|
/frameworks/rs/tests/cppbasic-getpointer/ |
compute.cpp | 35 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000); 36 printf("Allocation %p\n", a1.get()); 38 sp<Allocation> ain = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED); 39 sp<Allocation> aout = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED); 40 printf("Allocation %p %p\n", ain.get(), aout.get());
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
ScriptIntrinsic3DLUT.java | 25 * allocation. The 8 nearest values are sampled and linearly interpolated. The 31 private Allocation mLUT; 64 * Sets the {@link android.support.v8.renderscript.Allocation} to be used as 72 public void setLUT(Allocation lut) { 92 * @param ain Input allocation 93 * @param aout Output allocation 95 public void forEach(Allocation ain, Allocation aout) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
Buffer.java | 21 import android.support.v8.renderscript.Allocation; 30 private Allocation mAllocation; 41 // TODO: recreate the allocation when the RS context changes 42 mAllocation = Allocation.createFromBitmap(rs, mBitmap, 43 Allocation.MipmapControl.MIPMAP_NONE, 44 Allocation.USAGE_SHARED | Allocation.USAGE_SCRIPT); 68 public Allocation getAllocation() {
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestFma.java | 21 import android.renderscript.Allocation; 45 Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x5f6b3ee0c3466c2l, false); 46 Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x5f6b3ee0c3466c3l, false); 47 Allocation inC = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x5f6b3ee0c3466c4l, false); 49 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); 68 private void verifyResultsFmaFloatFloatFloatFloat(Allocation inA, Allocation inB, Allocation inC, Allocation out, boolean relaxed) [all...] |
TestMad.java | 21 import android.renderscript.Allocation; 45 Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xb3b9b8429c37eacl, false); 46 Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xb3b9b8429c37eadl, false); 47 Allocation inC = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xb3b9b8429c37eael, false); 49 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); 68 private void verifyResultsMadFloatFloatFloatFloat(Allocation inA, Allocation inB, Allocation inC, Allocation out, boolean relaxed) [all...] |
TestStep.java | 21 import android.renderscript.Allocation; 44 Allocation inEdge = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x598900c49184fbfel, false); 45 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x9aefccaa832f44e9l, false); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 64 private void verifyResultsStepFloatFloatFloat(Allocation inEdge, Allocation inV, Allocation out, boolean relaxed) [all...] |
TestClamp.java | 21 import android.renderscript.Allocation; 45 Allocation inValue = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x7e886d7cc83c447dl, false); 46 Allocation inMinValue = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xdcebf6f230234027l, false); 47 Allocation inMaxValue = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xdcebf6e6c180322dl, false); 50 Allocation out = 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); 69 private void verifyResultsClampFloatFloatFloatFloat(Allocation inValue, Allocation inMinValue, Allocation inMaxValue, Allocation out, boolean relaxed) [all...] |
TestClz.java | 21 import android.renderscript.Allocation; 43 Allocation inValue = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 1, 0xf6f3a15e2f7765afl, false); 45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 1), INPUTSIZE); 52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 1), INPUTSIZE); 60 private void verifyResultsClzCharChar(Allocation inValue, Allocation out, boolean relaxed) { 99 Allocation inValue = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 2, 0xf718b99dcaca5e93l, false); 101 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 2), INPUTSIZE) [all...] |
TestAcos.java | 21 import android.renderscript.Allocation; 43 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xf6e893f6d1cc3bdfl, -1, 1); 45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 60 private void verifyResultsAcosFloatFloat(Allocation inV, Allocation out, boolean relaxed) { 102 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x55af66f81096ae8bl, -1, 1); 104 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestAcosh.java | 21 import android.renderscript.Allocation; 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xb2c74105f8e94ea7l, false); 45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 60 private void verifyResultsAcoshFloatFloat(Allocation in, Allocation out, boolean relaxed) { 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x4123c61e7e518f4bl, false); 104 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestAcospi.java | 21 import android.renderscript.Allocation; 43 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x9fbdc3b5d1e084b2l, -1, 1); 45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 60 private void verifyResultsAcospiFloatFloat(Allocation inV, Allocation out, boolean relaxed) { 102 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xc175417fa318aa86l, -1, 1); 104 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestAsin.java | 21 import android.renderscript.Allocation; 43 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x80b5674ff98b5a12l, -1, 1); 45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 60 private void verifyResultsAsinFloatFloat(Allocation inV, Allocation out, boolean relaxed) { 102 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x9e11e5e823f7cce6l, -1, 1); 104 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestAsinh.java | 21 import android.renderscript.Allocation; 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x3c94145f20a86cdal, false); 45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 60 private void verifyResultsAsinhFloatFloat(Allocation in, Allocation out, boolean relaxed) { 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x8986450e91b2ada6l, false); 104 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestAsinpi.java | 21 import android.renderscript.Allocation; 43 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe82042a5e541a30dl, -1, 1); 45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 60 private void verifyResultsAsinpiFloatFloat(Allocation inV, Allocation out, boolean relaxed) { 102 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x90dc157b9b8ce9c9l, -1, 1); 104 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestAtan.java | 21 import android.renderscript.Allocation; 43 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x2a9ae39592004c8dl, -1, 1); 45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 60 private void verifyResultsAtanFloatFloat(Allocation inV, Allocation out, boolean relaxed) { 102 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xb890789248a32749l, -1, 1); 104 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestAtanh.java | 21 import android.renderscript.Allocation; 43 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xb66b4bab17ef039dl, -1, 1); 45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 60 private void verifyResultsAtanhFloatFloat(Allocation inV, Allocation out, boolean relaxed) { 102 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x8cd03c06a1cb59d9l, -1, 1); 104 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestAtanpi.java | 21 import android.renderscript.Allocation; 43 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x29ed55009ecfd70l, -1, 1); 45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 60 private void verifyResultsAtanpiFloatFloat(Allocation inV, Allocation out, boolean relaxed) { 102 Allocation inV = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xed0d645e752cbed4l, -1, 1); 104 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestCbrt.java | 21 import android.renderscript.Allocation; 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x4e2c540726cc677al, false); 45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 60 private void verifyResultsCbrtFloatFloat(Allocation in, Allocation out, boolean relaxed) { 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x9e2a09a2eb8fdb46l, false); 104 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_instance.java | 49 Allocation ai1 = Allocation.createTyped(mRS, t); 50 Allocation ai2 = Allocation.createTyped(mRS, t); 51 Allocation ai3 = Allocation.createTyped(mRS, t); 52 Allocation ai4 = Allocation.createTyped(mRS, t); 53 Allocation ai5 = Allocation.createTyped(mRS, t) [all...] |
/frameworks/base/rs/java/android/renderscript/ |
AllocationAdapter.java | 23 public class AllocationAdapter extends Allocation { 24 AllocationAdapter(long id, RenderScript rs, Allocation alloc) { 130 * type being adapted. The base allocation must have mipmaps. 139 throw new RSInvalidStateException("Cannot set LOD when the allocation type does not include mipmaps."); 149 * Set the active Face. The base allocation must be of a type 156 throw new RSInvalidStateException("Cannot set Face when the allocation type does not include faces."); 170 * the allocation being adapted. The base allocation must 177 throw new RSInvalidStateException("Cannot set Y when the allocation type does not include Y dim."); 180 throw new RSInvalidStateException("Cannot set Y greater than dimension of allocation.") [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/ |
Script.java | 22 import android.renderscript.Allocation; 31 * <p>Each script has exactly one input and one output allocation, and is able to execute 34 * <p>Each script owns it's input allocation, but not the output allocation.</p> 187 protected Allocation mOutputAllocation; 188 protected Allocation mInputAllocation; 225 void setInput(Allocation allocation) { 227 checkNotNull("allocation", allocation); [all...] |
/ndk/docs/renderscript/ |
classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html | 56 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#addb362087b29501a147532b71fa1bd84">forEachClear</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 57 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#a4a9b89fe7c7d0b508cb76ef3ff17b21f">forEachSrc</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 58 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#a0fd92d628989897bc74950dfe7d526a9">forEachDst</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 59 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#a549d5ac3e162fe09953e91c3f051bfe1">forEachSrcOver</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr> 60 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classandroid_1_1RSC_1_1ScriptIntrinsicBlend.html#a345320822d155e67b31bf3dd3bdd92cd">forEachDstOver</a> (sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > in, sp< <a class="el" href="classandroid_1_1RSC_1_1Allocation.html">Allocation</a> > out)</td></tr [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/lib/rs/ |
libRSSupport.so | |