/frameworks/base/rs/java/android/renderscript/ |
D | ScriptIntrinsicBlend.java | 43 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 …]
|
D | ScriptIntrinsicColorMatrix.java | 224 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 …]
|
D | Script.java | 130 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 …]
|
D | ScriptIntrinsicResize.java | 81 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()
|
D | ScriptIntrinsic3DLUT.java | 86 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()
|
D | ScriptIntrinsicBlur.java | 86 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()
|
D | ScriptIntrinsicConvolve5x5.java | 109 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()
|
D | ScriptIntrinsicConvolve3x3.java | 108 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()
|
D | ScriptIntrinsicLUT.java | 124 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/ |
D | ScriptIntrinsicBlend.java | 48 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 …]
|
D | ScriptIntrinsicBlendThunker.java | 43 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 …]
|
D | Script.java | 227 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/ |
D | rsCpuIntrinsic.cpp | 77 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 …]
|
D | rsCpuScript.cpp | 797 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 …]
|
D | rsCpuScript.h | 68 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,
|
D | rsCpuIntrinsic.h | 35 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/ |
D | Benchmark.java | 26 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/ |
D | compute.cpp | 39 …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/ |
D | kernel_struct.rs | 13 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/ |
D | kernel_struct.rs | 13 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/ |
D | latency.cpp | 71 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/ |
D | compute.cpp | 34 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/ |
D | dumpsys.cpp | 61 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/ |
D | root_compute_really_bad.rs | 4 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/ |
D | compute.cpp | 36 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()
|