/frameworks/base/rs/java/android/renderscript/ |
H A D | ScriptIntrinsicBlend.java | 43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) { argument 47 if (!aout.getElement().isCompatible(Element.U8_4(mRS))) { 50 forEach(id, ain, aout, null, opt); 57 * @param aout The destination buffer 59 public void forEachClear(Allocation ain, Allocation aout) { argument 60 forEachClear(ain, aout, null); 67 * @param aout The destination buffer 70 public void forEachClear(Allocation ain, Allocation aout, Script.LaunchOptions opt) { argument 71 blend(0, ain, aout, opt); 88 * @param aout Th 90 forEachSrc(Allocation ain, Allocation aout) argument 101 forEachSrc(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 122 forEachDst(Allocation ain, Allocation aout) argument 135 forEachDst(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 154 forEachSrcOver(Allocation ain, Allocation aout) argument 165 forEachSrcOver(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 184 forEachDstOver(Allocation ain, Allocation aout) argument 195 forEachDstOver(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 214 forEachSrcIn(Allocation ain, Allocation aout) argument 225 forEachSrcIn(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 244 forEachDstIn(Allocation ain, Allocation aout) argument 255 forEachDstIn(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 274 forEachSrcOut(Allocation ain, Allocation aout) argument 285 forEachSrcOut(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 304 forEachDstOut(Allocation ain, Allocation aout) argument 315 forEachDstOut(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 335 forEachSrcAtop(Allocation ain, Allocation aout) argument 347 forEachSrcAtop(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 369 forEachDstAtop(Allocation ain, Allocation aout) argument 383 forEachDstAtop(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 402 forEachXor(Allocation ain, Allocation aout) argument 415 forEachXor(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 444 forEachMultiply(Allocation ain, Allocation aout) argument 455 forEachMultiply(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 551 forEachAdd(Allocation ain, Allocation aout) argument 562 forEachAdd(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 581 forEachSubtract(Allocation ain, Allocation aout) argument 592 forEachSubtract(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument [all...] |
H A D | ScriptIntrinsicBlur.java | 87 * @param aout Output allocation. Must match creation element 90 public void forEach(Allocation aout) { argument 91 if (aout.getType().getY() == 0) { 94 forEach(0, (Allocation) null, aout, null); 101 * @param aout Output allocation. Must match creation element 105 public void forEach(Allocation aout, Script.LaunchOptions opt) { argument 106 if (aout.getType().getY() == 0) { 109 forEach(0, (Allocation) null, aout, null, opt);
|
H A D | ScriptIntrinsicResize.java | 84 * @param aout Output allocation. Element type must match 87 public void forEach_bicubic(Allocation aout) { argument 88 if (aout == mInput) { 91 forEach_bicubic(aout, null); 99 * @param aout Output allocation. Element type must match 103 public void forEach_bicubic(Allocation aout, Script.LaunchOptions opt) { argument 104 forEach(0, (Allocation) null, aout, null, opt);
|
H A D | ScriptIntrinsicYuvToRGB.java | 65 * @param aout Output allocation. Must match creation element 68 public void forEach(Allocation aout) { argument 69 forEach(0, (Allocation) null, aout, null);
|
H A D | ScriptIntrinsic3DLUT.java | 81 * and copy to aout. 84 * @param aout Output allocation 86 public void forEach(Allocation ain, Allocation aout) { argument 87 forEach(ain, aout, null); 92 * and copy to aout. 95 * @param aout Output allocation 98 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) { argument 99 forEach(0, ain, aout, null, opt);
|
H A D | ScriptIntrinsicConvolve5x5.java | 106 * @param aout Output allocation. Must match creation element 109 public void forEach(Allocation aout) { argument 110 forEach(0, (Allocation) null, aout, null); 117 * @param aout Output allocation. Must match creation element 121 public void forEach(Allocation aout, Script.LaunchOptions opt) { argument 122 forEach(0, (Allocation) null, aout, null, opt);
|
H A D | ScriptIntrinsicConvolve3x3.java | 104 * @param aout Output allocation. Must match creation element 107 public void forEach(Allocation aout) { argument 108 forEach(0, (Allocation) null, aout, null); 115 * @param aout Output allocation. Must match creation element 119 public void forEach(Allocation aout, Script.LaunchOptions opt) { argument 120 forEach(0, (Allocation) null, aout, null, opt);
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicBlend.java | 54 private void blend(int id, Allocation ain, Allocation aout) { argument 58 if (!aout.getElement().isCompatible(Element.U8_4(mRS))) { 61 forEach(id, ain, aout, null); 68 * @param aout The destination buffer 70 public void forEachClear(Allocation ain, Allocation aout) { argument 71 blend(0, ain, aout); 88 * @param aout The destination buffer 90 public void forEachSrc(Allocation ain, Allocation aout) { argument 91 blend(1, ain, aout); 109 * @param aout Th 111 forEachDst(Allocation ain, Allocation aout) argument 130 forEachSrcOver(Allocation ain, Allocation aout) argument 149 forEachDstOver(Allocation ain, Allocation aout) argument 168 forEachSrcIn(Allocation ain, Allocation aout) argument 187 forEachDstIn(Allocation ain, Allocation aout) argument 206 forEachSrcOut(Allocation ain, Allocation aout) argument 225 forEachDstOut(Allocation ain, Allocation aout) argument 245 forEachSrcAtop(Allocation ain, Allocation aout) argument 267 forEachDstAtop(Allocation ain, Allocation aout) argument 286 forEachXor(Allocation ain, Allocation aout) argument 315 forEachMultiply(Allocation ain, Allocation aout) argument 411 forEachAdd(Allocation ain, Allocation aout) argument 430 forEachSubtract(Allocation ain, Allocation aout) argument [all...] |
H A D | ScriptIntrinsicResize.java | 94 * @param aout Output allocation. Element type must match 97 public void forEach_bicubic(Allocation aout) { argument 98 if (aout == mInput) { 101 forEach_bicubic(aout, null); 109 * @param aout Output allocation. Element type must match 113 public void forEach_bicubic(Allocation aout, Script.LaunchOptions opt) { argument 114 forEach(0, (Allocation) null, aout, null, opt);
|
H A D | ScriptIntrinsicYuvToRGB.java | 73 * @param aout Output allocation. Must match creation element 76 public void forEach(Allocation aout) { argument 77 forEach(0, (Allocation) null, aout, null);
|
/frameworks/compile/slang/tests/P_reduce_general_input/ |
H A D | ScriptC_reduce_general_input.java.expect | 175 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 176 aout.setAutoPadding(true); 177 reduce(mExportReduceIdx_my_half_0, new Allocation[]{ain1}, aout, sc); 178 return new result_int(aout); 208 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 209 aout.setAutoPadding(true); 210 reduce(mExportReduceIdx_my_half_1, new Allocation[]{ain1}, aout, sc); 211 return new result_int(aout); 241 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 242 aout [all...] |
/frameworks/compile/slang/tests/P_reduce_general_accumulator/ |
H A D | ScriptC_reduce_general_accumulator.java.expect | 107 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 108 aout.setAutoPadding(true); 109 reduce(mExportReduceIdx_my_half, new Allocation[]{ain1}, aout, sc); 110 return new result_int(aout); 140 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 141 aout.setAutoPadding(true); 142 reduce(mExportReduceIdx_my_half2, new Allocation[]{ain1}, aout, sc); 143 return new result_int(aout); 173 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 174 aout [all...] |
/frameworks/rs/tests/java_api/LatencyBenchmark/src/com/example/android/rs/computebench/ |
H A D | Benchmark.java | 26 private Allocation aout; field in class:Benchmark 32 aout = Allocation.createSized(rs, Element.U32(mRS), 10000); 42 mScript.forEach_root(ain, aout); 43 aout.copy1DRangeFrom(0, 1, temp); 50 mScript.set_out(aout); 54 aout.copy1DRangeFrom(0, 1, temp);
|
/frameworks/compile/slang/tests/P_reduce_general_struct/ |
H A D | ScriptC_reduce_general_struct.java.expect | 94 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 95 aout.setAutoPadding(true); 96 reduce(mExportReduceIdx_inStruct, new Allocation[]{ain1}, aout, sc); 97 return new result_int(aout);
|
/frameworks/compile/slang/tests/P_reduce_general_duplicate_array/ |
H A D | ScriptC_reduce_general_duplicate_array.java.expect | 107 Allocation aout = Allocation.createSized(mRSLocal, __I32, 4); 108 aout.setAutoPadding(true); 109 reduce(mExportReduceIdx_sumDec, new Allocation[]{ain1}, aout, sc); 110 return new resultArray4_int(aout); 140 Allocation aout = Allocation.createSized(mRSLocal, __I32, 4); 141 aout.setAutoPadding(true); 142 reduce(mExportReduceIdx_sumInc, new Allocation[]{ain1}, aout, sc); 143 return new resultArray4_int(aout);
|
/frameworks/compile/slang/tests/P_reduce_general_examples/ |
H A D | ScriptC_reduce_general_examples.java.expect | 228 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 229 aout.setAutoPadding(true); 230 reduce(mExportReduceIdx_addint, new Allocation[]{ain1}, aout, sc); 231 return new result_int(aout); 261 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 262 aout.setAutoPadding(true); 263 reduce(mExportReduceIdx_mpyint, new Allocation[]{ain1}, aout, sc); 264 return new result_int(aout); 325 Allocation aout = Allocation.createSized(mRSLocal, __F32, 1); 326 aout [all...] |
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/ |
H A D | ScriptC_reduce_general_examples_backward.java.expect | 228 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 229 aout.setAutoPadding(true); 230 reduce(mExportReduceIdx_addint, new Allocation[]{ain1}, aout, sc); 231 return new result_int(aout); 261 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 262 aout.setAutoPadding(true); 263 reduce(mExportReduceIdx_mpyint, new Allocation[]{ain1}, aout, sc); 264 return new result_int(aout); 325 Allocation aout = Allocation.createSized(mRSLocal, __F32, 1); 326 aout [all...] |
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/ |
H A D | ScriptC_reduce_general_examples_halter.java.expect | 145 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 146 aout.setAutoPadding(true); 147 reduce(mExportReduceIdx_fz, new Allocation[]{ain1}, aout, sc); 148 return new result_int(aout); 178 Allocation aout = Allocation.createSized(mRSLocal, __I32_2, 1); 179 aout.setAutoPadding(true); 180 reduce(mExportReduceIdx_fz2, new Allocation[]{ain1}, aout, sc); 181 return new result_int2(aout);
|
/frameworks/rs/tests/cpp_api/cpp-globalguard/ |
H A D | compute.cpp | 27 sp<Allocation> aout; variable 57 aout = Allocation::createTyped(rs, t); 68 sc->forEach_multiply(ain, aout); 70 aout->copy1DRangeTo(0, numElems, buf);
|
/frameworks/rs/tests/cpp_api/cppallocation/ |
H A D | compute.cpp | 34 sp<Allocation> aout = Allocation::createTyped(rs, t); local 45 sc->forEach_multiply(ain, aout); 47 aout->copy1DRangeTo(0, numElems, buf); 62 aout.clear();
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsic.cpp | 77 uint32_t inLen, Allocation * aout, 83 uint32_t inLen, Allocation * aout, 91 Allocation * aout, 98 preLaunch(slot, ains, inLen, aout, usr, usrLen, sc); 100 if (forEachMtlsSetup(ains, inLen, aout, usr, usrLen, sc, &mtls)) { 108 mCtx->launchForEach(ains, inLen, aout, sc, &mtls); 112 postLaunch(slot, ains, inLen, aout, usr, usrLen, sc); 76 preLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 82 postLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 88 invokeForEach(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
|
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/ |
H A D | ScriptC_reduce_general_examples_explicit.java.expect | 190 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 191 aout.setAutoPadding(true); 192 reduce(mExportReduceIdx_addint_init, new Allocation[]{ain1}, aout, sc); 193 return new result_int(aout); 223 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 224 aout.setAutoPadding(true); 225 reduce(mExportReduceIdx_addint_comb, new Allocation[]{ain1}, aout, sc); 226 return new result_int(aout); 256 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 257 aout [all...] |
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
H A D | ScriptC_reduce_general_inputs.java.expect | 178 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 179 aout.setAutoPadding(true); 180 reduce(mExportReduceIdx_my_half_half_0, new Allocation[]{ain1, ain2}, aout, sc); 181 return new result_int(aout); 242 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 243 aout.setAutoPadding(true); 244 reduce(mExportReduceIdx_my_half_half_1, new Allocation[]{ain1, ain2}, aout, sc); 245 return new result_int(aout); 310 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 311 aout [all...] |
/frameworks/rs/tests/cpp_api/cppbasic-getpointer/ |
H A D | compute.cpp | 36 sp<Allocation> aout = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED); local 37 printf("Allocation %p %p\n", ain.get(), aout.get()); 42 uint32_t *output = (uint32_t*)aout->getPointer(&outputStride); 60 aout->syncAll(RS_ALLOCATION_USAGE_SHARED); 65 sc->forEach_copyAndNot(ain, aout); 71 aout->syncAll(RS_ALLOCATION_USAGE_SCRIPT);
|
/frameworks/compile/slang/tests/P_reduce_general_result/ |
H A D | ScriptC_reduce_general_result.java.expect | 2742 Allocation aout = Allocation.createSized(mRSLocal, __F16, 1); 2743 aout.setAutoPadding(true); 2744 reduce(mExportReduceIdx_my_half, new Allocation[]{ain1}, aout, sc); 2745 return new result_half(aout); 2779 Allocation aout = Allocation.createSized(mRSLocal, __F16_2, 1); 2780 aout.setAutoPadding(true); 2781 reduce(mExportReduceIdx_my_half2, new Allocation[]{ain1}, aout, sc); 2782 return new result_half2(aout); 2816 Allocation aout = Allocation.createSized(mRSLocal, __F16_4, 1); 2817 aout [all...] |