/frameworks/base/rs/java/android/renderscript/ |
H A D | 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 ai [all...] |
H A D | ScriptIntrinsicYuvToRGB.java | 24 * 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 D | 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 aou [all...] |
/frameworks/compile/slang/tests/P_reduce_general_accumulator/ |
H A D | 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 aou [all...] |
/frameworks/rs/ |
H A D | rsApiAllocation.cpp | 24 Allocation *a = static_cast<Allocation *>(va);
|
H A D | 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/ |
H A D | 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 ai [all...] |
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/ |
H A D | 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 [all...] |
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/ |
H A D | 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 ou [all...] |
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
H A D | 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 ain [all...] |
/frameworks/compile/slang/tests/P_reduce_general_examples/ |
H A D | 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 ou [all...] |
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/ |
H A D | 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 ou [all...] |
/frameworks/compile/slang/tests/P_reduce_general_duplicate_array/ |
H A D | 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 aou [all...] |
/frameworks/compile/slang/tests/P_reduce_general_result/ |
H A D | 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 ou [all...] |
/frameworks/rs/tests/lldb/java/Allocations/src/com/android/rs/allocations/ |
H A D | 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 mUCharAllocatio [all...] |
/frameworks/rs/tests/lldb/cpp/Allocations/ |
H A D | 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> mShortAllocatio [all...] |
/frameworks/rs/tests/lldb/jni/Allocations/jniallocations/ |
H A D | 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> mShortAllocatio [all...] |
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
H A D | 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/ |
H A D | 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 [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
H A D | 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 [all...] |
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/ |
H A D | ImageBuffersForRenderScriptd1new.java | 4 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 D | 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/ |
H A D | rsCppStructs.h | 47 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 D | 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 *allo [all...] |
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | 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 [all...] |