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

1 2 3 4 5 6 7 8 91011>>

  /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...]
ScriptIntrinsicYuvToRGB.java 23 * The input allocation should be supplied in a supported YUV format
24 * as a YUV element Allocation. The output is RGBA; the alpha channel
28 private Allocation mInput;
53 * Set the input yuv allocation, must be {@link Element#U8}.
55 * @param ain The input allocation.
57 public void setInput(Allocation ain) {
65 * @param aout Output allocation. Must match creation element
68 public void forEach(Allocation aout) {
69 forEach(0, (Allocation) null, aout, null);
  /frameworks/compile/slang/tests/P_reduce_general_input/
ScriptC_reduce_general_input.java.expect 126 for (Allocation tempIn : mTempIns) {
139 private result_int(Allocation out) {
145 private Allocation[] mTempIns;
146 private Allocation mOut;
158 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
163 result.mTempIns = new Allocation[]{ain1};
168 public result_int reduce_my_half_0(Allocation ain1) {
173 public result_int reduce_my_half_0(Allocation ain1, Script.LaunchOptions sc) {
178 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1)
    [all...]
  /frameworks/compile/slang/tests/P_reduce_general_accumulator/
ScriptC_reduce_general_accumulator.java.expect 58 for (Allocation tempIn : mTempIns) {
71 private result_int(Allocation out) {
77 private Allocation[] mTempIns;
78 private Allocation mOut;
90 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
95 result.mTempIns = new Allocation[]{ain1};
100 public result_int reduce_my_half(Allocation ain1) {
105 public result_int reduce_my_half(Allocation ain1, Script.LaunchOptions sc) {
110 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1)
    [all...]
  /frameworks/rs/
rsApiAllocation.cpp 24 Allocation *a = static_cast<Allocation *>(va);
rsFBOCache.h 26 class Allocation;
36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot);
37 void bindDepthTarget(Context *, Allocation *a);
47 Allocation **colorTargets;
49 Allocation *depthTarget;
56 ObjectBaseRef<Allocation> *mColorTargets;
57 ObjectBaseRef<Allocation> mDepthTarget;
  /frameworks/rs/support/java/src/android/support/v8/renderscript/
ScriptIntrinsicBlend.java 22 * {@link android.support.v8.renderscript.Allocation} objects.
54 private void blend(int id, Allocation ain, Allocation aout) {
70 public void forEachClear(Allocation ain, Allocation aout) {
90 public void forEachSrc(Allocation ain, Allocation aout) {
111 public void forEachDst(Allocation ain, Allocation aout) {
130 public void forEachSrcOver(Allocation ain, Allocation aout)
    [all...]
  /frameworks/compile/slang/tests/P_reduce_general_examples_halter/
ScriptC_reduce_general_examples_halter.java.expect 60 for (Allocation tempIn : mTempIns) {
73 private result_int(Allocation out) {
79 private Allocation[] mTempIns;
80 private Allocation mOut;
96 for (Allocation tempIn : mTempIns) {
109 private result_int2(Allocation out) {
115 private Allocation[] mTempIns;
116 private Allocation mOut;
128 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
PipelineInterface.java 21 import android.renderscript.Allocation;
27 public Allocation getInPixelsAllocation();
28 public Allocation getOutPixelsAllocation();
  /frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
ScriptC_reduce_general_examples_explicit.java.expect 69 for (Allocation tempIn : mTempIns) {
82 private resultArray256_uint(Allocation out) {
88 private Allocation[] mTempIns;
89 private Allocation mOut;
105 for (Allocation tempIn : mTempIns) {
118 private result_float(Allocation out) {
124 private Allocation[] mTempIns;
125 private Allocation mOut;
141 for (Allocation tempIn : mTempIns) {
154 private result_int(Allocation out)
    [all...]
  /frameworks/compile/slang/tests/P_reduce_general_examples/
ScriptC_reduce_general_examples.java.expect 71 for (Allocation tempIn : mTempIns) {
84 private resultArray256_uint(Allocation out) {
90 private Allocation[] mTempIns;
91 private Allocation mOut;
107 for (Allocation tempIn : mTempIns) {
120 private result_float(Allocation out) {
126 private Allocation[] mTempIns;
127 private Allocation mOut;
143 for (Allocation tempIn : mTempIns) {
156 private result_int(Allocation out)
    [all...]
  /frameworks/compile/slang/tests/P_reduce_general_examples_backward/
ScriptC_reduce_general_examples_backward.java.expect 71 for (Allocation tempIn : mTempIns) {
84 private resultArray256_uint(Allocation out) {
90 private Allocation[] mTempIns;
91 private Allocation mOut;
107 for (Allocation tempIn : mTempIns) {
120 private result_float(Allocation out) {
126 private Allocation[] mTempIns;
127 private Allocation mOut;
143 for (Allocation tempIn : mTempIns) {
156 private result_int(Allocation out)
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
KernelInputTest.java 19 import android.renderscript.Allocation;
51 * are never reflected back to the input Allocation.
55 * After running the forEach kernel, the input Allocation is checked
69 Allocation ain = Allocation.createSized(mRS, Element.I8(mRS), 1);
70 Allocation tmp = Allocation.createSized(mRS, Element.I8(mRS), 1);
86 Allocation ain = Allocation.createSized(mRS, Element.I8_2(mRS), 1);
87 Allocation tmp = Allocation.createSized(mRS, Element.I8_2(mRS), 1)
    [all...]
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);
83 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum);
84 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum)
104 Allocation allocation = Allocation.createTyped(mRS, mIn.getType()); local
    [all...]
AllocationCreateAllocationsTest.java 22 import android.renderscript.Allocation;
36 Allocation[] createAllocationsHelper(int usage, int numAlloc) {
39 return Allocation.createAllocations(mRS, t, usage, numAlloc);
43 int usage = Allocation.USAGE_SCRIPT;
46 Allocation[] allocArray;
49 for (Allocation a : allocArray) {
55 int usage = Allocation.USAGE_IO_INPUT;
58 Allocation[] allocArray;
67 for (Allocation a : allocArray) {
74 int usage = Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_INPUT
    [all...]
  /frameworks/compile/slang/tests/P_reduce_general_inputs/
ScriptC_reduce_general_inputs.java.expect 98 for (Allocation tempIn : mTempIns) {
111 private result_int(Allocation out) {
117 private Allocation[] mTempIns;
118 private Allocation mOut;
131 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
142 Allocation ain2 = Allocation.createSized(mRSLocal, __F16, in2.length);
147 result.mTempIns = new Allocation[]{ain1, ain2};
153 public result_int reduce_my_half_half_0(Allocation ain1, Allocation ain2)
    [all...]
  /frameworks/compile/slang/tests/P_reduce_general_duplicate_array/
ScriptC_reduce_general_duplicate_array.java.expect 58 for (Allocation tempIn : mTempIns) {
71 private resultArray4_int(Allocation out) {
77 private Allocation[] mTempIns;
78 private Allocation mOut;
90 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
95 result.mTempIns = new Allocation[]{ain1};
100 public resultArray4_int reduce_sumDec(Allocation ain1) {
105 public resultArray4_int reduce_sumDec(Allocation ain1, Script.LaunchOptions sc) {
110 Allocation aout = Allocation.createSized(mRSLocal, __I32, 4)
    [all...]
  /frameworks/compile/slang/tests/P_reduce_general_result/
ScriptC_reduce_general_result.java.expect 129 for (Allocation tempIn : mTempIns) {
142 private resultArray7_bool(Allocation out) {
148 private Allocation[] mTempIns;
149 private Allocation mOut;
165 for (Allocation tempIn : mTempIns) {
178 private resultArray7_char(Allocation out) {
184 private Allocation[] mTempIns;
185 private Allocation mOut;
206 for (Allocation tempIn : mTempIns) {
219 private resultArray7_char2(Allocation out)
    [all...]
  /external/tensorflow/tensorflow/contrib/lite/
allocation.h 29 // A memory allocation handle. This could be a mmap or shared memory.
30 class Allocation {
32 Allocation(ErrorReporter* error_reporter) : error_reporter_(error_reporter) {}
33 virtual ~Allocation() {}
35 // Base pointer of this allocation
37 // Size in bytes of the allocation
39 // Whether the allocation is valid
46 class MMAPAllocation : public Allocation {
61 class FileCopyAllocation : public Allocation {
75 class MemoryAllocation : public Allocation {
    [all...]
  /frameworks/rs/tests/lldb/java/Allocations/src/com/android/rs/allocations/
MainActivity.java 27 private Allocation mInAllocation; // script input
28 private Allocation mOutAllocation; // script output
30 private Allocation mStructInAlloc; // complexStruct input
31 private Allocation mStructOutAlloc; // complexStruct output
33 private Allocation mBoolAllocation; // boolean
35 private Allocation mCharAllocation; // char
36 private Allocation mChar2Allocation; // char2
37 private Allocation mChar3Allocation; // char3
38 private Allocation mChar4Allocation; // char4
40 private Allocation mUCharAllocation; // ucha
    [all...]
  /frameworks/rs/tests/lldb/cpp/Allocations/
Allocations.cpp 22 sp<Allocation> mBoolAllocation; // boolean
24 sp<Allocation> mCharAllocation; // char
25 sp<Allocation> mChar2Allocation; // char2
26 sp<Allocation> mChar3Allocation; // char3
27 sp<Allocation> mChar4Allocation; // char4
29 sp<Allocation> mUCharAllocation; // uchar
30 sp<Allocation> mUChar2Allocation; // uchar2
31 sp<Allocation> mUChar3Allocation; // uchar3
32 sp<Allocation> mUChar4Allocation; // uchar4
34 sp<Allocation> mShortAllocation; // shor
    [all...]
  /frameworks/rs/tests/lldb/jni/Allocations/jniallocations/
jniallocations.cpp 26 sp<Allocation> mBoolAllocation; // boolean
28 sp<Allocation> mCharAllocation; // char
29 sp<Allocation> mChar2Allocation; // char2
30 sp<Allocation> mChar3Allocation; // char3
31 sp<Allocation> mChar4Allocation; // char4
33 sp<Allocation> mUCharAllocation; // uchar
34 sp<Allocation> mUChar2Allocation; // uchar2
35 sp<Allocation> mUChar3Allocation; // uchar3
36 sp<Allocation> mUChar4Allocation; // uchar4
38 sp<Allocation> mShortAllocation; // shor
    [all...]
  /frameworks/rs/tests/java_api/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/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
UT_foreach_multi.java 20 import android.renderscript.Allocation;
26 private Allocation Ain0;
27 private Allocation Ain1;
28 private Allocation Ain2;
29 private Allocation Ain3;
31 private Allocation Out0;
32 private Allocation Out1;
33 private Allocation Out2;
34 private Allocation Out3;
51 Ain0 = Allocation.createTyped(RS, type32Builder.create())
    [all...]
  /frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
UT_foreach_multi.java 22 import android.support.v8.renderscript.Allocation;
28 private Allocation Ain0;
29 private Allocation Ain1;
30 private Allocation Ain2;
31 private Allocation Ain3;
33 private Allocation Out0;
34 private Allocation Out1;
35 private Allocation Out2;
36 private Allocation Out3;
53 Ain0 = Allocation.createTyped(RS, type32Builder.create())
    [all...]

Completed in 1442 milliseconds

1 2 3 4 5 6 7 8 91011>>