/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_array_alloc.java | 27 super(rstc, "Array Allocation", ctx); 37 Allocation[] Arr = new Allocation[dimX]; 41 Allocation A = Allocation.createTyped(pRS, T);
|
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...] |
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/src/com/android/rs/test/ |
UT_array_alloc.java | 27 super(rstc, "Array Allocation", ctx); 37 Allocation[] Arr = new Allocation[dimX]; 41 Allocation A = Allocation.createTyped(pRS, T);
|
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...] |
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());
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestMix.java | 21 import android.renderscript.Allocation; 45 Allocation inStart = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x9f4beff6471d6db1l, false); 46 Allocation inStop = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x6ede0b88b4422e8fl, false); 47 Allocation inAmount = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xc1c14e5d52dc3fe5l, 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 verifyResultsMixFloatFloatFloatFloat(Allocation inStart, Allocation inStop, Allocation inAmount, Allocation out, boolean relaxed) [all...] |
TestFract.java | 21 import android.renderscript.Allocation; 44 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x57d8e6573c675d27l, false); 46 Allocation outFloor = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation outFloor = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 56 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE) [all...] |
TestLgamma.java | 21 import android.renderscript.Allocation; 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe748c67429cab138l, 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 verifyResultsLgammaFloatFloat(Allocation in, Allocation out, boolean relaxed) { 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x7ca07efd8a327894l, false); 104 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestFrexp.java | 21 import android.renderscript.Allocation; 44 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x57ae9fe07384e56dl, false); 46 Allocation outIptr = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation outIptr = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE); 56 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE) [all...] |
TestModf.java | 21 import android.renderscript.Allocation; 44 Allocation inX = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xd655dc05ccaef47l, false); 46 Allocation outIret = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation outIret = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 56 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE) [all...] |
TestNativeSincos.java | 21 import android.renderscript.Allocation; 44 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe15df2366436cc13l, false); 46 Allocation outCosptr = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation outCosptr = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 56 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE) [all...] |
TestSincos.java | 21 import android.renderscript.Allocation; 44 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xb8748e13e46c48d4l, false); 46 Allocation outCosptr = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 55 Allocation outCosptr = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 56 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE) [all...] |
clear_object.rs | 4 rs_allocation allocation; 8 rsClearObject( &allocation ); 9 *out = ( NULL == allocation.p ? 1 : 0 );
|
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());
|
/frameworks/rs/ |
rsRuntime.h | 34 void rsrAllocationSyncAll(Context *, Script *, Allocation *); 37 void rsrBindTexture(Context *, ProgramFragment *, uint32_t slot, Allocation *); 38 void rsrBindConstant(Context *, ProgramFragment *, uint32_t slot, Allocation *); 39 void rsrBindConstant(Context *, ProgramVertex*, uint32_t slot, Allocation *); 45 void rsrBindFrameBufferObjectColorTarget(Context *, Allocation *, uint32_t slot); 46 void rsrBindFrameBufferObjectDepthTarget(Context *, Allocation *); 83 void rsrAllocationCopy1DRange(Context *, Allocation *dstAlloc, 87 Allocation *srcAlloc, 89 void rsrAllocationCopy2DRange(Context *, Allocation *dstAlloc, 93 Allocation *srcAlloc [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/ |
rsRuntime.h | 34 void rsrAllocationSyncAll(Context *, Script *, Allocation *); 37 void rsrBindTexture(Context *, ProgramFragment *, uint32_t slot, Allocation *); 38 void rsrBindConstant(Context *, ProgramFragment *, uint32_t slot, Allocation *); 39 void rsrBindConstant(Context *, ProgramVertex*, uint32_t slot, Allocation *); 45 void rsrBindFrameBufferObjectColorTarget(Context *, Allocation *, uint32_t slot); 46 void rsrBindFrameBufferObjectDepthTarget(Context *, Allocation *); 83 void rsrAllocationCopy1DRange(Context *, Allocation *dstAlloc, 87 Allocation *srcAlloc, 89 void rsrAllocationCopy2DRange(Context *, Allocation *dstAlloc, 93 Allocation *srcAlloc [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/ |
rsRuntime.h | 34 void rsrAllocationSyncAll(Context *, Script *, Allocation *); 37 void rsrBindTexture(Context *, ProgramFragment *, uint32_t slot, Allocation *); 38 void rsrBindConstant(Context *, ProgramFragment *, uint32_t slot, Allocation *); 39 void rsrBindConstant(Context *, ProgramVertex*, uint32_t slot, Allocation *); 45 void rsrBindFrameBufferObjectColorTarget(Context *, Allocation *, uint32_t slot); 46 void rsrBindFrameBufferObjectDepthTarget(Context *, Allocation *); 83 void rsrAllocationCopy1DRange(Context *, Allocation *dstAlloc, 87 Allocation *srcAlloc, 89 void rsrAllocationCopy2DRange(Context *, Allocation *dstAlloc, 93 Allocation *srcAlloc [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/ |
rsRuntime.h | 34 void rsrAllocationSyncAll(Context *, Script *, Allocation *); 37 void rsrBindTexture(Context *, ProgramFragment *, uint32_t slot, Allocation *); 38 void rsrBindConstant(Context *, ProgramFragment *, uint32_t slot, Allocation *); 39 void rsrBindConstant(Context *, ProgramVertex*, uint32_t slot, Allocation *); 45 void rsrBindFrameBufferObjectColorTarget(Context *, Allocation *, uint32_t slot); 46 void rsrBindFrameBufferObjectDepthTarget(Context *, Allocation *); 83 void rsrAllocationCopy1DRange(Context *, Allocation *dstAlloc, 87 Allocation *srcAlloc, 89 void rsrAllocationCopy2DRange(Context *, Allocation *dstAlloc, 93 Allocation *srcAlloc [all...] |
/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...] |
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/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; 73 * @param ain The input allocation. 75 public void setInput(Allocation ain) { 103 * allocation. 105 * @param aout Output allocation. Must match creation element 108 public void forEach(Allocation aout) { 109 forEach(0, (Allocation) null, aout, null); 114 * allocation. 116 * @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...] |
/external/chromium_org/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
|