Searched refs:Allocation (Results 1 - 25 of 370) sorted by relevance

1234567891011>>

/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicBlend.java21 * 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 ai
[all...]
H A DScriptIntrinsicYuvToRGB.java24 * as a YUV element Allocation. The output is RGBA; the alpha channel
28 private Allocation mInput;
57 public void setInput(Allocation ain) {
68 public void forEach(Allocation aout) {
69 forEach(0, (Allocation) null, aout, null);
/frameworks/compile/slang/tests/P_reduce_general_input/
H A DScriptC_reduce_general_input.java.expect123 for (Allocation tempIn : mTempIns) {
136 private result_int(Allocation out) {
142 private Allocation[] mTempIns;
143 private Allocation mOut;
155 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
160 result.mTempIns = new Allocation[]{ain1};
165 public result_int reduce_my_half_0(Allocation ain1) {
170 public result_int reduce_my_half_0(Allocation ain1, Script.LaunchOptions sc) {
175 Allocation aou
[all...]
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
H A DScriptC_reduce_general_accumulator.java.expect55 for (Allocation tempIn : mTempIns) {
68 private result_int(Allocation out) {
74 private Allocation[] mTempIns;
75 private Allocation mOut;
87 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
92 result.mTempIns = new Allocation[]{ain1};
97 public result_int reduce_my_half(Allocation ain1) {
102 public result_int reduce_my_half(Allocation ain1, Script.LaunchOptions sc) {
107 Allocation aou
[all...]
/frameworks/rs/
H A DrsApiAllocation.cpp24 Allocation *a = static_cast<Allocation *>(va);
H A DrsFBOCache.h26 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/
H A DScriptIntrinsicBlend.java22 * {@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 ai
[all...]
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/
H A DScriptC_reduce_general_examples_halter.java.expect57 for (Allocation tempIn : mTempIns) {
70 private result_int(Allocation out) {
76 private Allocation[] mTempIns;
77 private Allocation mOut;
93 for (Allocation tempIn : mTempIns) {
106 private result_int2(Allocation out) {
112 private Allocation[] mTempIns;
113 private Allocation mOut;
125 Allocation ain1 = Allocation
[all...]
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
H A DScriptC_reduce_general_examples_explicit.java.expect66 for (Allocation tempIn : mTempIns) {
79 private resultArray256_uint(Allocation out) {
85 private Allocation[] mTempIns;
86 private Allocation mOut;
102 for (Allocation tempIn : mTempIns) {
115 private result_float(Allocation out) {
121 private Allocation[] mTempIns;
122 private Allocation mOut;
138 for (Allocation tempIn : mTempIns) {
151 private result_int(Allocation ou
[all...]
/frameworks/compile/slang/tests/P_reduce_general_inputs/
H A DScriptC_reduce_general_inputs.java.expect95 for (Allocation tempIn : mTempIns) {
108 private result_int(Allocation out) {
114 private Allocation[] mTempIns;
115 private Allocation mOut;
128 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
139 Allocation ain2 = Allocation.createSized(mRSLocal, __F16, in2.length);
144 result.mTempIns = new Allocation[]{ain1, ain2};
150 public result_int reduce_my_half_half_0(Allocation ain
[all...]
/frameworks/compile/slang/tests/P_reduce_general_examples/
H A DScriptC_reduce_general_examples.java.expect68 for (Allocation tempIn : mTempIns) {
81 private resultArray256_uint(Allocation out) {
87 private Allocation[] mTempIns;
88 private Allocation mOut;
104 for (Allocation tempIn : mTempIns) {
117 private result_float(Allocation out) {
123 private Allocation[] mTempIns;
124 private Allocation mOut;
140 for (Allocation tempIn : mTempIns) {
153 private result_int(Allocation ou
[all...]
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
H A DScriptC_reduce_general_examples_backward.java.expect68 for (Allocation tempIn : mTempIns) {
81 private resultArray256_uint(Allocation out) {
87 private Allocation[] mTempIns;
88 private Allocation mOut;
104 for (Allocation tempIn : mTempIns) {
117 private result_float(Allocation out) {
123 private Allocation[] mTempIns;
124 private Allocation mOut;
140 for (Allocation tempIn : mTempIns) {
153 private result_int(Allocation ou
[all...]
/frameworks/compile/slang/tests/P_reduce_general_struct/
H A DScriptC_reduce_general_struct.java.expect57 for (Allocation tempIn : mTempIns) {
70 private result_int(Allocation out) {
76 private Allocation[] mTempIns;
77 private Allocation mOut;
84 public result_int reduce_inStruct(Allocation ain1) {
89 public result_int reduce_inStruct(Allocation ain1, Script.LaunchOptions sc) {
94 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
96 reduce(mExportReduceIdx_inStruct, new Allocation[]{ain1}, aout, sc);
/frameworks/compile/slang/tests/P_reduce_general_duplicate_array/
H A DScriptC_reduce_general_duplicate_array.java.expect55 for (Allocation tempIn : mTempIns) {
68 private resultArray4_int(Allocation out) {
74 private Allocation[] mTempIns;
75 private Allocation mOut;
87 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
92 result.mTempIns = new Allocation[]{ain1};
97 public resultArray4_int reduce_sumDec(Allocation ain1) {
102 public resultArray4_int reduce_sumDec(Allocation ain1, Script.LaunchOptions sc) {
107 Allocation aou
[all...]
/frameworks/compile/slang/tests/P_reduce_general_result/
H A DScriptC_reduce_general_result.java.expect126 for (Allocation tempIn : mTempIns) {
139 private resultArray7_bool(Allocation out) {
145 private Allocation[] mTempIns;
146 private Allocation mOut;
162 for (Allocation tempIn : mTempIns) {
175 private resultArray7_char(Allocation out) {
181 private Allocation[] mTempIns;
182 private Allocation mOut;
203 for (Allocation tempIn : mTempIns) {
216 private resultArray7_char2(Allocation ou
[all...]
/frameworks/rs/tests/lldb/java/Allocations/src/com/android/rs/allocations/
H A DMainActivity.java27 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 mUCharAllocatio
[all...]
/frameworks/rs/tests/lldb/cpp/Allocations/
H A DAllocations.cpp22 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> mShortAllocatio
[all...]
/frameworks/rs/tests/lldb/jni/Allocations/jniallocations/
H A Djniallocations.cpp26 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> mShortAllocatio
[all...]
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DUsageIO.java22 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/RsTest/src/com/android/rs/test/
H A DUT_foreach_multi.java20 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
[all...]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
H A DImageBuffersForRenderScriptd1new.java4 import android.support.v8.renderscript.Allocation;
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(
54 sharpActualDepthAllocation = Allocation
[all...]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DImageBuffersForRenderScript.java4 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/
H A DrsCppStructs.h47 class 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 is
573 class Allocation : public BaseObj { class in namespace:android::RSC
577 sp<Allocation> mAdaptedAllocation;
599 Allocation(voi
[all...]
/frameworks/rs/driver/
H A DrsdAllocation.h81 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 *allo
[all...]
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DViewfinderProcessor.java22 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
[all...]

Completed in 381 milliseconds

1234567891011>>