/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 44 if (!ain.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 | ScriptIntrinsicHistogram.java | 69 public void forEach(Allocation ain) { in forEach() argument 70 forEach(ain, null); in forEach() 87 public void forEach(Allocation ain, Script.LaunchOptions opt) { in forEach() argument 88 if (ain.getType().getElement().getVectorSize() < in forEach() 94 if (ain.getType().getElement().isCompatible(Element.U8(mRS)) && in forEach() 95 ain.getType().getElement().isCompatible(Element.U8_4(mRS))) { in forEach() 99 forEach(0, ain, null, null, opt); in forEach() 171 public void forEach_Dot(Allocation ain) { in forEach_Dot() argument 172 forEach_Dot(ain, null); in forEach_Dot() 186 public void forEach_Dot(Allocation ain, Script.LaunchOptions opt) { in forEach_Dot() 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 245 if (!ain.getElement().isCompatible(Element.U8(mRS)) && in forEach() 246 !ain.getElement().isCompatible(Element.U8_2(mRS)) && in forEach() 247 !ain.getElement().isCompatible(Element.U8_3(mRS)) && in forEach() 248 !ain.getElement().isCompatible(Element.U8_4(mRS)) && in forEach() 249 !ain.getElement().isCompatible(Element.F32(mRS)) && in forEach() 250 !ain.getElement().isCompatible(Element.F32_2(mRS)) && in forEach() 251 !ain.getElement().isCompatible(Element.F32_3(mRS)) && in forEach() [all …]
|
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 | ScriptIntrinsicResize.java | 50 public void setInput(Allocation ain) { in setInput() argument 51 Element e = ain.getElement(); in setInput() 59 mInput = ain; in setInput() 60 setVar(0, ain); in setInput()
|
D | Script.java | 130 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { in forEach() argument 132 mRS.validateObject(ain); in forEach() 134 if (ain == null && aout == null) { in forEach() 139 if (ain != null) { in forEach() 140 in_id = ain.getID(mRS); in forEach() 157 …protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc)… in forEach() argument 159 mRS.validateObject(ain); in forEach() 161 if (ain == null && aout == null) { in forEach() 167 forEach(slot, ain, aout, v); in forEach() 171 if (ain != null) { in forEach() [all …]
|
D | ScriptIntrinsicYuvToRGB.java | 57 public void setInput(Allocation ain) { in setInput() argument 58 mInput = ain; in setInput() 59 setVar(0, ain); in setInput()
|
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 49 if (!ain.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 44 AllocationThunker aint = (AllocationThunker)ain; in forEachClear() 64 public void forEachSrc(Allocation ain, Allocation aout) { in forEachSrc() argument 65 AllocationThunker aint = (AllocationThunker)ain; in forEachSrc() 85 public void forEachDst(Allocation ain, Allocation aout) { in forEachDst() argument 86 AllocationThunker aint = (AllocationThunker)ain; in forEachDst() 106 public void forEachSrcOver(Allocation ain, Allocation aout) { in forEachSrcOver() argument 107 AllocationThunker aint = (AllocationThunker)ain; in forEachSrcOver() 127 public void forEachDstOver(Allocation ain, Allocation aout) { in forEachDstOver() argument 128 AllocationThunker aint = (AllocationThunker)ain; 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() 238 if (ain != null) { in forEach() 239 in_id = ain.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() 277 if (ain != null) { in forEach() [all …]
|
/frameworks/compile/slang/tests/F_fs_ptr/ |
D | fs_ptr.fs | 15 int RS_KERNEL root(uint32_t ain) { 18 c = (char*) ain; // TODO(srhines): This is ok today. 22 void RS_KERNEL in_only(uint32_t ain) { 29 int RS_KERNEL everything(uint32_t ain, uint32_t x, uint32_t y) { 30 return (int)&ain; // TODO(srhines): This is ok today. 33 void old_kernel(const uint32_t *ain, uint32_t x, uint32_t y) {
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | kernel.rs | 3 int *ain; 13 int RS_KERNEL root(int ain, uint32_t x) { 14 _RS_ASSERT(ain == 7); 15 return ain + x; 23 _RS_ASSERT(aout[i] == (i + ain[i]));
|
D | kernel_struct.rs | 12 struct simpleStruct *ain; 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/src/com/android/rs/test/ |
D | kernel.rs | 3 int *ain; 13 int RS_KERNEL root(int ain, uint32_t x) { 14 _RS_ASSERT(ain == 7); 15 return ain + x; 23 _RS_ASSERT(aout[i] == (i + ain[i]));
|
D | kernel_struct.rs | 12 struct simpleStruct *ain; 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/cppbasic-getpointer/ |
D | compute.cpp | 38 …sp<Allocation> ain = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USA… in test_compute() local 40 printf("Allocation %p %p\n", ain.get(), aout.get()); in test_compute() 44 uint32_t *input = (uint32_t*)ain->getPointer(&inputStride); in test_compute() 62 ain->syncAll(RS_ALLOCATION_USAGE_SHARED); in test_compute() 68 sc->forEach_copyAndNot(ain, aout); in test_compute() 73 ain->syncAll(RS_ALLOCATION_USAGE_SCRIPT); in test_compute()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsic.cpp | 76 void RsdCpuScriptIntrinsic::preLaunch(uint32_t slot, const Allocation * ain, in preLaunch() argument 81 void RsdCpuScriptIntrinsic::postLaunch(uint32_t slot, const Allocation * ain, in postLaunch() argument 87 const Allocation * ain, 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()
|
/frameworks/compile/slang/tests/P_kernel/ |
D | kernel.rs | 4 int RS_KERNEL root(uint32_t ain) { 8 void RS_KERNEL in_only(uint32_t ain) { 15 int RS_KERNEL everything(uint32_t ain, uint32_t x, uint32_t y) {
|
/frameworks/compile/slang/tests/P_fs_kernel/ |
D | fs_kernel.fs | 4 int RS_KERNEL root(uint32_t ain) { 8 void RS_KERNEL in_only(uint32_t ain) { 15 int RS_KERNEL everything(uint32_t ain, uint32_t x, uint32_t y) {
|
/frameworks/rs/tests/latency/ |
D | latency.cpp | 70 sp<Allocation> ain = Allocation::createTyped(rs, t); in main() local 80 sc->forEach_root(ain, aout); in main() 94 ain->copy1DFrom(buf); in main() 95 sc->forEach_root(ain, aout); in main() 109 ain.clear(); in main()
|
/frameworks/rs/tests/cppallocation/ |
D | compute.cpp | 33 sp<Allocation> ain = Allocation::createTyped(rs, t); in main() local 43 ain->copy1DRangeFrom(0, numElems, buf); in main() 45 sc->forEach_multiply(ain, aout); in main() 61 ain.clear(); in main()
|
/frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/ |
D | Benchmark.java | 25 private Allocation ain; field in Benchmark 31 ain = Allocation.createSized(rs, Element.U32(mRS), 10000); in Benchmark() 42 mScript.forEach_root(ain, aout); in run() 49 mScript.set_in(ain); in run()
|
/frameworks/compile/slang/tests/P_kernel_cpp/ |
D | kernel_cpp.rs | 19 int RS_KERNEL root(uint32_t ain) { 23 void RS_KERNEL in_only(uint32_t ain) { 30 int RS_KERNEL everything(uint32_t ain, uint32_t x, uint32_t y) {
|
/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,
|