/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
FrameBuffer1D.java | 20 import android.renderscript.Allocation; 44 * Access frame's data using a RenderScript {@link Allocation}. 48 * @return The Allocation instance holding the Frame's data. 51 public Allocation lockAllocation(int mode) { 53 return (Allocation) mBackingStore.lockData(mode, BackingStore.ACCESS_ALLOCATION);
|
/frameworks/rs/driver/ |
rsdScriptGroup.cpp | 27 using android::renderscript::Allocation; 43 const ScriptKernelID *kid, Allocation *) { 47 const ScriptKernelID *kid, Allocation *) {
|
/frameworks/rs/ |
rsClosure.h | 11 class Allocation; 24 Allocation* returnValue, 28 const int* sizes, // size for data type. -1 indicates an allocation. 38 const int* sizes); // size for data type. -1 indicates an allocation. 47 // The special value -1 for the size indicates the value is an Allocation. 66 // A global could be allocation or any primitive data type. 69 Allocation* mReturnValue;
|
rsAllocation.h | 42 class Allocation : public ObjectBase { 43 // The graphics equivalent of malloc. The allocation contains a structure of elements. 73 // Allocation adapter state 74 const Allocation *baseAlloc; 91 } lod[android::renderscript::Allocation::MAX_LOD]; 111 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 114 static Allocation * createAllocationStrided(Context *rsc, const Type *, uint32_t usages, 117 static Allocation * createAdapter(Context *rsc, const Allocation *alloc, const Type *type); 120 virtual ~Allocation(); [all...] |
rsMesh.cpp | 45 mHal.state.indexBuffers = new Allocation *[mHal.state.indexBuffersCount]; 53 mHal.state.vertexBuffers = new Allocation *[mHal.state.vertexBuffersCount]; 58 mVertexBuffers = new ObjectBaseRef<Allocation>[mHal.state.vertexBuffersCount]; 59 mIndexBuffers = new ObjectBaseRef<Allocation>[mHal.state.primitivesCount]; 117 ObjectBaseRef<Allocation> *vertexBuffers = nullptr; 119 vertexBuffers = new ObjectBaseRef<Allocation>[vertexBuffersCount]; 122 Allocation *vertexAlloc = Allocation::createFromStream(rsc, stream); 128 ObjectBaseRef<Allocation> *indexBuffers = nullptr; 131 indexBuffers = new ObjectBaseRef<Allocation>[primitivesCount] [all...] |
/frameworks/rs/rsov/driver/ |
rsovScriptGroup.cpp | 25 using android::renderscript::Allocation; 42 const ScriptKernelID *kid, Allocation *) {} 45 const ScriptKernelID *kid, Allocation *) {}
|
rsovScript.h | 33 class Allocation; 66 void invokeForEach(uint32_t slot, const Allocation **ains, uint32_t inLen, 67 Allocation *aout, const void *usr, uint32_t usrLen, 70 void invokeReduce(uint32_t slot, const Allocation **ains, uint32_t inLen, 71 Allocation *aout, const RsScriptCall *sc) override; 84 void setGlobalBind(uint32_t slot, Allocation *data) override; 87 Allocation *getAllocationForPointer(const void *ptr) const override; 146 // Mapping of global allocation to rsov-assigned ID 172 uint32_t slot, const android::renderscript::Allocation *ain, 173 android::renderscript::Allocation *aout, const void *usr, size_t usrLen [all...] |
/frameworks/rs/tests/cpp_api/cppf16/ |
compute.cpp | 3 using android::RSC::Allocation; 20 sp<Allocation> alloc = Allocation::createTyped(rs, t);
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
UT_foreach.java | 20 import android.renderscript.Allocation; 26 private Allocation A; 39 A = Allocation.createTyped(RS, typeBuilder.create());
|
UT_kernel_struct.java | 20 import android.renderscript.Allocation; 24 private Allocation A; 25 private Allocation B;
|
UT_noroot.java | 20 import android.renderscript.Allocation; 26 private Allocation A; 39 A = Allocation.createTyped(RS, typeBuilder.create());
|
UT_refcount.java | 20 import android.renderscript.Allocation; 27 private Allocation mA; 39 mA = Allocation.createTyped(RS, mT);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
UT_foreach.java | 22 import android.support.v8.renderscript.Allocation; 28 private Allocation A; 41 A = Allocation.createTyped(RS, typeBuilder.create());
|
UT_kernel_struct.java | 22 import android.support.v8.renderscript.Allocation; 26 private Allocation A; 27 private Allocation B;
|
UT_noroot.java | 22 import android.support.v8.renderscript.Allocation; 28 private Allocation A; 41 A = Allocation.createTyped(RS, typeBuilder.create());
|
UT_refcount.java | 22 import android.support.v8.renderscript.Allocation; 29 private Allocation mA; 41 mA = Allocation.createTyped(RS, mT);
|
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
BNNMTest.java | 33 private Allocation matA; 34 private Allocation matB; 35 private Allocation matC; 227 matA = Allocation.createTyped(mRS, a_type); 228 matB = Allocation.createTyped(mRS, b_type); 229 matC = Allocation.createTyped(mRS, c_type); 297 matA = Allocation.createTyped(mRS, a_type); 298 matB = Allocation.createTyped(mRS, b_type); 299 matC = Allocation.createTyped(mRS, c_type); 346 matA = Allocation.createTyped(mRS, a_type) [all...] |
SGEMMTest.java | 33 private Allocation matA; 34 private Allocation matB; 35 private Allocation matC; 150 matA = Allocation.createTyped(mRS, a_type); 151 matB = Allocation.createTyped(mRS, b_type); 152 matC = Allocation.createTyped(mRS, c_type); 205 matA = Allocation.createTyped(mRS, a_type); 206 matB = Allocation.createTyped(mRS, b_type); 207 matC = Allocation.createTyped(mRS, c_type); 253 matA = Allocation.createTyped(mRS, a_type) [all...] |
/frameworks/rs/tests/lldb/java/ScriptGroup/src/com/android/rs/scriptgroup/ |
MainActivity.java | 39 // create and initalize a simple input allocation 44 Allocation input = Allocation.createSized(pRS, Element.I32(pRS), ARRAY_SIZE); 60 ((Allocation) group.execute(input)[0]).copyTo(a);
|
/device/linaro/bootloader/edk2/ArmPkg/Library/UncachedMemoryAllocationLib/ |
UncachedMemoryAllocationLib.c | 52 VOID *Allocation;
64 * This function firstly checks if the requested allocation can fit into one
66 * If the requested allocation does not fit in the existing pool then
67 * the function makes a new allocation.
69 * @param MemoryType Type of memory requested for the new allocation
72 * @param Allocation Address of the newly allocated buffer
83 OUT VOID **Allocation
98 // Look in our list for the smallest page that could satisfy the new allocation
110 Node->Allocation = (VOID*)(UINTN)Node->Base;
111 *Allocation = Node->Allocation; [all...] |
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
Script.java | 38 * An allocation for the compat context will be created when needed 42 long getDummyAlloc(Allocation ain) { 218 public void bindAllocation(Allocation va, int slot) { 245 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { 282 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) { 324 protected void forEach(int slot, Allocation[] ains, Allocation aout, 334 protected void forEach(int slot, Allocation[] ains, Allocation aout [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ReduceTest.java | 90 // Create a zero-initialized Allocation. 94 private Allocation createInputAllocation(Element elt, int xlen, int ylen, int zlen) { 98 Allocation alloc; 101 alloc = Allocation.createTyped(mRS, Type.createXYZ(mRS, elt, xlen, ylen, zlen)); 103 alloc = Allocation.createTyped(mRS, Type.createXY(mRS, elt, xlen, ylen)); 105 alloc = Allocation.createSized(mRS, elt, xlen); 117 private Allocation[] createInputAllocations(Element elt, int max) { 122 Allocation alloc[] = new Allocation[numAllocs]; 196 Allocation inputAllocation = Allocation.createTyped(mRS, typeBuilder.create()) [all...] |
GlobalSync.java | 19 import android.renderscript.Allocation; 25 Allocation AFailed; 27 Allocation AIn; 33 AFailed = Allocation.createTyped(mRS, t); 39 AIn = Allocation.createTyped(mRS, t);
|
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/ |
UT_multi_kernel.java | 20 import android.renderscript.Allocation; 52 Allocation A = Allocation.createTyped(pRS, typeBuilder.create()); 53 Allocation B = Allocation.createTyped(pRS, typeBuilder.create());
|
/frameworks/rs/support/jni/ |
android_rscompat_usage_io_driver.cpp | 15 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) { 35 Allocation *alloc = (Allocation *)allocR; 71 extern "C" void rscAllocationDestroy(const Context *rsc, Allocation *alloc) { 96 extern "C" void rscAllocationIoSend(const Context *rsc, Allocation *alloc) {
|