/frameworks/base/graphics/java/android/renderscript/ |
ScriptIntrinsicBlend.java | 43 private void blend(int id, Allocation ain, Allocation aout) { 44 if (!ain.getElement().isCompatible(Element.U8_4(mRS))) { 50 forEach(id, ain, aout, null); 56 * @param ain The source buffer 59 public void forEachClear(Allocation ain, Allocation aout) { 60 blend(0, ain, aout); 76 * @param ain The source buffer 79 public void forEachSrc(Allocation ain, Allocation aout) { 80 blend(1, ain, aout); 97 * @param ain The source buffe [all...] |
ScriptIntrinsicYuvToRGB.java | 55 * @param ain The input allocation. 57 public void setInput(Allocation ain) { 58 mInput = ain; 59 setVar(0, ain);
|
ScriptIntrinsicConvolve5x5.java | 60 * @param ain The input allocation. 62 public void setInput(Allocation ain) { 63 mInput = ain; 64 setVar(1, ain);
|
ScriptIntrinsic3DLUT.java | 82 * Invoke the kernel and apply the lookup to each cell of ain 85 * @param ain Input allocation 88 public void forEach(Allocation ain, Allocation aout) { 89 forEach(0, ain, aout, null);
|
ScriptIntrinsicBlur.java | 62 * @param ain The input allocation 64 public void setInput(Allocation ain) { 65 mInput = ain; 66 setVar(1, ain);
|
ScriptIntrinsicConvolve3x3.java | 65 * @param ain The input allocation. 67 public void setInput(Allocation ain) { 68 mInput = ain; 69 setVar(1, ain);
|
ScriptIntrinsicLUT.java | 121 * Invoke the kernel and apply the lookup to each cell of ain 124 * @param ain Input allocation 127 public void forEach(Allocation ain, Allocation aout) { 132 forEach(0, ain, aout, null);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
ScriptIntrinsicBlend.java | 48 private void blend(int id, Allocation ain, Allocation aout) { 49 if (!ain.getElement().isCompatible(Element.U8_4(mRS))) { 55 forEach(id, ain, aout, null); 61 * @param ain The source buffer 64 public void forEachClear(Allocation ain, Allocation aout) { 65 blend(0, ain, aout); 81 * @param ain The source buffer 84 public void forEachSrc(Allocation ain, Allocation aout) { 85 blend(1, ain, aout); 102 * @param ain The source buffe [all...] |
ScriptIntrinsicBlendThunker.java | 39 public void forEachClear(Allocation ain, Allocation aout) { 40 AllocationThunker aint = (AllocationThunker)ain; 52 public void forEachSrc(Allocation ain, Allocation aout) { 53 AllocationThunker aint = (AllocationThunker)ain; 65 public void forEachDst(Allocation ain, Allocation aout) { 66 AllocationThunker aint = (AllocationThunker)ain; 78 public void forEachSrcOver(Allocation ain, Allocation aout) { 79 AllocationThunker aint = (AllocationThunker)ain; 91 public void forEachDstOver(Allocation ain, Allocation aout) { 92 AllocationThunker aint = (AllocationThunker)ain; [all...] |
ScriptIntrinsicYuvToRGB.java | 60 * @param ain The input allocation. 62 public void setInput(Allocation ain) { 63 mInput = ain; 64 setVar(0, ain);
|
ScriptIntrinsicBlur.java | 66 * @param ain The input allocation 68 public void setInput(Allocation ain) { 69 mInput = ain; 70 setVar(1, ain);
|
ScriptIntrinsicConvolve3x3.java | 70 * @param ain The input allocation. 72 public void setInput(Allocation ain) { 73 mInput = ain; 74 setVar(1, ain);
|
ScriptIntrinsicConvolve5x5.java | 64 * @param ain The input allocation. 66 public void setInput(Allocation ain) { 67 mInput = ain; 68 setVar(1, ain);
|
Script.java | 223 * @param ain 227 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { 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."); 238 if (ain != null) { 239 in_id = ain.getID(mRS); 256 * @param ain 261 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) { 263 mT.thunkForEach(slot, ain, aout, v, sc) [all...] |
ScriptIntrinsic3DLUT.java | 89 * Invoke the kernel and apply the lookup to each cell of ain 92 * @param ain Input allocation 95 public void forEach(Allocation ain, Allocation aout) { 96 forEach(0, ain, aout, null);
|
ScriptIntrinsic3DLUTThunker.java | 52 * Invoke the kernel and apply the lookup to each cell of ain 55 * @param ain Input allocation 58 public void forEach(Allocation ain, Allocation aout) { 59 AllocationThunker aint = (AllocationThunker)ain;
|
ScriptIntrinsicBlurThunker.java | 44 public void setInput(Allocation ain) { 45 AllocationThunker aint = (AllocationThunker) ain;
|
ScriptIntrinsicColorMatrixThunker.java | 63 public void forEach(Allocation ain, Allocation aout) { 64 AllocationThunker aint = (AllocationThunker)ain;
|
/frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/ |
Benchmark.java | 25 private Allocation ain; field in class:Benchmark 31 ain = Allocation.createSized(rs, Element.U32(mRS), 10000); 42 mScript.forEach_root(ain, aout); 49 mScript.set_in(ain);
|
/frameworks/rs/tests/cppallocation/ |
compute.cpp | 33 sp<Allocation> ain = Allocation::createTyped(rs, t); local 43 ain->copy1DRangeFrom(0, numElems, buf); 45 sc->forEach_multiply(ain, aout); 61 ain.clear();
|
/frameworks/rs/tests/cppstrided/ |
compute.cpp | 35 sp<Allocation> ain = Allocation::createTyped(rs, t); local 52 ain->copy2DStridedFrom(buf, stride * sizeof(uint32_t)); 54 sc->forEach_multiply(ain, aout); 72 ain.clear();
|
/frameworks/rs/tests/latency/ |
latency.cpp | 66 sp<Allocation> ain = Allocation::createTyped(rs, t); local 76 sc->forEach_root(ain, aout); 90 ain->copy1DFrom(buf); 91 sc->forEach_root(ain, aout); 105 ain.clear();
|
/frameworks/rs/cpp/ |
Script.cpp | 29 void Script::forEach(uint32_t slot, sp<const Allocation> ain, sp<const Allocation> aout, 31 if ((ain == NULL) && (aout == NULL)) { 32 mRS->throwError("At least one of ain or aout is required to be non-null."); 34 void *in_id = BaseObj::getObjID(ain);
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsic.cpp | 77 const Allocation * ain, 84 forEachMtlsSetup(ain, aout, usr, usrLen, sc, &mtls); 92 mCtx->launchThreads(ain, aout, sc, &mtls);
|
/frameworks/rs/ |
rsScriptIntrinsic.cpp | 57 const Allocation * ain, 63 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
|