HomeSort by relevance Sort by last modified time
    Searched refs:Allocation (Results 26 - 50 of 837) sorted by null

12 3 4 5 6 7 8 91011>>

  /cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/
ImageBuffersForRenderScriptd1new.java 20 import android.renderscript.Allocation;
37 * Global allocation for images and meta data that are bound with memory in Render Script
41 public Allocation sharpRGBAAllocation;
42 public Allocation fuzzyRGBAAllocation;
43 public Allocation integralRGBAAllocation;
45 public Allocation sharpActualDepthAllocation;
46 public Allocation sharpDilatedDepthAllocation;
47 public Allocation sharpActiveAllocation;
48 public Allocation sharpMatteAllocation;
74 sharpRGBAAllocation = Allocation.createSized
    [all...]
  /frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
ImageBuffersForRenderScriptd1new.java 4 import android.support.v8.renderscript.Allocation;
25 * Global allocation for images and meta data that are bound with memory in Render Script
29 public Allocation sharpRGBAAllocation;
30 public Allocation fuzzyRGBAAllocation;
31 public Allocation integralRGBAAllocation;
33 public Allocation sharpActualDepthAllocation;
34 public Allocation sharpDilatedDepthAllocation;
35 public Allocation sharpActiveAllocation;
36 public Allocation sharpMatteAllocation;
51 sharpRGBAAllocation = Allocation.createSized
    [all...]
  /frameworks/av/media/libstagefright/include/media/stagefright/
RenderScriptWrapper.h 30 RSC::Allocation* inBuffer,
31 RSC::Allocation* outBuffer) = 0;
  /cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
ImageBuffersForRenderScript.java 20 import android.renderscript.Allocation;
30 * Input and output images and their corresponding Allocation to interface
35 public Allocation inAllocation;
36 public Allocation outAllocation;
49 inAllocation = Allocation.createFromBitmap(renderScript, inputImage);
53 outAllocation = Allocation.createFromBitmap(renderScript, outputImage);
  /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;
55 mInputHdrAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
56 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
57 mInputNormalAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
58 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;
55 mInputHdrAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
56 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
57 mInputNormalAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
58 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/tests/java_api/Refocus/src/com/android/rs/test/
ImageBuffersForRenderScript.java 4 import android.support.v8.renderscript.Allocation;
16 * Input and output images and their corresponding Allocation to interface
21 public Allocation inAllocation;
22 public Allocation outAllocation;
35 inAllocation = Allocation.createFromBitmap(renderScript, inputImage);
39 outAllocation = Allocation.createFromBitmap(renderScript, outputImage);
  /frameworks/rs/cpp/
rsCppStructs.h 27 * Every row in an RS allocation is guaranteed to be aligned by this amount, and
28 * every row in a user-backed allocation must be aligned by this amount.
47 class Allocation;
497 sp<const Element> ALLOCATION;
560 * from RenderScript kernels. An Allocation provides the backing store for a
563 * An Allocation also contains a set of usage flags that denote how the
564 * Allocation could be used. For example, an Allocation may have usage flags
567 * syncAll(int) in order to ensure that different users of the Allocation have
568 * a consistent view of memory. For example, in the case where an Allocation i
    [all...]
  /frameworks/rs/driver/
rsdAllocation.h 81 android::renderscript::Allocation *alloc);
83 android::renderscript::Allocation *alloc,
87 android::renderscript::Allocation *alloc,
91 android::renderscript::Allocation *alloc);
93 android::renderscript::Allocation *alloc);
96 const android::renderscript::Allocation *alloc,
99 const android::renderscript::Allocation *alloc,
102 const android::renderscript::Allocation *alloc);
104 android::renderscript::Allocation *alloc, ANativeWindow *nw);
106 android::renderscript::Allocation *alloc)
    [all...]
  /frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
ViewfinderProcessor.java 22 import android.renderscript.Allocation;
36 private Allocation mInputAllocation;
37 private Allocation mOutputAllocation;
49 mInputAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
50 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
56 mOutputAllocation = Allocation.createTyped(rs, rgbTypeBuilder.create(),
57 Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT);
81 class ProcessingTask implements Runnable, Allocation.OnBufferAvailableListener
    [all...]
  /frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
