/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestPown.java | 21 import android.renderscript.Allocation; 47 Allocation inBase = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x622f0405l, false); 48 Allocation inExponent = createRandomAllocation(mRS, Element.DataType.SIGNED_32, 1, 0x96b9f1bl, 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 verifyResultsPownFloatIntFloat(Allocation inBase, Allocation inExponent, Allocation out, boolean relaxed) [all...] |
TestPowr.java | 21 import android.renderscript.Allocation; 47 Allocation inBase = createRandomFloatAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xc490ca4l, 0, 3000); 48 Allocation inExponent = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xab21ab0al, 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 verifyResultsPowrFloatFloatFloat(Allocation inBase, Allocation inExponent, Allocation out, boolean relaxed) [all...] |
TestRemainder.java | 21 import android.renderscript.Allocation; 47 Allocation inNumerator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x317ea229l, false); 48 Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe2ebe35al, 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 verifyResultsRemainderFloatFloatFloat(Allocation inNumerator, Allocation inDenominator, Allocation out, boolean relaxed) [all...] |
TestFmax.java | 21 import android.renderscript.Allocation; 47 Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x6e6fdd7al, false); 48 Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x6e6fdd7bl, 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 verifyResultsFmaxFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boolean relaxed) [all...] |
TestFmin.java | 21 import android.renderscript.Allocation; 47 Allocation inA = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x1d7b1058l, false); 48 Allocation inB = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x1d7b1059l, 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 verifyResultsFminFloatFloatFloat(Allocation inA, Allocation inB, Allocation out, boolean relaxed) [all...] |
TestStep.java | 21 import android.renderscript.Allocation; 47 Allocation inEdge = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x9184fbfel, false); 48 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x832f44e9l, 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 verifyResultsStepFloatFloatFloat(Allocation inEdge, Allocation inV, Allocation out, boolean relaxed) [all...] |
TestFma.java | 21 import android.renderscript.Allocation; 48 Allocation inMultiplicand1 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x85c419bel, false); 49 Allocation inMultiplicand2 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x85c419bfl, false); 50 Allocation inOffset = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x9d441b0el, false); 52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 61 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 71 private void verifyResultsFmaFloatFloatFloatFloat(Allocation inMultiplicand1, Allocation inMultiplicand2, Allocation inOffset, Allocation out, boolean relaxed) [all...] |
TestMad.java | 21 import android.renderscript.Allocation; 48 Allocation inMultiplicand1 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x40b4de48l, false); 49 Allocation inMultiplicand2 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x40b4de49l, false); 50 Allocation inOffset = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xc50ce0fcl, false); 52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 61 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 71 private void verifyResultsMadFloatFloatFloatFloat(Allocation inMultiplicand1, Allocation inMultiplicand2, Allocation inOffset, Allocation out, boolean relaxed) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
GetElementAt.java | 19 import android.renderscript.Allocation; 28 private Allocation mOut; 29 private Allocation gIn; 36 public void forEach(int testId, Allocation mOut) throws RSRuntimeException { 59 gIn = Allocation.createSized(mRS, Element.U32(mRS), INPUTSIZE); 61 mOut = Allocation.createTyped(mRS, gIn.getType()); 80 gIn = Allocation.createTyped(mRS, type); 82 mOut = Allocation.createTyped(mRS, gIn.getType());
|
/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());
|
/external/v8/test/mjsunit/regress/ |
regress-crbug-347903.js | 5 // Flags: --allow-natives-syntax --use-allocation-folding --verify-heap 9 // Allocation folding will bail out trying to fold the elements alloc of
|
/frameworks/rs/java/tests/RSTest_CompatLib/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());
|
UT_alloc_copy.java | 28 super(rstc, "Allocation CopyTo", ctx); 68 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); 78 android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); 85 android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); 90 android.util.Log.v("Allocation CopyTo Test", "copy1DRangeTo_Byte TEST PASSED"); 110 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); 120 android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); 127 android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]) [all...] |
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/rs/java/tests/RSTest_CompatLibLegacy/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());
|
UT_alloc_copy.java | 28 super(rstc, "Allocation CopyTo", ctx); 68 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); 78 android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); 85 android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); 90 android.util.Log.v("Allocation CopyTo Test", "copy1DRangeTo_Byte TEST PASSED"); 110 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create()); 120 android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); 127 android.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]) [all...] |
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/rs/java/tests/RsTest/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_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/ |
ScriptIntrinsicYuvToRGB.java | 23 * The input allocation is supplied in NV21 format as a U8 28 private Allocation mInput; 61 * Set the input yuv allocation, must be {@link Element#U8}. 63 * @param ain The input allocation. 65 public void setInput(Allocation ain) { 73 * @param aout Output allocation. Must match creation element 76 public void forEach(Allocation aout) { 77 forEach(0, (Allocation) null, aout, null);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
Buffer.java | 21 import android.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() {
|
/frameworks/rs/ |
rs_hal.h | 80 class Allocation; 118 RS_BASE_OBJ(Allocation) rs_allocation; 169 const Allocation * ain, 170 Allocation * aout, 176 const Allocation ** ains, size_t inLen, 177 Allocation *aout, 199 Allocation *data); 208 const Allocation ** ains, 210 Allocation * aout, 218 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero) 311 } allocation; member in struct:android::renderscript::__anon28946 [all...] |
/cts/tests/camera/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...] |