Home
last modified time | relevance | path

Searched refs:aout (Results 1 – 25 of 104) sorted by relevance

12345

/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicBlend.java43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) { in blend() argument
47 if (!aout.getElement().isCompatible(Element.U8_4(mRS))) { in blend()
50 forEach(id, ain, aout, null, opt); in blend()
59 public void forEachClear(Allocation ain, Allocation aout) { in forEachClear() argument
60 forEachClear(ain, aout, null); in forEachClear()
70 public void forEachClear(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachClear() argument
71 blend(0, ain, aout, opt); in forEachClear()
90 public void forEachSrc(Allocation ain, Allocation aout) { in forEachSrc() argument
91 forEachSrc(ain, aout, null); in forEachSrc()
101 public void forEachSrc(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachSrc() argument
[all …]
DScriptIntrinsicColorMatrix.java224 public void forEach(Allocation ain, Allocation aout) { in forEach() argument
225 forEach(ain, aout, null); in forEach()
244 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEach() argument
257 if (!aout.getElement().isCompatible(Element.U8(mRS)) && in forEach()
258 !aout.getElement().isCompatible(Element.U8_2(mRS)) && in forEach()
259 !aout.getElement().isCompatible(Element.U8_3(mRS)) && in forEach()
260 !aout.getElement().isCompatible(Element.U8_4(mRS)) && in forEach()
261 !aout.getElement().isCompatible(Element.F32(mRS)) && in forEach()
262 !aout.getElement().isCompatible(Element.F32_2(mRS)) && in forEach()
263 !aout.getElement().isCompatible(Element.F32_3(mRS)) && in forEach()
[all …]
DScript.java171 protected void forEach(int slot, Allocation ain, Allocation aout, in forEach() argument
173 forEach(slot, ain, aout, v, null); in forEach()
180 protected void forEach(int slot, Allocation ain, Allocation aout, in forEach() argument
185 mRS.validateObject(aout); in forEach()
187 if (ain == null && aout == null && sc == null) { in forEach()
199 if (aout != null) { in forEach()
200 out_id = aout.getID(mRS); in forEach()
226 protected void forEach(int slot, Allocation[] ains, Allocation aout, in forEach() argument
230 forEach(slot, ains, aout, v, null); in forEach()
236 protected void forEach(int slot, Allocation[] ains, Allocation aout, in forEach() argument
[all …]
DScriptIntrinsicResize.java87 public void forEach_bicubic(Allocation aout) { in forEach_bicubic() argument
88 if (aout == mInput) { in forEach_bicubic()
91 forEach_bicubic(aout, null); in forEach_bicubic()
103 public void forEach_bicubic(Allocation aout, Script.LaunchOptions opt) { in forEach_bicubic() argument
104 forEach(0, (Allocation) null, aout, null, opt); in forEach_bicubic()
DScriptIntrinsic3DLUT.java86 public void forEach(Allocation ain, Allocation aout) { in forEach() argument
87 forEach(ain, aout, null); in forEach()
98 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEach() argument
99 forEach(0, ain, aout, null, opt); in forEach()
DScriptIntrinsicBlur.java87 public void forEach(Allocation aout) { in forEach() argument
88 forEach(0, (Allocation) null, aout, null); in forEach()
99 public void forEach(Allocation aout, Script.LaunchOptions opt) { in forEach() argument
100 forEach(0, (Allocation) null, aout, null, opt); in forEach()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptIntrinsicBlend.java54 private void blend(int id, Allocation ain, Allocation aout) {
58 if (!aout.getElement().isCompatible(Element.U8_4(mRS))) {
61 forEach(id, ain, aout, null);
70 public void forEachClear(Allocation ain, Allocation aout) {
71 blend(0, ain, aout);
90 public void forEachSrc(Allocation ain, Allocation aout) {
91 blend(1, ain, aout);
111 public void forEachDst(Allocation ain, Allocation aout) {
130 public void forEachSrcOver(Allocation ain, Allocation aout) {
131 blend(3, ain, aout);
[all …]
DScriptIntrinsicColorMatrix.java204 public void forEach(Allocation ain, Allocation aout) {
205 forEach(0, ain, aout, null);
224 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) {
237 if (!aout.getElement().isCompatible(Element.U8(mRS)) &&
238 !aout.getElement().isCompatible(Element.U8_2(mRS)) &&
239 !aout.getElement().isCompatible(Element.U8_3(mRS)) &&
240 !aout.getElement().isCompatible(Element.U8_4(mRS)) &&
241 !aout.getElement().isCompatible(Element.F32(mRS)) &&
242 !aout.getElement().isCompatible(Element.F32_2(mRS)) &&
243 !aout.getElement().isCompatible(Element.F32_3(mRS)) &&
[all …]
DScript.java245 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { in forEach() argument
246 if (ain == null && aout == null) { in forEach()
255 if (aout != null) { in forEach()
256 out_id = aout.getID(mRS); in forEach()
266 long aoutInc = getDummyAlloc(aout); in forEach()
282 …protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc)… in forEach() argument
283 if (ain == null && aout == null) { in forEach()
289 forEach(slot, ain, aout, v); in forEach()
297 if (aout != null) { in forEach()
298 out_id = aout.getID(mRS); in forEach()
[all …]
DScriptIntrinsicResize.java97 public void forEach_bicubic(Allocation aout) {
98 if (aout == mInput) {
101 forEach_bicubic(aout, null);
113 public void forEach_bicubic(Allocation aout, Script.LaunchOptions opt) {
114 forEach(0, (Allocation) null, aout, null, opt);
/frameworks/compile/slang/tests/P_root_void/
Droot_void.rs4 void root(const void *ain, void *aout, const void *usrData,
33 void out_only(void *aout) {
36 void out_x_only(void *aout, uint32_t x) {
39 void out_y_only(void *aout, uint32_t y) {
42 void out_x_y_only(void *aout, uint32_t x, uint32_t y) {
45 void out_usrdata_only(void *aout, const void *usrData) {
48 void out_usrdata_x_only(void *aout, const void *usrData, uint32_t x) {
51 void out_usrdata_y_only(void *aout, const void *usrData, uint32_t y) {
54 void out_usrdata_x_y_only(void *aout, const void *usrData, uint32_t x,
58 void in_out_only(const void *ain, void *aout) {
[all …]
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
DScriptC_reduce_general_accumulator.java.expect107 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.setAutoPadding(true);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptC_reduce_general_input.java.expect175 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.setAutoPadding(true);
[all …]
/frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/
DBenchmark.java26 private Allocation aout; field in Benchmark
32 aout = Allocation.createSized(rs, Element.U32(mRS), 10000); in Benchmark()
42 mScript.forEach_root(ain, aout); in run()
43 aout.copy1DRangeFrom(0, 1, temp); in run()
50 mScript.set_out(aout); in run()
54 aout.copy1DRangeFrom(0, 1, temp); in run()
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect228 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.setAutoPadding(true);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect228 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.setAutoPadding(true);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect2742 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.setAutoPadding(true);
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsic.cpp77 uint32_t inLen, Allocation * aout, in preLaunch() argument
83 uint32_t inLen, Allocation * aout, in postLaunch() argument
91 Allocation * aout, in invokeForEach() argument
98 preLaunch(slot, ains, inLen, aout, usr, usrLen, sc); in invokeForEach()
100 if (forEachMtlsSetup(ains, inLen, aout, usr, usrLen, sc, &mtls)) { in invokeForEach()
108 mCtx->launchForEach(ains, inLen, aout, sc, &mtls); in invokeForEach()
112 postLaunch(slot, ains, inLen, aout, usr, usrLen, sc); in invokeForEach()
DrsCpuScript.cpp560 const Allocation * aout, in reduceMtlsSetup() argument
563 rsAssert(ains && (inLen >= 1) && aout); in reduceMtlsSetup()
575 if (allocationLODIsNull(aout)) { in reduceMtlsSetup()
613 mtls->redp.outPtr[0] = (uint8_t *)aout->mHal.drvState.lod[0].mallocPtr; in reduceMtlsSetup()
614 mtls->redp.outStride[0] = aout->getType()->getElementSizeBytes(); in reduceMtlsSetup()
631 Allocation * aout, in forEachMtlsSetup() argument
652 if (allocationLODIsNull(aout)) { in forEachMtlsSetup()
674 } else if (aout != nullptr) { in forEachMtlsSetup()
675 const Type *outType = aout->getType(); in forEachMtlsSetup()
691 if (inLen > 0 && aout != nullptr) { in forEachMtlsSetup()
[all …]
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect178 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.setAutoPadding(true);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect190 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.setAutoPadding(true);
[all …]
/frameworks/rs/tests/cppbasic-getpointer/
Dcompute.cpp39 …sp<Allocation> aout = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_US… in test_compute() local
40 printf("Allocation %p %p\n", ain.get(), aout.get()); in test_compute()
45 uint32_t *output = (uint32_t*)aout->getPointer(&outputStride); in test_compute()
63 aout->syncAll(RS_ALLOCATION_USAGE_SHARED); in test_compute()
68 sc->forEach_copyAndNot(ain, aout); in test_compute()
74 aout->syncAll(RS_ALLOCATION_USAGE_SCRIPT); in test_compute()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dkernel_struct.rs13 struct simpleStruct *aout;
39 _RS_ASSERT(aout[i].i1 == (i + ain[i].i1));
40 _RS_ASSERT(aout[i].f1 == (i + ain[i].f1));
41 _RS_ASSERT(aout[i].i2 == (i + ain[i].i2));
42 _RS_ASSERT(aout[i].f2 == (i + ain[i].f2));
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dkernel_struct.rs13 struct simpleStruct *aout;
39 _RS_ASSERT(aout[i].i1 == (i + ain[i].i1));
40 _RS_ASSERT(aout[i].f1 == (i + ain[i].f1));
41 _RS_ASSERT(aout[i].i2 == (i + ain[i].i2));
42 _RS_ASSERT(aout[i].f2 == (i + ain[i].f2));
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dkernel_struct.rs13 struct simpleStruct *aout;
39 _RS_ASSERT(aout[i].i1 == (i + ain[i].i1));
40 _RS_ASSERT(aout[i].f1 == (i + ain[i].f1));
41 _RS_ASSERT(aout[i].i2 == (i + ain[i].i2));
42 _RS_ASSERT(aout[i].f2 == (i + ain[i].f2));

12345