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

<<11121314151617181920>>

  /frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Blur25.java 21 import android.renderscript.Allocation;
38 private Allocation mScratchPixelsAllocation1;
39 private Allocation mScratchPixelsAllocation2;
79 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
80 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
Blur25G.java 22 import android.renderscript.Allocation;
40 private Allocation mScratchPixelsAllocation1;
41 private Allocation mScratchPixelsAllocation2;
70 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
71 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
  /frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Blur25.java 21 import android.renderscript.Allocation;
40 private Allocation mScratchPixelsAllocation1;
41 private Allocation mScratchPixelsAllocation2;
88 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
89 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
  /frameworks/rs/tests/lldb/java/InfiniteLoop/src/com/android/rs/infiniteloop/
MainActivity.java 42 private Allocation mInAllocation;
43 private Allocation[] mOutAllocations;
97 mInAllocation = Allocation.createFromBitmap(mRS, mBitmapIn);
98 mOutAllocations = new Allocation[NUM_BITMAPS];
100 mOutAllocations[i] = Allocation.createFromBitmap(mRS, mBitmapsOut[i]);
109 * After the kernel is done, an operation blocks at Allocation.copyTo() in AsyncTask thread.
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
SmallStructsTest.java 19 import android.renderscript.Allocation;
30 * (a) the setup stage initializes the Allocation of structs
31 * (b) modify calls a forEach_* kernel with the Allocation
151 // Make the input allocation.
157 Allocation alloc = (Allocation) scriptFieldClass.getMethod("getAllocation")
176 Allocation.class, Allocation.class);
180 Allocation.class);
210 // Build the input allocation
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
AllocationStats.java 40 private final ImmutableMultiset<Allocation> allocations;
48 this(allocationCount, allocationSize, reps, ImmutableMultiset.<Allocation>of());
55 AllocationStats(Collection<Allocation> allocations, int reps) {
56 this(allocations.size(), Allocation.getTotalSize(allocations), reps,
61 Multiset<Allocation> allocations) {
85 for (Entry<Allocation> entry : baseline.allocations.entrySet()) {
89 String.format("Your benchmark appears to have non-deterministic allocation behavior. "
104 "Your benchmark appears to have non-deterministic allocation behavior. The difference "
106 + "instrument.allocation.options.trackAllocations to get a more specific error message.",
129 for (Entry<Allocation> entry : allocations.entrySet())
    [all...]
  /frameworks/rs/rsov/driver/
rsovAllocation.cpp 33 size_t DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) {
35 // Allocation::ioReceive. Return early and avoid clobberring any
82 size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc,
96 size_t offsets[Allocation::MAX_LOD];
141 size_t AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc,
144 Allocation::kMinimumRSAlignment);
147 uint8_t *GetOffsetPtr(const Allocation *alloc, uint32_t xoff, uint32_t yoff,
159 void mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
179 void mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
199 void mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face)
    [all...]
  /frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
BallsRS.java 42 private Allocation mGridCache;
46 Allocation.USAGE_SCRIPT |
47 Allocation.USAGE_GRAPHICS_CONSTANTS);
75 private Allocation loadTexture(int id) {
79 final Allocation allocation = local
80 Allocation.createFromBitmap(mRS, bp,
81 Allocation.MipmapControl.MIPMAP_NONE,
82 Allocation.USAGE_GRAPHICS_TEXTURE);
83 return allocation;
    [all...]
  /cts/tests/camera/src/android/hardware/camera2/cts/rs/
Script.java 22 import android.renderscript.Allocation;
31 * <p>Each script has exactly one input and one output allocation, and is able to execute
34 * <p>Each script owns it's input allocation, but not the output allocation.</p>
187 protected Allocation mOutputAllocation;
188 protected Allocation mInputAllocation;
225 void setInput(Allocation allocation) {
227 checkNotNull("allocation", allocation);
    [all...]
  /frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
VrState.java 20 import android.renderscript.Allocation;
37 Allocation mzRangeFullAllocation;
38 public Allocation mScrAllocation; // the RGB data out
76 mScrAllocation = Allocation.createTyped(mRs, b.create(),
77 Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT);
95 mzRangeFullAllocation = Allocation.createTyped(mRs, b.create());
  /packages/apps/Camera2/src/com/android/camera/one/v2/core/
RequestBuilder.java 54 .Allocation {
80 private static interface Allocation {
88 private final List<Allocation> mAllocations;
91 public RequestImpl(CaptureRequestBuilderProxy builder, List<Allocation> allocations,
101 for (Allocation allocation : mAllocations) {
102 allocation.allocate();
114 for (Allocation allocation : mAllocations) {
115 allocation.abort()
    [all...]
  /pdk/apps/TestingCamera/src/com/android/testingcamera/
CallbackProcessor.java 8 import android.renderscript.Allocation;
27 * into an Allocation that's backed by a SurfaceView
36 private Allocation mAllocationIn;
37 private Allocation mAllocationOut;
63 mAllocationIn = Allocation.createSized(mRS, Element.U8(mRS), inputSize);
70 mAllocationOut = Allocation.createTyped(mRS, outType,
71 Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT);
  /external/deqp/external/vulkancts/framework/vulkan/
vkMemUtil.cpp 89 // Allocation
91 Allocation::Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr)
98 Allocation::~Allocation (void)
139 class SimpleAllocation : public Allocation
151 : Allocation (*mem, (VkDeviceSize)0, hostPtr ? hostPtr->get() : DE_NULL)
168 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignment)
178 return MovePtr<Allocation>(new SimpleAllocation(mem, hostPtr));
181 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryRequirements& memReqs, MemoryRequirement requirement
    [all...]
  /frameworks/base/rs/java/android/renderscript/
Script.java 169 protected void forEach(int slot, Allocation ain, Allocation aout,
178 protected void forEach(int slot, Allocation ain, Allocation aout,
187 "At least one of input allocation, output allocation, or LaunchOptions is required to be non-null.");
224 protected void forEach(int slot, Allocation[] ains, Allocation aout,
234 protected void forEach(int slot, Allocation[] ains, Allocation aout
    [all...]
ScriptIntrinsicHistogram.java 25 private Allocation mOut;
58 * output allocation. The output allocation may be a narrower
69 public void forEach(Allocation ain) {
75 * output allocation. The output allocation may be a narrower
87 public void forEach(Allocation ain, Script.LaunchOptions opt) {
137 * @param aout The output allocation
139 public void setOutput(Allocation aout) {
165 * output allocation. The dot product of the input channel an
    [all...]
  /frameworks/compile/slang/tests/P_reflection3264_multifile/
ScriptC_reflection3264_multifile_3.java.expect 41 __ALLOCATION = Element.ALLOCATION(rs);
50 private Allocation[] mExportVar_a;
51 public synchronized void set_a(Allocation[] v) {
63 public Allocation[] get_a() {
98 public void invoke_h(Allocation c, int d, Allocation e) {
  /frameworks/rs/driver/
rsdBcc.cpp 28 using android::renderscript::Allocation;
71 const Allocation * ain,
72 Allocation * aout,
81 const Allocation *ains[1] = {ain};
91 const Allocation ** ains,
93 Allocation * aout,
128 const Allocation ** ains, size_t inLen,
129 Allocation *aout,
156 void rsdScriptSetGlobalBind(const Context *dc, const Script *s, uint32_t slot, Allocation *data) {
173 Allocation * rsdScriptGetAllocationForPointer(const android::renderscript::Context *dc
    [all...]
  /frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
UT_alloc_copyPadded.java 21 import android.renderscript.Allocation;
30 super("Allocation CopyTo Padded", ctx);
94 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create());
126 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create());
159 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create());
193 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create())
    [all...]
  /frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
UT_alloc_copyPadded.java 23 import android.support.v8.renderscript.Allocation;
32 super("Allocation CopyTo Padded", ctx);
96 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create());
128 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create());
161 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create());
195 Allocation alloc = Allocation.createTyped(mRS, typeBuilder.create())
    [all...]
  /cts/tests/tests/view/src/android/view/cts/surfacevalidator/
SurfacePixelValidator.java 24 import android.renderscript.Allocation;
56 private final Allocation mInPixelsAllocation;
122 allocation -> mWorkerHandler.post(mConsumeRunnable));
129 private Allocation createBufferQueueAllocation() {
130 return Allocation.createAllocations(mRS, Type.createXY(mRS,
133 Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_INPUT,
  /developers/build/prebuilts/gradle/BasicRenderScript/Application/src/main/java/com/example/android/basicrenderscript/
MainActivity.java 24 import android.support.v8.renderscript.Allocation;
41 private Allocation mInAllocation;
42 private Allocation[] mOutAllocations;
101 mInAllocation = Allocation.createFromBitmap(rs, mBitmapIn);
102 mOutAllocations = new Allocation[NUM_BITMAPS];
104 mOutAllocations[i] = Allocation.createFromBitmap(rs, mBitmapsOut[i]);
113 * After the filtering is done, an operation blocks at Allocation.copyTo() in AsyncTask thread.
  /developers/samples/android/renderScript/BasicRenderScript/Application/src/main/java/com/example/android/basicrenderscript/
MainActivity.java 24 import android.support.v8.renderscript.Allocation;
41 private Allocation mInAllocation;
42 private Allocation[] mOutAllocations;
101 mInAllocation = Allocation.createFromBitmap(rs, mBitmapIn);
102 mOutAllocations = new Allocation[NUM_BITMAPS];
104 mOutAllocations[i] = Allocation.createFromBitmap(rs, mBitmapsOut[i]);
113 * After the filtering is done, an operation blocks at Allocation.copyTo() in AsyncTask thread.
  /frameworks/rs/support/java/src/android/support/v8/renderscript/
ScriptIntrinsicHistogram.java 27 private Allocation mOut;
68 * output allocation. The output allocation may be a narrower
79 public void forEach(Allocation ain) {
85 * output allocation. The output allocation may be a narrower
97 public void forEach(Allocation ain, Script.LaunchOptions opt) {
147 * @param aout The output allocation
149 public void setOutput(Allocation aout) {
175 * output allocation. The dot product of the input channel an
    [all...]
  /frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
ImageProcessingActivity2.java 149 Allocation mInPixelsAllocation;
150 Allocation mInPixelsAllocation2;
151 Allocation mOutDisplayAllocation1;
152 Allocation mOutDisplayAllocation2;
164 Allocation mOutDisplayAllocationIO;
165 Allocation mOutPixelsAllocationIO;
205 mInPixelsAllocation = Allocation.createFromBitmapResource(
207 mInPixelsAllocation2 = Allocation.createFromBitmapResource(
213 mInPixelsAllocation = Allocation.createFromBitmapResource(
215 mInPixelsAllocation2 = Allocation.createFromBitmapResource
    [all...]
  /hardware/interfaces/renderscript/1.0/vts/functional/
VtsCopyTests.cpp 20 * This test creates a 1D Allocation with 128 Float Elements, and two float
22 * the Allocation using allocation1DWrite. Then the Allocation is copied into
40 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, local
43 ASSERT_NE(Allocation(0), allocation);
49 context->allocation1DWrite(allocation, 0, 0, (Size)dataIn.size(), _data);
50 context->allocation1DRead(allocation, 0, 0, (uint32_t)dataOut.size(), (Ptr)dataOut.data(),
56 * This test creates a 2D Allocation with 128 * 128 Float Elements, and tw
76 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, local
113 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, local
154 Allocation allocation = context->allocationCreateFromBitmap(type, local
299 Allocation allocation = context->allocationCreateFromBitmap(type, local
357 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::FULL, local
403 Allocation allocation = context->allocationCubeCreateFromBitmap( local
464 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, local
    [all...]

Completed in 2319 milliseconds

<<11121314151617181920>>