HomeSort by relevance Sort by last modified time
    Searched full:allocation (Results 26 - 50 of 5756) sorted by null

12 3 4 5 6 7 8 91011>>

  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/
rs_hal.h 31 class Allocation;
112 const Allocation * ain,
113 Allocation * aout,
137 Allocation *data);
146 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero);
147 void (*destroy)(const Context *rsc, Allocation *alloc);
148 uint32_t (*grallocBits)(const Context *rsc, Allocation *alloc);
150 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType,
152 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src);
153 void (*markDirty)(const Context *rsc, const Allocation *alloc)
224 } allocation; member in struct:android::renderscript::__anon53844
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/
rs_hal.h 31 class Allocation;
112 const Allocation * ain,
113 Allocation * aout,
137 Allocation *data);
146 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero);
147 void (*destroy)(const Context *rsc, Allocation *alloc);
148 uint32_t (*grallocBits)(const Context *rsc, Allocation *alloc);
150 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType,
152 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src);
153 void (*markDirty)(const Context *rsc, const Allocation *alloc)
224 } allocation; member in struct:android::renderscript::__anon54373
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/
rs_hal.h 31 class Allocation;
112 const Allocation * ain,
113 Allocation * aout,
137 Allocation *data);
146 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero);
147 void (*destroy)(const Context *rsc, Allocation *alloc);
148 uint32_t (*grallocBits)(const Context *rsc, Allocation *alloc);
150 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType,
152 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src);
153 void (*markDirty)(const Context *rsc, const Allocation *alloc)
224 } allocation; member in struct:android::renderscript::__anon54904
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
InitTest.java 19 import android.renderscript.Allocation;
24 private Allocation mIn;
25 private Allocation mOut;
29 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
38 mIn = Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE);
39 mOut= Allocation.createSized(mRS, Element.F32(mRS), INPUTSIZE);
ForEachTest.java 19 import android.renderscript.Allocation;
60 Allocation badOut = Allocation.createTyped(mRS, t);
65 Allocation in = Allocation.createTyped(mRS, t);
67 Allocation out = Allocation.createTyped(mRS, t);
79 in = Allocation.createTyped(mRS, t);
81 out = Allocation.createTyped(mRS, t);
93 in = Allocation.createTyped(mRS, t)
    [all...]
KernelTest.java 19 import android.renderscript.Allocation;
60 Allocation badOut = Allocation.createTyped(mRS, t);
65 Allocation in = Allocation.createTyped(mRS, t);
67 Allocation out = Allocation.createTyped(mRS, t);
79 in = Allocation.createTyped(mRS, t);
81 out = Allocation.createTyped(mRS, t);
93 in = Allocation.createTyped(mRS, t)
    [all...]
  /development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/
HelloCompute.java 24 import android.renderscript.Allocation;
32 private Allocation mInAllocation;
33 private Allocation mOutAllocation;
58 mInAllocation = Allocation.createFromBitmap(mRS, mBitmapIn,
59 Allocation.MipmapControl.MIPMAP_NONE,
60 Allocation.USAGE_SCRIPT);
61 mOutAllocation = Allocation.createFromBitmap(mRS, mBitmapOut,
62 Allocation.MipmapControl.MIPMAP_NONE,
63 Allocation.USAGE_SCRIPT);
  /frameworks/rs/cpu_ref/
rsCpuIntrinsic.h 34 const Allocation * ain,
35 Allocation * aout,
41 const Allocation ** ain,
43 Allocation * aout,
52 virtual void preLaunch(uint32_t slot, const Allocation * ain,
53 Allocation * aout, const void * usr,
55 virtual void postLaunch(uint32_t slot, const Allocation * ain,
56 Allocation * aout, const void * usr,
62 virtual void setGlobalBind(uint32_t slot, Allocation *data);
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...]
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
UsageIO.java 22 import android.renderscript.Allocation;
34 private Allocation mScratchPixelsAllocation1;
35 private Allocation mScratchPixelsAllocation2;
51 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT);
52 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
  /frameworks/base/rs/java/android/renderscript/
