/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 | 123 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 aout = Allocation.createSized(mRSLocal, __I32, 1) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_accumulator/ |
ScriptC_reduce_general_accumulator.java.expect | 55 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 aout = Allocation.createSized(mRSLocal, __I32, 1) [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
BaseRenderScriptComparer.java | 4 import android.renderscript.Allocation; 12 private Allocation mRowInputs; 13 private Allocation mRowOutputs; 23 public abstract boolean verifySameRowsRS(Resources resources, Allocation ideal, 24 Allocation given, int offset, int stride, int width, int height, 25 RenderScript renderScript, Allocation inputAllocation, Allocation outputAllocation); 27 public boolean verifySameRS(Resources resources, Allocation ideal, 28 Allocation given, int offset, int stride, int width, int height, 44 * Sums the values in the output Allocation [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/support/v8/renderscript/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 | 57 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.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 | 66 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 out) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_examples/ |
ScriptC_reduce_general_examples.java.expect | 68 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 out) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/ |
ScriptC_reduce_general_examples_backward.java.expect | 68 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 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); 82 Allocation ain = Allocation.createSized(mRS, Element.I8_2(mRS), 1); 83 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); 80 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 81 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum) 98 Allocation allocation = Allocation.createTyped(mRS, mIn.getType()); local [all...] |
GetAllocationTest.java | 19 import android.renderscript.Allocation; 35 Allocation mTemp = Allocation.createSized(mRS, Element.I32(mRS), INPUTSIZE); 37 Allocation mOut = Allocation.createTyped(mRS, mTemp.getType());
|
/frameworks/compile/slang/tests/P_reduce_general_struct/ |
ScriptC_reduce_general_struct.java.expect | 57 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_inputs/ |
ScriptC_reduce_general_inputs.java.expect | 95 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 ain1, Allocation ain2) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_duplicate_array/ |
ScriptC_reduce_general_duplicate_array.java.expect | 55 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 aout = Allocation.createSized(mRSLocal, __I32, 4) [all...] |
/frameworks/compile/slang/tests/P_reduce_general_result/ |
ScriptC_reduce_general_result.java.expect | 126 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 out) [all...] |
/frameworks/rs/java/tests/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);
|
/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; 63 sharpRGBAAllocation = Allocation.createSized [all...] |
/frameworks/rs/java/tests/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/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_foreach_multi.java | 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; 52 Ain0 = Allocation.createTyped(RS, type32Builder.create()); 56 Ain1 = Allocation.createTyped(RS, type32Builder.create()) [all...] |
/frameworks/av/include/media/stagefright/ |
RenderScriptWrapper.h | 30 RSC::Allocation* inBuffer, 31 RSC::Allocation* outBuffer) = 0;
|