/frameworks/base/rs/java/android/renderscript/ |
H A D | ScriptIntrinsic3DLUT.java | 80 * Invoke the kernel and apply the lookup to each cell of ain 83 * @param ain Input allocation 86 public void forEach(Allocation ain, Allocation aout) { argument 87 forEach(ain, aout, null); 91 * Invoke the kernel and apply the lookup to each cell of ain 94 * @param ain Input allocation 98 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) { argument 99 forEach(0, ain, aout, null, opt);
|
H A D | ScriptIntrinsicResize.java | 48 * @param ain The input allocation. 50 public void setInput(Allocation ain) { argument 51 Element e = ain.getElement(); 59 mInput = ain; 60 setVar(0, ain);
|
H A D | ScriptIntrinsicYuvToRGB.java | 55 * @param ain The input allocation. 57 public void setInput(Allocation ain) { argument 58 mInput = ain; 59 setVar(0, ain);
|
H A D | ScriptIntrinsicBlur.java | 58 * @param ain The input allocation 60 public void setInput(Allocation ain) { argument 61 mInput = ain; 62 setVar(1, ain);
|
H A D | ScriptIntrinsicConvolve3x3.java | 73 * @param ain The input allocation. 75 public void setInput(Allocation ain) { argument 76 mInput = ain; 77 setVar(1, ain);
|
H A D | ScriptIntrinsicConvolve5x5.java | 72 * @param ain The input allocation. 74 public void setInput(Allocation ain) { argument 75 mInput = ain; 76 setVar(1, ain);
|
/frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicYuvToRGB.java | 60 * @param ain The input allocation. 62 public void setInput(Allocation ain) { argument 63 mInput = ain; 64 setVar(0, ain);
|
H A D | 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) { argument 96 forEach(0, ain, aout, null);
|
H A D | ScriptIntrinsic3DLUTThunker.java | 60 * Invoke the kernel and apply the lookup to each cell of ain 63 * @param ain Input allocation 66 public void forEach(Allocation ain, Allocation aout) { argument 67 AllocationThunker aint = (AllocationThunker)ain;
|
H A D | ScriptIntrinsicBlur.java | 66 * @param ain The input allocation 68 public void setInput(Allocation ain) { argument 69 mInput = ain; 70 setVar(1, ain);
|
H A D | ScriptIntrinsicBlurThunker.java | 48 public void setInput(Allocation ain) { argument 49 AllocationThunker aint = (AllocationThunker) ain;
|
H A D | ScriptIntrinsicColorMatrixThunker.java | 87 public void forEach(Allocation ain, Allocation aout) { argument 88 AllocationThunker aint = (AllocationThunker)ain;
|
H A D | ScriptIntrinsicConvolve3x3.java | 70 * @param ain The input allocation. 72 public void setInput(Allocation ain) { argument 73 mInput = ain; 74 setVar(1, ain);
|
H A D | ScriptIntrinsicConvolve3x3Thunker.java | 46 public void setInput(Allocation ain) { argument 47 AllocationThunker aint = (AllocationThunker)ain;
|
H A D | ScriptIntrinsicConvolve5x5.java | 64 * @param ain The input allocation. 66 public void setInput(Allocation ain) { argument 67 mInput = ain; 68 setVar(1, ain);
|
H A D | ScriptIntrinsicConvolve5x5Thunker.java | 46 public void setInput(Allocation ain) { argument 47 AllocationThunker aint = (AllocationThunker)ain;
|
H A D | ScriptIntrinsicYuvToRGBThunker.java | 46 public void setInput(Allocation ain) { argument 47 AllocationThunker aint = (AllocationThunker)ain;
|
/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."); 34 void *in_id = BaseObj::getObjID(ain);
|
/frameworks/rs/tests/cppbasic/ |
H A D | compute.cpp | 34 sp<Allocation> ain = Allocation::createTyped(rs, t); local 36 printf("Allocation %p %p\n", ain.get(), aout.get()); 63 ain->copy1DRangeFrom(0, t->getCount(), buf); 66 sc->forEach_root(ain, aout);
|
/frameworks/rs/tests/cppbasic-getpointer/ |
H A D | compute.cpp | 38 sp<Allocation> ain = Allocation::createTyped(rs, t, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED); local 40 printf("Allocation %p %p\n", ain.get(), aout.get()); 44 uint32_t *input = (uint32_t*)ain->getPointer(&inputStride); 62 ain->syncAll(RS_ALLOCATION_USAGE_SHARED); 68 sc->forEach_copyAndNot(ain, aout); 73 ain->syncAll(RS_ALLOCATION_USAGE_SCRIPT);
|
/frameworks/rs/tests/cppbasic-shared/ |
H A D | compute.cpp | 34 sp<Allocation> ain = Allocation::createTyped(rs, t); local 36 printf("Allocation %p %p\n", ain.get(), aout.get()); 63 ain->copy1DRangeFrom(0, t->getCount(), buf); 66 sc->forEach_root(ain, aout);
|
/frameworks/rs/tests/latency/ |
H A D | latency.cpp | 70 sp<Allocation> ain = Allocation::createTyped(rs, t); local 80 sc->forEach_root(ain, aout); 94 ain->copy1DFrom(buf); 95 sc->forEach_root(ain, aout); 109 ain.clear();
|