Allocation.java 30 * and from RenderScript kernels. An Allocation provides the backing store for
33 * <p>An Allocation also contains a set of usage flags that denote how the
34 * Allocation could be used. For example, an Allocation may have usage flags
37 * different usages using {@link android.renderscript.Allocation#syncAll} in
38 * order to ensure that different users of the Allocation have a consistent view
39 * of memory. For example, in the case where an Allocation is used as the output
41 * {@link #syncAll syncAll(Allocation.USAGE_SCRIPT)} prior to launching the
44 * <p>An Allocation can be populated with the {@link #copyFrom} routines. For
54 public class Allocation extends BaseObj
    [all...]
  /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...]
  /external/chromium_org/base/memory/
discardable_memory_manager.h 21 // Allocate and acquire a lock that prevents the allocation from being purged
26 // Release a previously acquired lock on the allocation so that it can be
30 // Explicitly purge this allocation. It is illegal to call this while a lock
31 // is acquired on the allocation.
59 // of all allocation instances (in case they need to be purged), and the total
64 typedef DiscardableMemoryManagerAllocation Allocation;
92 // Adds the given allocation to the manager's collection.
93 void Register(Allocation* allocation, size_t bytes);
95 // Removes the given allocation from the manager's collection
    [all...]
discardable_memory_manager.cc 63 void DiscardableMemoryManager::Register(Allocation* allocation, size_t bytes) {
65 DCHECK(allocations_.Peek(allocation) == allocations_.end());
66 allocations_.Put(allocation, AllocationInfo(bytes));
69 void DiscardableMemoryManager::Unregister(Allocation* allocation) {
71 AllocationMap::iterator it = allocations_.Peek(allocation);
84 bool DiscardableMemoryManager::AcquireLock(Allocation* allocation,
89 AllocationMap::iterator it = allocations_.Get(allocation);
183 Allocation* allocation = it->first; local
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/lib/rs/
libRSSupport.so 
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/lib/rs/
libRSSupport.so 
  /art/test/080-oom-throw/
info.txt 1 Inject memory allocation failures for NEW_ARRAY and NEW_INSTANCE and make sure
  /external/stlport/test/eh/
mwerks_debug_prefix.h 4 #define _STLP_DEBUG 1 // enable the use of allocation debugging
  /external/valgrind/main/massif/tests/
one.c 3 // A test for a single allocation. There are two .post.exp* files, for each
  /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...]
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
Allocation.java 32 * and from RenderScript kernels. An Allocation provides the backing store for
35 * <p>An Allocation also contains a set of usage flags that denote how the
36 * Allocation could be used. For example, an Allocation may have usage flags
40 * {@link android.support.v8.renderscript.Allocation#syncAll} in
41 * order to ensure that different users of the Allocation have a consistent view
42 * of memory. For example, in the case where an Allocation is used as the output
44 * {@link #syncAll syncAll(Allocation.USAGE_SCRIPT)} prior to launching the
47 * <p>An Allocation can be populated with the {@link #copyFrom} routines. For
59 public class Allocation extends BaseObj
    [all...]
  /frameworks/rs/tests/cppbasic/
compute.cpp 31 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000);
32 printf("Allocation %p\n", a1.get());
34 sp<Allocation> ain = Allocation::createTyped(rs, t);
35 sp<Allocation> aout = Allocation::createTyped(rs, t);
36 printf("Allocation %p %p\n", ain.get(), aout.get());
49 // We read back the status from the script-side via a "failed" allocation.
54 sp<Allocation> failed_alloc = Allocation::createTyped(rs, failed_t)
    [all...]
  /frameworks/rs/tests/cppbasic-shared/
compute.cpp 31 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000);
32 printf("Allocation %p\n", a1.get());
34 sp<Allocation> ain = Allocation::createTyped(rs, t);
35 sp<Allocation> aout = Allocation::createTyped(rs, t);
36 printf("Allocation %p %p\n", ain.get(), aout.get());
49 // We read back the status from the script-side via a "failed" allocation.
54 sp<Allocation> failed_alloc = Allocation::createTyped(rs, failed_t)
    [all...]
  /frameworks/rs/
rs_hal.h 31 class Allocation;
68 RS_BASE_OBJ(Allocation) rs_allocation;
121 const Allocation * ain,
122 Allocation * aout,
146 Allocation *data);
155 const Allocation ** ains,
157 Allocation * aout,
165 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero);
166 void (*destroy)(const Context *rsc, Allocation *alloc);
167 uint32_t (*grallocBits)(const Context *rsc, Allocation *alloc)
245 } allocation; member in struct:android::renderscript::__anon19061
    [all...]
  /cts/tests/tests/rscpp/src/android/cts/rscpp/
RSColorMatrixTest.java 57 Allocation rsInput = Allocation.createTyped(mRS, build.create());
58 Allocation rsOutput = Allocation.createTyped(mRS, build.create());
69 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create());
88 Allocation rsInput = Allocation.createTyped(mRS, build.create());
89 Allocation rsOutput = Allocation.createTyped(mRS, build.create())
    [all...]

Completed in 641 milliseconds

12 3 4 5 6 7 8 91011>>