/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestNan.java | 21 import android.renderscript.Allocation; 43 Allocation in = createRandomAllocation(mRS, Element.DataType.UNSIGNED_32, 1, 0x757e939c0e627774l, 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 verifyResultsNanUintFloat(Allocation in, Allocation out, boolean relaxed) {
|
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...] |
RsPackColorTo8888Test.java | 19 import android.renderscript.Allocation; 35 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException { 69 Allocation mAllocationIn = Allocation.createSized(mRS, Element.F32_3(mRS), INPUTSIZE); 70 Allocation mAllocationOut = Allocation.createSized(mRS, Element.U8_4(mRS), INPUTSIZE); 96 Allocation mAllocationIn = Allocation.createSized(mRS, Element.F32_4(mRS), INPUTSIZE); 97 Allocation mAllocationOut = Allocation.createSized(mRS, Element.U8_4(mRS), INPUTSIZE) [all...] |
VoidPtr.java | 19 import android.renderscript.Allocation; 25 Allocation AOutput; 26 Allocation AInput; 27 Allocation AFailed; 35 AFailed = Allocation.createTyped(mRS, t); 44 * allocation, even if the pointer passed to the kernel of the script 47 * This test runs for an allocation of type int 56 AOutput = Allocation.createTyped(mRS, t); 72 * allocation, even if the pointer passed to the kernel of the script 75 * This test runs for an allocation of type uchar [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...] |
TestCeil.java | 21 import android.renderscript.Allocation; 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xa65a49d160f51d9al, 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 verifyResultsCeilFloatFloat(Allocation in, Allocation out, boolean relaxed) { 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x821e4b40fb9b4866l, false); 104 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestCos.java | 21 import android.renderscript.Allocation; 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x35eace7a33fd0be0l, 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 verifyResultsCosFloatFloat(Allocation in, Allocation out, boolean relaxed) { 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x6cec729d2fe33ffcl, false); 104 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RS3DLUTTest.java | 54 Allocation rsInput = Allocation.createTyped(mRS, build.create()); 55 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); 62 Allocation cube = Allocation.createTyped(mRS, buildCube.create()); 72 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create());
|
/frameworks/rs/cpu_ref/ |
rsd_cpu.h | 73 const Allocation * ain, 74 Allocation * aout, 80 const Allocation** ains, 82 Allocation * aout, 94 virtual void setGlobalBind(uint32_t slot, Allocation *data) = 0; 97 virtual Allocation * getAllocationForPointer(const void *ptr) const = 0; 108 virtual void setInput(const ScriptKernelID *kid, Allocation *) = 0; 109 virtual void setOutput(const ScriptKernelID *kid, Allocation *) = 0;
|
/frameworks/rs/driver/ |
rsdPath.h | 25 const android::renderscript::Allocation *vertex, 26 const android::renderscript::Allocation *loops);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/ |
Visualization5RS.java | 70 private Allocation[] mTextures; 77 protected Allocation mPointAlloc; 82 private Allocation mLineIdxAlloc; 168 mTextures = new Allocation[8]; 169 mTextures[0] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.background, 170 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE, 171 Allocation.USAGE_GRAPHICS_TEXTURE); 173 mTextures[1] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.frame, 174 Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE, 175 Allocation.USAGE_GRAPHICS_TEXTURE) [all...] |
/frameworks/rs/cpp/ |
Allocation.cpp | 23 void * Allocation::getIDSafe() const { 27 void Allocation::updateCacheInfo(sp<const Type> t) { 40 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) : 75 void Allocation::validateIsInt32() { 80 ALOGE("32 bit integer source does not match allocation type %i", dt); 83 void Allocation::validateIsInt16() { 88 ALOGE("16 bit integer source does not match allocation type %i", dt); 91 void Allocation::validateIsInt8() { 96 ALOGE("8 bit integer source does not match allocation type %i", dt) [all...] |
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
BallsRS.java | 39 private Allocation mGridCache; 43 Allocation.USAGE_SCRIPT | 44 Allocation.USAGE_GRAPHICS_CONSTANTS); 72 private Allocation loadTexture(int id) { 73 final Allocation allocation = local 74 Allocation.createFromBitmapResource(mRS, mRes, 75 id, Allocation.MipmapControl.MIPMAP_NONE, 76 Allocation.USAGE_GRAPHICS_TEXTURE); 77 return allocation; [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
ScriptIntrinsicBlendThunker.java | 43 public void forEachClear(Allocation ain, Allocation aout) { 64 public void forEachSrc(Allocation ain, Allocation aout) { 85 public void forEachDst(Allocation ain, Allocation aout) { 106 public void forEachSrcOver(Allocation ain, Allocation aout) { 127 public void forEachDstOver(Allocation ain, Allocation aout) [all...] |