/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/ |
rsGrallocConsumer.h | 33 class Allocation; 47 GrallocConsumer(Allocation *, const sp<IGraphicBufferConsumer>& bq); 55 Allocation *mAlloc;
|
rsMesh.h | 43 // Position, normal, texcoord, etc could either be strided in one allocation 45 Allocation **vertexBuffers; 49 Allocation **indexBuffers; 67 void setVertexBuffer(Allocation *vb, uint32_t index) { 72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { 88 ObjectBaseRef<Allocation> *mVertexBuffers; 89 ObjectBaseRef<Allocation> *mIndexBuffers;
|
rsProgram.h | 43 Allocation **textures; 50 Allocation **constants; 66 void bindAllocation(Context *, Allocation *, uint32_t slot); 70 void bindTexture(Context *, uint32_t slot, Allocation *); 74 ObjectBaseRef<Allocation> *mTextures; 76 ObjectBaseRef<Allocation> *mConstants;
|
/frameworks/rs/driver/ |
rsdAllocation.h | 80 android::renderscript::Allocation *alloc); 82 android::renderscript::Allocation *alloc, 85 android::renderscript::Allocation *alloc); 88 const android::renderscript::Allocation *alloc, 91 const android::renderscript::Allocation *alloc, 94 const android::renderscript::Allocation *alloc); 96 android::renderscript::Allocation *alloc, ANativeWindow *nw); 98 android::renderscript::Allocation *alloc); 100 android::renderscript::Allocation *alloc); 103 const android::renderscript::Allocation *alloc [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
ErrorCalculator.java | 23 import android.renderscript.Allocation; 36 private Allocation mIdealPixelsAllocation; 37 private Allocation mGivenPixelsAllocation; 38 private Allocation mOutputPixelsAllocation; 40 private Allocation mInputRowsAllocation; 41 private Allocation mOutputRegionsAllocation; 62 mInputRowsAllocation = Allocation.createSized(mRS, Element.I32(mRS), rowIndices.length, 63 Allocation.USAGE_SCRIPT); 65 mOutputRegionsAllocation = Allocation.createSized(mRS, Element.I32(mRS), 66 mOutputRowRegions.length, Allocation.USAGE_SCRIPT) [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/ |
AllocationCache.java | 20 import android.renderscript.Allocation; 33 * Cache {@link Allocation} objects based on their type and usage. 35 * <p>This avoids expensive re-allocation of objects when they are used over and over again 46 private final HashMap<AllocationKey, List<Allocation>> mAllocationMap = 47 new HashMap<AllocationKey, List<Allocation>>(); 71 * Try to lookup a compatible Allocation from the cache, create one if none exist. 77 public Allocation getOrCreateTyped(Type type, int usage) { 83 List<Allocation> list = mAllocationMap.get(key); 86 Allocation alloc = list.remove(list.size() - 1); 100 return Allocation.createTyped(mRS, type, usage) [all...] |
BlockingInputAllocation.java | 22 import android.renderscript.Allocation; 28 * An {@link Allocation} wrapper that can be used to block until new buffers are available. 30 * <p>Can only be used only with {@link Allocation#USAGE_IO_INPUT} usage Allocations.</p> 40 private final Allocation mAllocation; 45 * Wrap an existing Allocation with this {@link BlockingInputAllocation}. 50 * @param allocation A non-{@code null} {@link Allocation allocation} 54 * If {@code allocation} was {@code null} 56 * If {@code allocation}'s usage did not have one of USAGE_IO_INPUT or USAGE_IO_OUTPU [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuScript.h | 67 virtual void preLaunch(uint32_t slot, const Allocation * ain, 68 Allocation * aout, const void * usr, 70 virtual void postLaunch(uint32_t slot, const Allocation * ain, 71 Allocation * aout, const void * usr, 74 const Allocation * ain, 75 Allocation * aout, 81 const Allocation** ains, 83 Allocation* aout, 94 virtual void setGlobalBind(uint32_t slot, Allocation *data); 103 void forEachMtlsSetup(const Allocation * ain, Allocation * aout [all...] |
rsCpuScriptGroup.h | 28 virtual void setInput(const ScriptKernelID *kid, Allocation *); 29 virtual void setOutput(const ScriptKernelID *kid, Allocation *); 43 Allocation *const* ins; 45 Allocation *const* outs;
|
/frameworks/rs/ |
rsScriptIntrinsic.h | 45 const Allocation * ain, 46 Allocation * aout, 53 const Allocation** ains, 55 Allocation* aout,
|
rsMesh.h | 43 // Position, normal, texcoord, etc could either be strided in one allocation 45 Allocation **vertexBuffers; 49 Allocation **indexBuffers; 67 void setVertexBuffer(Allocation *vb, uint32_t index) { 72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { 88 ObjectBaseRef<Allocation> *mVertexBuffers; 89 ObjectBaseRef<Allocation> *mIndexBuffers;
|
rsProgram.h | 43 Allocation **textures; 50 Allocation **constants; 66 void bindAllocation(Context *, Allocation *, uint32_t slot); 70 void bindTexture(Context *, uint32_t slot, Allocation *); 74 ObjectBaseRef<Allocation> *mTextures; 76 ObjectBaseRef<Allocation> *mConstants;
|
/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());
|
/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());
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
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...] |
/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...] |
ScriptIntrinsicBlur.java | 21 * specified radius to all elements of an allocation. 27 private Allocation mInput; 34 * Create an intrinsic for applying a blur to an allocation. The 58 * @param ain The input allocation 60 public void setInput(Allocation ain) { 81 * allocation. 83 * @param aout Output allocation. Must match creation element 86 public void forEach(Allocation aout) { 87 forEach(0, (Allocation) null, aout, null); 92 * allocation [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...] |
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/ |
rsMesh.h | 43 // Position, normal, texcoord, etc could either be strided in one allocation 45 Allocation **vertexBuffers; 49 Allocation **indexBuffers; 67 void setVertexBuffer(Allocation *vb, uint32_t index) { 72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { 88 ObjectBaseRef<Allocation> *mVertexBuffers; 89 ObjectBaseRef<Allocation> *mIndexBuffers;
|
rsProgram.h | 43 Allocation **textures; 50 Allocation **constants; 66 void bindAllocation(Context *, Allocation *, uint32_t slot); 70 void bindTexture(Context *, uint32_t slot, Allocation *); 74 ObjectBaseRef<Allocation> *mTextures; 76 ObjectBaseRef<Allocation> *mConstants;
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/ |
rsMesh.h | 43 // Position, normal, texcoord, etc could either be strided in one allocation 45 Allocation **vertexBuffers; 49 Allocation **indexBuffers; 67 void setVertexBuffer(Allocation *vb, uint32_t index) { 72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { 88 ObjectBaseRef<Allocation> *mVertexBuffers; 89 ObjectBaseRef<Allocation> *mIndexBuffers;
|
rsProgram.h | 43 Allocation **textures; 50 Allocation **constants; 66 void bindAllocation(Context *, Allocation *, uint32_t slot); 70 void bindTexture(Context *, uint32_t slot, Allocation *); 74 ObjectBaseRef<Allocation> *mTextures; 76 ObjectBaseRef<Allocation> *mConstants;
|