RsBrickedBitMask.java 18 import android.renderscript.Allocation;
39 Allocation mBrick_allocation;
61 mBrick_allocation = Allocation.createTyped(state.mRs, b.create(), Allocation.USAGE_SCRIPT);
74 Allocation tmp = Allocation.createTyped(state.mRs, b.create(), Allocation.USAGE_SCRIPT);
82 Allocation createChunkAllocation(RenderScript rs) {
87 return Allocation.createTyped(rs, b.create(), Allocation.USAGE_SCRIPT);
    [all...]
  /frameworks/compile/slang/tests/P_reduce_general_struct/
ScriptC_reduce_general_struct.java.expect 60 for (Allocation tempIn : mTempIns) {
73 private result_int(Allocation out) {
79 private Allocation[] mTempIns;
80 private Allocation mOut;
87 public result_int reduce_inStruct(Allocation ain1) {
92 public result_int reduce_inStruct(Allocation ain1, Script.LaunchOptions sc) {
97 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
99 reduce(mExportReduceIdx_inStruct, new Allocation[]{ain1}, aout, sc);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationResize.java 20 import android.renderscript.Allocation;
26 private Allocation mIn;
27 private Allocation mOut;
31 public void forEach(int testId, Allocation mIn, Allocation mOut) throws RSRuntimeException {
41 mIn = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE/2);
42 mOut = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE*2);
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);
  /frameworks/rs/tests/lldb/java/SingleSource/src/com/android/rs/singlesource/
MainActivity.java 28 private Allocation mAllocIn1;
29 private Allocation mAllocIn2;
30 private Allocation mAllocOut;
50 // create the first input allocation
51 mAllocIn1 = Allocation.createSized(mRS, Element.F32(mRS), 4);
55 // create second input allocation
56 mAllocIn2 = Allocation.createSized(mRS, Element.F32(mRS), 4);
60 // create output allocation
61 mAllocOut = Allocation.createSized(mRS, Element.F32(mRS), 4);
63 // setup the global output allocation
    [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);
  /cts/tests/tests/rscpp/src/android/cts/rscpp/
RSBlurTest.java 46 Allocation rsInput = Allocation.createTyped(mRS, build.create());
47 Allocation rsOutput = Allocation.createTyped(mRS, build.create());
57 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create());
75 Allocation rsInput = Allocation.createTyped(mRS, build.create());
76 Allocation rsOutput = Allocation.createTyped(mRS, build.create())
    [all...]
  /frameworks/rs/tests/lldb/java/KernelVariables/src/com/android/rs/kernelvariables/
MainActivity.java 32 private Allocation mInAllocation;
33 private Allocation mOutAllocation;
59 mInAllocation = Allocation.createFromBitmap(mRS, mBitmapIn);
60 mOutAllocation = Allocation.createFromBitmap(mRS, mBitmapOut);
67 Allocation int_allocation = Allocation.createSized(mRS, Element.I32(mRS), 4);
77 Allocation int_allocation2 = Allocation.createTyped(mRS, typeI32Builder2D.create());
94 Allocation int_allocation3 = Allocation.createTyped(mRS, typeI32Builder3D.create())
    [all...]
  /frameworks/rs/
rsAllocation.cpp 28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages,
42 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type)
54 void Allocation::operator delete(void* ptr) {
56 Allocation *a = (Allocation*) ptr;
61 Allocation * Allocation::createAllocationStrided(Context *rsc, const Type *type, uint32_t usages
    [all...]
  /frameworks/rs/rsov/driver/
rsovAllocation.h 29 class Allocation;
82 android::renderscript::Allocation *alloc,
86 android::renderscript::Allocation *alloc);
89 const android::renderscript::Allocation *alloc,
94 const android::renderscript::Allocation *alloc,
101 const android::renderscript::Allocation *alloc,
108 const android::renderscript::Allocation *alloc,
113 const android::renderscript::Allocation *alloc,
120 const android::renderscript::Allocation *alloc,
128 const android::renderscript::Allocation *alloc)
    [all...]
  /system/core/libmemunreachable/tests/
HeapWalker_test.cpp 44 TEST_F(HeapWalkerTest, allocation) {
46 ASSERT_TRUE(heap_walker.Allocation(3, 4));
47 ASSERT_TRUE(heap_walker.Allocation(2, 3));
48 ASSERT_TRUE(heap_walker.Allocation(4, 5));
49 ASSERT_TRUE(heap_walker.Allocation(6, 7));
50 ASSERT_TRUE(heap_walker.Allocation(0, 1));
55 ASSERT_TRUE(heap_walker.Allocation(2, 3));
56 ASSERT_TRUE(heap_walker.Allocation(3, 4));
57 ASSERT_FALSE(heap_walker.Allocation(2, 3));
58 ASSERT_FALSE(heap_walker.Allocation(1, 3))
    [all...]
  /cts/tests/camera/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...]
  /cts/tests/tests/rsblas/src/android/renderscript/cts/
IntrinsicBase.java 21 import android.renderscript.Allocation;
29 protected Allocation mAllocSrc;
30 protected Allocation mAllocRef;
31 protected Allocation mAllocDst;
  /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...]

Completed in 699 milliseconds

12 3 4 5 6 7 8 91011>>