/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 367 forEachDstAtop(Allocation ain, Allocation aout) argument 379 forEachDstAtop(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 398 forEachXor(Allocation ain, Allocation aout) argument 409 forEachXor(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 438 forEachMultiply(Allocation ain, Allocation aout) argument 449 forEachMultiply(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 545 forEachAdd(Allocation ain, Allocation aout) argument 556 forEachAdd(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument 575 forEachSubtract(Allocation ain, Allocation aout) argument 586 forEachSubtract(Allocation ain, Allocation aout, Script.LaunchOptions opt) argument [all...] |
H A D | ScriptIntrinsicResize.java | 78 * @param aout Output allocation. Element type must match 81 public void forEach_bicubic(Allocation aout) { argument 82 if (aout == mInput) { 85 forEach_bicubic(aout, null); 93 * @param aout Output allocation. Element type must match 97 public void forEach_bicubic(Allocation aout, Script.LaunchOptions opt) { argument 98 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 | ScriptIntrinsicBlur.java | 83 * @param aout Output allocation. Must match creation element 86 public void forEach(Allocation aout) { argument 87 forEach(0, (Allocation) null, aout, null); 94 * @param aout Output allocation. Must match creation element 98 public void forEach(Allocation aout, Script.LaunchOptions opt) { argument 99 forEach(0, (Allocation) null, 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);
|
H A D | ScriptIntrinsicConvolve3x3.java | 105 * @param aout Output allocation. Must match creation element 108 public void forEach(Allocation aout) { argument 109 forEach(0, (Allocation) null, aout, null); 116 * @param aout Output allocation. Must match creation element 120 public void forEach(Allocation aout, Script.LaunchOptions opt) { argument 121 forEach(0, (Allocation) null, aout, null, opt);
|
H A D | ScriptIntrinsicLUT.java | 119 * and copy to aout. 122 * @param aout Output allocation 124 public void forEach(Allocation ain, Allocation aout) { argument 125 forEach(ain, aout, null); 130 * and copy to aout. 133 * @param aout Output allocation 136 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) { argument 141 forEach(0, ain, aout, null, opt);
|
H A D | ScriptIntrinsicColorMatrix.java | 222 * @param aout Output allocation 224 public void forEach(Allocation ain, Allocation aout) { argument 225 forEach(ain, aout, null); 241 * @param aout Output allocation 244 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) { argument 257 if (!aout.getElement().isCompatible(Element.U8(mRS)) && 258 !aout.getElement().isCompatible(Element.U8_2(mRS)) && 259 !aout.getElement().isCompatible(Element.U8_3(mRS)) && 260 !aout.getElement().isCompatible(Element.U8_4(mRS)) && 261 !aout [all...] |
H A D | Script.java | 130 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { argument 133 mRS.validateObject(aout); 134 if (ain == null && aout == null) { 136 "At least one of ain or aout is required to be non-null."); 143 if (aout != null) { 144 out_id = aout.getID(mRS); 157 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) { argument 160 mRS.validateObject(aout); 161 if (ain == null && aout == null) { 163 "At least one of ain or aout i 190 forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v) argument 199 forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v, LaunchOptions sc) argument [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicBlend.java | 48 private void blend(int id, Allocation ain, Allocation aout) { argument 52 if (!aout.getElement().isCompatible(Element.U8_4(mRS))) { 55 forEach(id, ain, aout, null); 62 * @param aout The destination buffer 64 public void forEachClear(Allocation ain, Allocation aout) { argument 65 blend(0, ain, aout); 82 * @param aout The destination buffer 84 public void forEachSrc(Allocation ain, Allocation aout) { argument 85 blend(1, ain, aout); 103 * @param aout Th 105 forEachDst(Allocation ain, Allocation aout) argument 124 forEachSrcOver(Allocation ain, Allocation aout) argument 143 forEachDstOver(Allocation ain, Allocation aout) argument 162 forEachSrcIn(Allocation ain, Allocation aout) argument 181 forEachDstIn(Allocation ain, Allocation aout) argument 200 forEachSrcOut(Allocation ain, Allocation aout) argument 219 forEachDstOut(Allocation ain, Allocation aout) argument 239 forEachSrcAtop(Allocation ain, Allocation aout) argument 259 forEachDstAtop(Allocation ain, Allocation aout) argument 278 forEachXor(Allocation ain, Allocation aout) argument 307 forEachMultiply(Allocation ain, Allocation aout) argument 403 forEachAdd(Allocation ain, Allocation aout) argument 422 forEachSubtract(Allocation ain, Allocation aout) argument [all...] |
H A D | ScriptIntrinsicBlendThunker.java | 43 public void forEachClear(Allocation ain, Allocation aout) { argument 45 AllocationThunker aoutt = (AllocationThunker)aout; 64 public void forEachSrc(Allocation ain, Allocation aout) { argument 66 AllocationThunker aoutt = (AllocationThunker)aout; 85 public void forEachDst(Allocation ain, Allocation aout) { argument 87 AllocationThunker aoutt = (AllocationThunker)aout; 106 public void forEachSrcOver(Allocation ain, Allocation aout) { argument 108 AllocationThunker aoutt = (AllocationThunker)aout; 127 public void forEachDstOver(Allocation ain, Allocation aout) { argument 129 AllocationThunker aoutt = (AllocationThunker)aout; 148 forEachSrcIn(Allocation ain, Allocation aout) argument 169 forEachDstIn(Allocation ain, Allocation aout) argument 190 forEachSrcOut(Allocation ain, Allocation aout) argument 211 forEachDstOut(Allocation ain, Allocation aout) argument 232 forEachSrcAtop(Allocation ain, Allocation aout) argument 253 forEachDstAtop(Allocation ain, Allocation aout) argument 274 forEachXor(Allocation ain, Allocation aout) argument 295 forEachMultiply(Allocation ain, Allocation aout) argument 316 forEachAdd(Allocation ain, Allocation aout) argument 337 forEachSubtract(Allocation ain, Allocation aout) argument [all...] |
H A D | ScriptIntrinsicYuvToRGB.java | 70 * @param aout Output allocation. Must match creation element 73 public void forEach(Allocation aout) { argument 74 forEach(0, null, aout, null);
|
H A D | Script.java | 224 * @param aout 227 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { argument 229 mT.thunkForEach(slot, ain, aout, v); 233 if (ain == null && aout == null) { 235 "At least one of ain or aout is required to be non-null."); 242 if (aout != null) { 243 out_id = aout.getID(mRS); 257 * @param aout 261 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) { argument 263 mT.thunkForEach(slot, ain, aout, [all...] |
/frameworks/rs/java/tests/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/rs/cpu_ref/ |
H A D | rsCpuIntrinsic.cpp | 77 Allocation * aout, const void * usr, 82 Allocation * aout, const void * usr, 88 Allocation * aout, 94 preLaunch(slot, ain, aout, usr, usrLen, sc); 96 forEachMtlsSetup(ain, aout, usr, usrLen, sc, &mtls); 104 mCtx->launchThreads(ain, aout, sc, &mtls); 107 postLaunch(slot, ain, aout, usr, usrLen, sc); 113 Allocation * aout, 123 preLaunch(slot, ains[0], aout, usr, usrLen, sc); 125 forEachMtlsSetup(ains, inLen, aout, us 76 preLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 81 postLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 86 invokeForEach(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 110 invokeForEachMulti(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument [all...] |
H A D | rsCpuIntrinsic.h | 35 Allocation * aout, 43 Allocation * aout, 53 Allocation * aout, const void * usr, 56 Allocation * aout, const void * usr,
|
H A 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,
|
/frameworks/rs/tests/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/cppbasic-getpointer/ |
H A D | compute.cpp | 39 sp<Allocation> aout = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED); local 40 printf("Allocation %p %p\n", ain.get(), aout.get()); 45 uint32_t *output = (uint32_t*)aout->getPointer(&outputStride); 63 aout->syncAll(RS_ALLOCATION_USAGE_SHARED); 68 sc->forEach_copyAndNot(ain, aout); 74 aout->syncAll(RS_ALLOCATION_USAGE_SCRIPT);
|
/frameworks/native/cmds/dumpsys/ |
H A D | dumpsys.cpp | 61 aout << "Currently running services:" << endl; 66 aout << " " << services[i] << endl; 79 aout << "------------------------------------------------------------" 81 aout << "DUMP OF SERVICE " << services[i] << ":" << endl;
|
/frameworks/rs/ |
H A D | rsScriptIntrinsic.cpp | 62 Allocation * aout, 67 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc); 74 Allocation* aout, 79 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, aout, usr, usrBytes, sc); 59 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument 70 runForEach(Context* rsc, uint32_t slot, const Allocation** ains, size_t inLen, Allocation* aout, const void* usr, size_t usrBytes, const RsScriptCall* sc) argument
|
/frameworks/rs/tests/cppstrided/ |
H A D | compute.cpp | 36 sp<Allocation> aout = Allocation::createTyped(rs, t); local 54 sc->forEach_multiply(ain, aout); 56 aout->copy2DStridedTo(buf, stride * sizeof(uint32_t)); 73 aout.clear();
|
/frameworks/rs/tests/latency/ |
H A D | latency.cpp | 71 sp<Allocation> aout = Allocation::createTyped(rs, t); local 80 sc->forEach_root(ain, aout); 95 sc->forEach_root(ain, aout); 96 aout->copy1DTo(buf); 110 aout.clear();
|
/frameworks/rs/cpp/ |
H A D | Script.cpp | 29 void Script::forEach(uint32_t slot, sp<const Allocation> ain, sp<const Allocation> aout, argument 31 if ((ain == NULL) && (aout == NULL)) { 32 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "At least one of ain or aout is required to be non-null."); 35 void *out_id = BaseObj::getObjID(aout);
|