HomeSort by relevance Sort by last modified time
    Searched full:allocation (Results 1 - 25 of 5659) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
BaseRenderScriptComparer.java 4 import android.renderscript.Allocation;
12 private Allocation mRowInputs;
13 private Allocation mRowOutputs;
23 public abstract boolean verifySameRowsRS(Resources resources, Allocation ideal,
24 Allocation given, int offset, int stride, int width, int height,
25 RenderScript renderScript, Allocation inputAllocation, Allocation outputAllocation);
27 public boolean verifySameRS(Resources resources, Allocation ideal,
28 Allocation given, int offset, int stride, int width, int height,
44 * Sums the values in the output Allocation
    [all...]
  /external/chromium_org/base/memory/
discardable_memory_manager_unittest.cc 96 void Register(TestAllocationImpl* allocation, size_t bytes) {
97 manager_.Register(allocation, bytes);
100 void Unregister(TestAllocationImpl* allocation) {
101 manager_.Unregister(allocation);
104 bool IsRegistered(TestAllocationImpl* allocation) const {
105 return manager_.IsRegisteredForTest(allocation);
108 LockStatus Lock(TestAllocationImpl* allocation) {
110 if (!manager_.AcquireLock(allocation, &purged))
115 void Unlock(TestAllocationImpl* allocation) {
116 manager_.ReleaseLock(allocation);
145 TestAllocationImpl allocation; local
158 TestAllocationImpl allocation; local
168 TestAllocationImpl allocation; local
185 TestAllocationImpl allocation; local
210 TestAllocationImpl allocation; local
233 TestAllocationImpl allocation; local
288 TestAllocationImpl* allocation(unsigned position) { function in class:base::__anon6926::DiscardableMemoryManagerPermutationTest
387 TestAllocationImpl allocation; local
397 TestAllocationImpl allocation; local
410 TestAllocationImpl allocation; local
428 TestAllocationImpl allocation[3]; local
480 TestAllocationImpl allocation; local
    [all...]
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
ScriptIntrinsicBlend.java 22 * {@link android.support.v8.renderscript.Allocation} objects.
48 private void blend(int id, Allocation ain, Allocation aout) {
64 public void forEachClear(Allocation ain, Allocation aout) {
84 public void forEachSrc(Allocation ain, Allocation aout) {
105 public void forEachDst(Allocation ain, Allocation aout) {
124 public void forEachSrcOver(Allocation ain, Allocation aout)
    [all...]
  /frameworks/base/rs/java/android/renderscript/
ScriptIntrinsicBlend.java 21 * Intrinsic kernels for blending two {@link android.renderscript.Allocation} objects.
43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) {
59 public void forEachClear(Allocation ain, Allocation aout) {
70 public void forEachClear(Allocation ain, Allocation aout, Script.LaunchOptions opt) {
90 public void forEachSrc(Allocation ain, Allocation aout) {
101 public void forEachSrc(Allocation ain, Allocation aout, Script.LaunchOptions opt)
    [all...]
Path.java 35 Allocation mVertexBuffer;
36 Allocation mLoopBuffer;
41 Path(long id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) {
49 public Allocation getVertexAllocation() {
53 public Allocation getLoopAllocation() {
66 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) {
72 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) {
76 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx)
    [all...]
ScriptIntrinsicResize.java 20 * Intrinsic for performing a resize of a 2D allocation.
23 private Allocation mInput;
48 * @param ain The input allocation.
50 public void setInput(Allocation ain) {
74 * Resize copy the input allocation to the output specified. The
75 * Allocation is rescaled if necessary using bi-cubic
78 * @param aout Output allocation. Element type must match
81 public void forEach_bicubic(Allocation aout) {
89 * Resize copy the input allocation to the output specified. The
90 * Allocation is rescaled if necessary using bi-cubi
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
ClearObjectTest.java 19 import android.renderscript.Allocation;
42 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
64 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
65 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
80 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
81 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum)
98 Allocation allocation = Allocation.createTyped(mRS, mIn.getType()); local
    [all...]
instance.rs 7 // Set our allocation based on the global input value.
AllocationTest.java 20 import android.renderscript.Allocation;
22 import android.renderscript.Allocation.MipmapControl;
48 Allocation.createTyped(mRS, typeBuilder.create());
59 Allocation.createTyped(mRS, typeBuilder.setX(8).create(),
61 Allocation.USAGE_GRAPHICS_TEXTURE);
62 Allocation.createTyped(mRS, typeBuilder.setY(8).create(),
64 Allocation.USAGE_GRAPHICS_TEXTURE);
66 Allocation.createTyped(mRS, typeBuilder.create(),
68 Allocation.USAGE_GRAPHICS_TEXTURE |
69 Allocation.USAGE_SCRIPT)
    [all...]
VoidPtr.java 19 import android.renderscript.Allocation;
25 Allocation AOutput;
26 Allocation AInput;
27 Allocation AFailed;
35 AFailed = Allocation.createTyped(mRS, t);
44 * allocation, even if the pointer passed to the kernel of the script
47 * This test runs for an allocation of type int
56 AOutput = Allocation.createTyped(mRS, t);
72 * allocation, even if the pointer passed to the kernel of the script
75 * This test runs for an allocation of type uchar
    [all...]
  /frameworks/rs/
rsAllocation.cpp 30 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages,
44 void Allocation::operator delete(void* ptr) {
46 Allocation *a = (Allocation*) ptr;
51 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages,
53 // Allocation objects must use allocator specified by the driver
54 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0);
57 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation");
    [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...]
  /external/stlport/test/eh/
mwerks_nosgi_debug_prefix.h 4 #define _STLP_DEBUG_UNINITIALIZED 1 // enable the use of allocation debugging
  /frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
instance.rs 7 // Set our allocation based on the global input value.
  /frameworks/base/docs/html/sdk/api_diff/21/changes/
android.renderscript.ScriptIntrinsicBlend.html 86 <A NAME="android.renderscript.ScriptIntrinsicBlend.forEachAdd_added(android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.Script.LaunchOptions)"></A>
87 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/renderscript/ScriptIntrinsicBlend.html#forEachAdd(android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.Script.LaunchOptions)" target="_top"><code>forEachAdd</code></A>(<code>Allocation,</nobr> Allocation<nobr>,</nobr> LaunchOptions<nobr><nobr></code>)</nobr>
93 <A NAME="android.renderscript.ScriptIntrinsicBlend.forEachClear_added(android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.Script.LaunchOptions)"></A>
94 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/renderscript/ScriptIntrinsicBlend.html#forEachClear(android.renderscript.Allocation, android.renderscript.Allocation, android.renderscript.Script.LaunchOptions)" target="_top"><code>forEachClear</code></A>(<code>All (…)
    [all...]
  /frameworks/rs/cpp/
Allocation.cpp 23 void * Allocation::getIDSafe() const {
27 void Allocation::updateCacheInfo(sp<const Type> t) {
40 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) :
75 void Allocation::validateIsInt32() {
80 ALOGE("32 bit integer source does not match allocation type %i", dt);
83 void Allocation::validateIsInt16() {
88 ALOGE("16 bit integer source does not match allocation type %i", dt);
91 void Allocation::validateIsInt8() {
96 ALOGE("8 bit integer source does not match allocation type %i", dt)
    [all...]
  /developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
ViewfinderProcessor.java 22 import android.renderscript.Allocation;
34 private Allocation mInputHdrAllocation;
35 private Allocation mInputNormalAllocation;
36 private Allocation mPrevAllocation;
37 private Allocation mOutputAllocation;
62 mInputHdrAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
63 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
64 mInputNormalAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
65 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT)
    [all...]
  /developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
ViewfinderProcessor.java 22 import android.renderscript.Allocation;
34 private Allocation mInputHdrAllocation;
35 private Allocation mInputNormalAllocation;
36 private Allocation mPrevAllocation;
37 private Allocation mOutputAllocation;
62 mInputHdrAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
63 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
64 mInputNormalAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
65 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT)
    [all...]
  /development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
ViewfinderProcessor.java 22 import android.renderscript.Allocation;
34 private Allocation mInputHdrAllocation;
35 private Allocation mInputNormalAllocation;
36 private Allocation mPrevAllocation;
37 private Allocation mOutputAllocation;
62 mInputHdrAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
63 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
64 mInputNormalAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
65 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT)
    [all...]
  /frameworks/rs/scriptc/
rs_allocation.rsh 18 * \brief Allocation routines
27 * Returns the Allocation for a given pointer. The pointer should point within
28 * a valid allocation. The results are undefined if the pointer is not from a
29 * valid allocation.
38 * Query the dimension of an allocation.
40 * @return uint32_t The X dimension of the allocation.
46 * Query the dimension of an allocation.
48 * @return uint32_t The Y dimension of the allocation.
54 * Query the dimension of an allocation.
56 * @return uint32_t The Z dimension of the allocation
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/scriptc/
rs_allocation.rsh 18 * \brief Allocation routines
27 * Returns the Allocation for a given pointer. The pointer should point within
28 * a valid allocation. The results are undefined if the pointer is not from a
29 * valid allocation.
38 * Query the dimension of an allocation.
40 * @return uint32_t The X dimension of the allocation.
46 * Query the dimension of an allocation.
48 * @return uint32_t The Y dimension of the allocation.
54 * Query the dimension of an allocation.
56 * @return uint32_t The Z dimension of the allocation
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/scriptc/
rs_allocation.rsh 18 * \brief Allocation routines
27 * Returns the Allocation for a given pointer. The pointer should point within
28 * a valid allocation. The results are undefined if the pointer is not from a
29 * valid allocation.
38 * Query the dimension of an allocation.
40 * @return uint32_t The X dimension of the allocation.
46 * Query the dimension of an allocation.
48 * @return uint32_t The Y dimension of the allocation.
54 * Query the dimension of an allocation.
56 * @return uint32_t The Z dimension of the allocation
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/scriptc/
rs_allocation.rsh 18 * \brief Allocation routines
27 * Returns the Allocation for a given pointer. The pointer should point within
28 * a valid allocation. The results are undefined if the pointer is not from a
29 * valid allocation.
38 * Query the dimension of an allocation.
40 * @return uint32_t The X dimension of the allocation.
46 * Query the dimension of an allocation.
48 * @return uint32_t The Y dimension of the allocation.
54 * Query the dimension of an allocation.
56 * @return uint32_t The Z dimension of the allocation
    [all...]
  /prebuilts/sdk/renderscript/include/
rs_allocation.rsh 18 * \brief Allocation routines
27 * Returns the Allocation for a given pointer. The pointer should point within
28 * a valid allocation. The results are undefined if the pointer is not from a
29 * valid allocation.
38 * Query the dimension of an allocation.
40 * @return uint32_t The X dimension of the allocation.
46 * Query the dimension of an allocation.
48 * @return uint32_t The Y dimension of the allocation.
54 * Query the dimension of an allocation.
56 * @return uint32_t The Z dimension of the allocation
    [all...]

Completed in 1463 milliseconds

1 2 3 4 5 6 7 8 91011>>