Home
last modified time | relevance | path

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

1234

/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.java130 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { in forEach() argument
133 mRS.validateObject(aout); in forEach()
134 if (ain == null && aout == null) { in forEach()
143 if (aout != null) { in forEach()
144 out_id = aout.getID(mRS); in forEach()
157 …protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc)… in forEach() argument
160 mRS.validateObject(aout); in forEach()
161 if (ain == null && aout == null) { in forEach()
167 forEach(slot, ain, aout, v); in forEach()
175 if (aout != null) { in forEach()
[all …]
DScriptIntrinsicResize.java81 public void forEach_bicubic(Allocation aout) { in forEach_bicubic() argument
82 if (aout == mInput) { in forEach_bicubic()
85 forEach_bicubic(aout, null); in forEach_bicubic()
97 public void forEach_bicubic(Allocation aout, Script.LaunchOptions opt) { in forEach_bicubic() argument
98 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.java86 public void forEach(Allocation aout) { in forEach() argument
87 forEach(0, (Allocation) null, aout, null); in forEach()
98 public void forEach(Allocation aout, Script.LaunchOptions opt) { in forEach() argument
99 forEach(0, (Allocation) null, aout, null, opt); in forEach()
DScriptIntrinsicConvolve5x5.java109 public void forEach(Allocation aout) { in forEach() argument
110 forEach(0, (Allocation) null, aout, null); in forEach()
121 public void forEach(Allocation aout, Script.LaunchOptions opt) { in forEach() argument
122 forEach(0, (Allocation) null, aout, null, opt); in forEach()
DScriptIntrinsicConvolve3x3.java108 public void forEach(Allocation aout) { in forEach() argument
109 forEach(0, (Allocation) null, aout, null); in forEach()
120 public void forEach(Allocation aout, Script.LaunchOptions opt) { in forEach() argument
121 forEach(0, (Allocation) null, aout, null, opt); in forEach()
DScriptIntrinsicLUT.java124 public void forEach(Allocation ain, Allocation aout) { in forEach() argument
125 forEach(ain, aout, null); in forEach()
136 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEach() argument
141 forEach(0, ain, aout, null, opt); in forEach()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptIntrinsicBlend.java48 private void blend(int id, Allocation ain, Allocation aout) { in blend() argument
52 if (!aout.getElement().isCompatible(Element.U8_4(mRS))) { in blend()
55 forEach(id, ain, aout, null); in blend()
64 public void forEachClear(Allocation ain, Allocation aout) { in forEachClear() argument
65 blend(0, ain, aout); in forEachClear()
84 public void forEachSrc(Allocation ain, Allocation aout) { in forEachSrc() argument
85 blend(1, ain, aout); in forEachSrc()
105 public void forEachDst(Allocation ain, Allocation aout) { in forEachDst() argument
124 public void forEachSrcOver(Allocation ain, Allocation aout) { in forEachSrcOver() argument
125 blend(3, ain, aout); in forEachSrcOver()
[all …]
DScriptIntrinsicBlendThunker.java43 public void forEachClear(Allocation ain, Allocation aout) { in forEachClear() argument
45 AllocationThunker aoutt = (AllocationThunker)aout; in forEachClear()
64 public void forEachSrc(Allocation ain, Allocation aout) { in forEachSrc() argument
66 AllocationThunker aoutt = (AllocationThunker)aout; in forEachSrc()
85 public void forEachDst(Allocation ain, Allocation aout) { in forEachDst() argument
87 AllocationThunker aoutt = (AllocationThunker)aout; in forEachDst()
106 public void forEachSrcOver(Allocation ain, Allocation aout) { in forEachSrcOver() argument
108 AllocationThunker aoutt = (AllocationThunker)aout; in forEachSrcOver()
127 public void forEachDstOver(Allocation ain, Allocation aout) { in forEachDstOver() argument
129 AllocationThunker aoutt = (AllocationThunker)aout; in forEachDstOver()
[all …]
DScript.java227 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { in forEach() argument
229 mT.thunkForEach(slot, ain, aout, v); in forEach()
233 if (ain == null && aout == null) { in forEach()
242 if (aout != null) { in forEach()
243 out_id = aout.getID(mRS); in forEach()
261 …protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc)… in forEach() argument
263 mT.thunkForEach(slot, ain, aout, v, sc); in forEach()
267 if (ain == null && aout == null) { in forEach()
273 forEach(slot, ain, aout, v); in forEach()
281 if (aout != null) { in forEach()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsic.cpp77 Allocation * aout, const void * usr, in preLaunch() argument
82 Allocation * aout, const void * usr, in postLaunch() argument
88 Allocation * aout, in invokeForEach() argument
94 preLaunch(slot, ain, aout, usr, usrLen, sc); in invokeForEach()
96 forEachMtlsSetup(ain, aout, usr, usrLen, sc, &mtls); in invokeForEach()
104 mCtx->launchThreads(ain, aout, sc, &mtls); in invokeForEach()
107 postLaunch(slot, ain, aout, usr, usrLen, sc); in invokeForEach()
113 Allocation * aout, in invokeForEachMulti() argument
123 preLaunch(slot, ains[0], aout, usr, usrLen, sc); in invokeForEachMulti()
125 forEachMtlsSetup(ains, inLen, aout, usr, usrLen, sc, &mtls); in invokeForEachMulti()
[all …]
DrsCpuScript.cpp797 void RsdCpuScriptImpl::forEachMtlsSetup(const Allocation * ain, Allocation * aout, in forEachMtlsSetup() argument
809 if (aout && (const uint8_t *)aout->mHal.drvState.lod[0].mallocPtr == NULL) { in forEachMtlsSetup()
821 } else if (aout != NULL) { in forEachMtlsSetup()
822 const Type *outType = aout->getType(); in forEachMtlsSetup()
833 if (ain != NULL && aout != NULL) { in forEachMtlsSetup()
834 if (!ain->hasSameDims(aout)) { in forEachMtlsSetup()
884 mtls->aout = aout; in forEachMtlsSetup()
902 if (aout) { in forEachMtlsSetup()
903 mtls->fep.ptrOut = (uint8_t *)aout->mHal.drvState.lod[0].mallocPtr; in forEachMtlsSetup()
904 mtls->fep.eStrideOut = aout->getType()->getElementSizeBytes(); in forEachMtlsSetup()
[all …]
DrsCpuScript.h68 Allocation * aout, const void * usr,
71 Allocation * aout, const void * usr,
75 Allocation * aout,
83 Allocation* aout,
103 void forEachMtlsSetup(const Allocation * ain, Allocation * aout,
108 Allocation * aout, const void * usr, uint32_t usrLen,
DrsCpuIntrinsic.h35 Allocation * aout,
43 Allocation * aout,
53 Allocation * aout, const void * usr,
56 Allocation * aout, const void * usr,
/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/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_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));
/frameworks/rs/tests/latency/
Dlatency.cpp71 sp<Allocation> aout = Allocation::createTyped(rs, t); in main() local
80 sc->forEach_root(ain, aout); in main()
95 sc->forEach_root(ain, aout); in main()
96 aout->copy1DTo(buf); in main()
110 aout.clear(); in main()
/frameworks/rs/tests/cppallocation/
Dcompute.cpp34 sp<Allocation> aout = Allocation::createTyped(rs, t); in main() local
45 sc->forEach_multiply(ain, aout); in main()
47 aout->copy1DRangeTo(0, numElems, buf); in main()
62 aout.clear(); in main()
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp61 aout << "Currently running services:" << endl; in main()
66 aout << " " << services[i] << endl; in main()
79 aout << "------------------------------------------------------------" in main()
81 aout << "DUMP OF SERVICE " << services[i] << ":" << endl; in main()
/frameworks/compile/slang/tests/F_root_compute_really_bad/
Droot_compute_really_bad.rs4 int root(int ain, int aout, int usrData, float x1, double y1,
10 void root2(int* ain, const int* aout, int* usrData, const float* x1,
15 root_kernel(int ain, int* aout, int usrData, float x1, double y1,
/frameworks/rs/tests/cppstrided/
Dcompute.cpp36 sp<Allocation> aout = Allocation::createTyped(rs, t); in main() local
54 sc->forEach_multiply(ain, aout); in main()
56 aout->copy2DStridedTo(buf, stride * sizeof(uint32_t)); in main()
73 aout.clear(); in main()

1234