HomeSort by relevance Sort by last modified time
    Searched refs:Allocation (Results 501 - 525 of 810) sorted by null

<<21222324252627282930>>

  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
Camera2Source.java 32 import android.renderscript.Allocation;
54 public class Camera2Source extends Filter implements Allocation.OnBufferAvailableListener {
68 private Allocation mAllocationIn;
70 private Allocation mAllocationOut;
176 mAllocationIn = Allocation.createTyped(mRS, yuvBuilder.create(),
177 Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_INPUT);
183 mAllocationOut = Allocation.createFromBitmap(mRS, mBitmap);
266 public void onBufferAvailable(Allocation a) {
  /cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/
KernelDataForRenderScriptd1new.java 18 import android.renderscript.Allocation;
42 * An RenderScript Allocation for kernelStack.
44 Allocation stackAllocation;
72 stackAllocation = Allocation.createSized(renderScript,
  /cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/
KernelDataForRenderScriptF32.java 19 import android.renderscript.Allocation;
43 * An RenderScript Allocation for kernelStack.
45 Allocation stackAllocation;
71 stackAllocation = Allocation.createSized(renderScript,
  /frameworks/rs/tests/cpp_api/typecheck/
typecheck.cpp 22 sp<Allocation> createAlloc(const sp<RS>& rs, const sp<const Element>& e) {
26 return Allocation::createTyped(rs, t);
37 sp<Allocation> a = createAlloc(rs, Element::ENAME(rs)); \
  /frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
TestBase.java 33 protected Allocation mInPixelsAllocation;
34 protected Allocation mInPixelsAllocation2;
35 protected Allocation mOutPixelsAllocation;
Blend.java 39 private Allocation image1;
40 private Allocation image2;
63 image1 = Allocation.createTyped(mRS, mInPixelsAllocation.getType());
64 image2 = Allocation.createTyped(mRS, mInPixelsAllocation2.getType());
  /frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
GroupTest.java 21 import android.renderscript.Allocation;
35 private Allocation mScratchPixelsAllocation1;
78 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect);
  /frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
KernelDataForRenderScriptd1new.java 6 import android.support.v8.renderscript.Allocation;
30 * An RenderScript Allocation for kernelStack.
32 Allocation stackAllocation;
60 stackAllocation = Allocation.createSized(renderScript,
  /frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
KernelDataForRenderScriptF32.java 6 import android.support.v8.renderscript.Allocation;
30 * An RenderScript Allocation for kernelStack.
32 Allocation stackAllocation;
58 stackAllocation = Allocation.createSized(renderScript,
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
ImageProcessingTest.java 19 import android.renderscript.Allocation;
65 private Allocation a1, a2;
75 a1 = Allocation.createTyped(mRS, t);
76 a2 = Allocation.createTyped(mRS, t);
90 Allocation a1_copy, a2_copy;
91 a1_copy = Allocation.createTyped(mRS, a1.getType());
92 a2_copy = Allocation.createTyped(mRS, a2.getType());
117 Allocation src = creatAllocation(w, h);
118 Allocation dst = creatAllocation(w, h);
228 // utility to create and allocation of a given dimensio
    [all...]
AllocationCopyToTest.java 19 import android.renderscript.Allocation;
25 private Allocation alloc;
46 alloc = Allocation.createTyped(mRS, typeBuilder.create());
83 alloc = Allocation.createTyped(mRS, typeBuilder.create());
131 alloc = Allocation.createTyped(mRS, typeBuilder.create());
168 alloc = Allocation.createTyped(mRS, typeBuilder.create());
205 alloc = Allocation.createTyped(mRS, typeBuilder.create());
244 alloc = Allocation.createTyped(mRS, typeBuilder.create());
278 alloc = Allocation.createTyped(mRS, typeBuilder.create());
323 alloc = Allocation.createTyped(mRS, typeBuilder.create())
    [all...]
IntrinsicBlur.java 28 private Allocation mScratchPixelsAllocation1;
29 private Allocation mScratchPixelsAllocation2;
54 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
55 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
  /cts/tests/tests/rscpp/librscpptest/
rs_jni_allocation.cpp 48 Allocation::createTyped(rs, typeBuilder.create());
119 createTypedHelper(rs, Element::ALLOCATION(rs));
134 * Test copyTo and copyFrom for all or part of a 1D Allocation.
137 * @param cellCount Total number of elements in this Allocation.
138 * @param offset Offset of this Allocation for copy.
140 * @param copyRange Copy the entire allocation or part of it (using different API).
151 sp<Allocation> alloc = nullptr;
157 alloc = Allocation::createSized(rs, makeElement(rs, dt, 3), cellCount);
160 alloc = Allocation::createSized(rs, makeElement(rs, dt, 1), cellCount);
190 //Corresponding 1D allocation to allocation copy
    [all...]
  /hardware/interfaces/renderscript/1.0/default/
Context.cpp 68 Return<Allocation> Context::allocationAdapterCreate(Type type, Allocation baseAlloc) {
72 return rs_to_hidl<Allocation>(_subAlloc);
75 Return<void> Context::allocationAdapterOffset(Allocation alloc, const hidl_vec<uint32_t>& offsets) {
82 Return<Type> Context::allocationGetType(Allocation allocation) {
83 RsAllocation _allocation = hidl_to_rs<RsAllocation>(allocation);
88 Return<Allocation> Context::allocationCreateTyped(Type type, AllocationMipmapControl amips, int32_t usage, Ptr ptr) {
94 return rs_to_hidl<Allocation>(_allocation);
97 Return<Allocation> Context::allocationCreateFromBitmap(Type type, AllocationMipmapControl amips, const hidl_vec<uint (…)
    [all...]
  /frameworks/base/rs/java/android/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
39 * different usages using {@link android.renderscript.Allocation#syncAll} in
40 * order to ensure that different users of the Allocation have a consistent view
41 * of memory. For example, in the case where an Allocation is used as the output
43 * {@link #syncAll syncAll(Allocation.USAGE_SCRIPT)} prior to launching the
46 * <p>An Allocation can be populated with the {@link #copyFrom} routines. For
57 public class Allocation extends BaseObj
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/compute/
vktComputeTestsUtil.hpp 50 vk::Allocation& getAllocation (void) const { return *m_allocation; }
53 de::MovePtr<vk::Allocation> m_allocation;
71 vk::Allocation& getAllocation (void) const { return *m_allocation; }
74 de::MovePtr<vk::Allocation> m_allocation;
  /external/valgrind/drd/tests/
tc21_pthonce.stderr.exp 7 Allocation context: BSS section of tc21_pthonce
17 Allocation context: BSS section of tc21_pthonce
  /frameworks/compile/slang/tests/P_reflection3264_divergent/
ScriptField_Divergent.java.expect 37 Allocation a;
55 eb.add(Element.ALLOCATION(rs), "a");
86 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
91 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
95 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);
104 obj.mAllocation = Allocation.createTyped(rs, t, usages);
119 obj.mAllocation = Allocation.createTyped(rs, t, usages);
169 public synchronized void set_a(int index, Allocation v, boolean copyNow) {
204 public synchronized Allocation get_a(int index) {
  /frameworks/compile/slang/tests/P_reflection3264_divergent_support/
ScriptField_Divergent.java.expect 34 Allocation a;
52 eb.add(Element.ALLOCATION(rs), "a");
83 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
88 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
92 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);
101 obj.mAllocation = Allocation.createTyped(rs, t, usages);
116 obj.mAllocation = Allocation.createTyped(rs, t, usages);
166 public synchronized void set_a(int index, Allocation v, boolean copyNow) {
201 public synchronized Allocation get_a(int index) {
  /frameworks/rs/
rsProgramVertex.h 60 ObjectBaseRef<Allocation> mDefaultAlloc;
  /frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Mirror.java 21 import android.renderscript.Allocation;
  /frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
UT_fp16.java 20 import android.renderscript.Allocation;
30 private Allocation alloc;
50 alloc = Allocation.createTyped(RS, type);
143 Allocation A;
  /hardware/interfaces/renderscript/1.0/vts/functional/
VtsScriptTests.cpp 87 Allocation allocationIn = context->allocationCreateTyped(type, AllocationMipmapControl::NONE,
90 ASSERT_NE(Allocation(0), allocationIn);
92 Allocation allocationOut = Allocation(0);
96 allocationOut = (Allocation) *((ObjectBase*)_data.data()); });
214 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, local
217 ASSERT_NE(Allocation(0), allocation);
219 Allocation vout = context->allocationCreateTyped(type, AllocationMipmapControl::NONE
262 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, local
306 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, local
438 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, local
515 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterChanSat.java 21 import android.renderscript.Allocation;
74 int quality, Allocation in) {
131 private void runSelectiveAdjust(Allocation in, Allocation out) {
  /device/linaro/bootloader/edk2/ArmPkg/Library/DebugUncachedMemoryAllocationLib/
DebugUncachedMemoryAllocationLib.c 63 VOID *Allocation;
73 IN VOID *Allocation,
86 NewNode->Allocation = Allocation;
96 OUT VOID **Allocation,
103 *Allocation = NULL;
109 *Allocation = OldNode->Allocation;
466 VOID *Allocation;
469 RemovePagesFromList (Buffer, &Allocation, &Pages);
    [all...]

Completed in 1403 milliseconds

<<21222324252627282930>>