/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);
|
/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);
|
/frameworks/compile/slang/tests/P_reduce_general_input/ |
H A D | ScriptC_reduce_general_input.java.expect | 178 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 179 aout.setAutoPadding(true); 180 reduce(mExportReduceIdx_my_half_0, new Allocation[]{ain1}, aout, sc); 181 return new result_int(aout); 211 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 212 aout.setAutoPadding(true); 213 reduce(mExportReduceIdx_my_half_1, new Allocation[]{ain1}, aout, sc); 214 return new result_int(aout); 244 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 245 aout [all...] |
/frameworks/compile/slang/tests/P_reduce_general_accumulator/ |
H A D | ScriptC_reduce_general_accumulator.java.expect | 110 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 111 aout.setAutoPadding(true); 112 reduce(mExportReduceIdx_my_half, new Allocation[]{ain1}, aout, sc); 113 return new result_int(aout); 143 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 144 aout.setAutoPadding(true); 145 reduce(mExportReduceIdx_my_half2, new Allocation[]{ain1}, aout, sc); 146 return new result_int(aout); 176 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 177 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_duplicate_array/ |
H A D | ScriptC_reduce_general_duplicate_array.java.expect | 110 Allocation aout = Allocation.createSized(mRSLocal, __I32, 4); 111 aout.setAutoPadding(true); 112 reduce(mExportReduceIdx_sumDec, new Allocation[]{ain1}, aout, sc); 113 return new resultArray4_int(aout); 143 Allocation aout = Allocation.createSized(mRSLocal, __I32, 4); 144 aout.setAutoPadding(true); 145 reduce(mExportReduceIdx_sumInc, new Allocation[]{ain1}, aout, sc); 146 return new resultArray4_int(aout);
|
/frameworks/compile/slang/tests/P_reduce_general_examples/ |
H A D | ScriptC_reduce_general_examples.java.expect | 231 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 232 aout.setAutoPadding(true); 233 reduce(mExportReduceIdx_addint, new Allocation[]{ain1}, aout, sc); 234 return new result_int(aout); 264 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 265 aout.setAutoPadding(true); 266 reduce(mExportReduceIdx_mpyint, new Allocation[]{ain1}, aout, sc); 267 return new result_int(aout); 328 Allocation aout = Allocation.createSized(mRSLocal, __F32, 1); 329 aout [all...] |
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/ |
H A D | ScriptC_reduce_general_examples_backward.java.expect | 231 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 232 aout.setAutoPadding(true); 233 reduce(mExportReduceIdx_addint, new Allocation[]{ain1}, aout, sc); 234 return new result_int(aout); 264 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 265 aout.setAutoPadding(true); 266 reduce(mExportReduceIdx_mpyint, new Allocation[]{ain1}, aout, sc); 267 return new result_int(aout); 328 Allocation aout = Allocation.createSized(mRSLocal, __F32, 1); 329 aout [all...] |
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/ |
H A D | ScriptC_reduce_general_examples_halter.java.expect | 148 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 149 aout.setAutoPadding(true); 150 reduce(mExportReduceIdx_fz, new Allocation[]{ain1}, aout, sc); 151 return new result_int(aout); 181 Allocation aout = Allocation.createSized(mRSLocal, __I32_2, 1); 182 aout.setAutoPadding(true); 183 reduce(mExportReduceIdx_fz2, new Allocation[]{ain1}, aout, sc); 184 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/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
H A D | kernel.rs | 20 int *aout; 39 _RS_ASSERT(aout[i] == (i + ain[i]));
|
H A D | kernel_struct.rs | 29 struct simpleStruct *aout; 55 _RS_ASSERT(aout[i].i1 == (i + ain[i].i1)); 56 _RS_ASSERT(aout[i].f1 == (i + ain[i].f1)); 57 _RS_ASSERT(aout[i].i2 == (i + ain[i].i2)); 58 _RS_ASSERT(aout[i].f2 == (i + ain[i].f2));
|
/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 | 193 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 194 aout.setAutoPadding(true); 195 reduce(mExportReduceIdx_addint_init, new Allocation[]{ain1}, aout, sc); 196 return new result_int(aout); 226 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 227 aout.setAutoPadding(true); 228 reduce(mExportReduceIdx_addint_comb, new Allocation[]{ain1}, aout, sc); 229 return new result_int(aout); 259 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 260 aout [all...] |
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
H A D | ScriptC_reduce_general_inputs.java.expect | 181 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 182 aout.setAutoPadding(true); 183 reduce(mExportReduceIdx_my_half_half_0, new Allocation[]{ain1, ain2}, aout, sc); 184 return new result_int(aout); 245 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 246 aout.setAutoPadding(true); 247 reduce(mExportReduceIdx_my_half_half_1, new Allocation[]{ain1, ain2}, aout, sc); 248 return new result_int(aout); 313 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 314 aout [all...] |
/frameworks/compile/slang/tests/P_reflection3264_divergent/ |
H A D | ScriptC_reflection3264_divergent.java.expect | 329 public void forEach_dnFe(Allocation ain, Allocation aout, ScriptField_DivergentNest.Item data) { 330 forEach_dnFe(ain, aout, data, null); 333 public void forEach_dnFe(Allocation ain, Allocation aout, ScriptField_DivergentNest.Item data, Script.LaunchOptions sc) { 338 // check aout 339 if (!aout.getType().getElement().isCompatible(__I32)) { 344 t1 = aout.getType(); 351 throw new RSRuntimeException("Dimension mismatch between parameters ain and aout!"); 364 forEach(mExportForEachIdx_dnFe, ain, aout, dnFe_fp, sc); 372 public void forEach_dFe(Allocation ain, Allocation aout, ScriptField_Divergent.Item data) { 373 forEach_dFe(ain, aout, dat [all...] |
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/ |
H A D | ScriptC_reflection3264_divergent.java.expect | 326 public void forEach_dnFe(Allocation ain, Allocation aout, ScriptField_DivergentNest.Item data) { 327 forEach_dnFe(ain, aout, data, null); 330 public void forEach_dnFe(Allocation ain, Allocation aout, ScriptField_DivergentNest.Item data, Script.LaunchOptions sc) { 335 // check aout 336 if (!aout.getType().getElement().isCompatible(__I32)) { 341 t1 = aout.getType(); 348 throw new RSRuntimeException("Dimension mismatch between parameters ain and aout!"); 361 forEach(mExportForEachIdx_dnFe, ain, aout, dnFe_fp, sc); 369 public void forEach_dFe(Allocation ain, Allocation aout, ScriptField_Divergent.Item data) { 370 forEach_dFe(ain, aout, dat [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);
|