HomeSort by relevance Sort by last modified time
    Searched refs:ain (Results 1 - 25 of 91) sorted by null

1 2 3 4

  /frameworks/base/rs/java/android/renderscript/
ScriptIntrinsicBlend.java 43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) {
44 if (!ain.getElement().isCompatible(Element.U8_4(mRS))) {
50 forEach(id, ain, aout, null, opt);
56 * @param ain The source buffer
59 public void forEachClear(Allocation ain, Allocation aout) {
60 forEachClear(ain, aout, null);
66 * @param ain The source buffer
70 public void forEachClear(Allocation ain, Allocation aout, Script.LaunchOptions opt) {
71 blend(0, ain, aout, opt);
87 * @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);
ScriptIntrinsicHistogram.java 67 * @param ain The input image
69 public void forEach(Allocation ain) {
70 forEach(ain, null);
84 * @param ain The input image
87 public void forEach(Allocation ain, Script.LaunchOptions opt) {
88 if (ain.getType().getElement().getVectorSize() <
94 if (!ain.getType().getElement().isCompatible(Element.U8(mRS)) &&
95 !ain.getType().getElement().isCompatible(Element.U8_2(mRS)) &&
96 !ain.getType().getElement().isCompatible(Element.U8_3(mRS)) &&
97 !ain.getType().getElement().isCompatible(Element.U8_4(mRS)))
    [all...]
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) {
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) {
99 forEach(0, ain, aout, null, opt);
ScriptIntrinsicResize.java 48 * @param ain The input allocation.
50 public void setInput(Allocation ain) {
51 Element e = ain.getElement();
59 mInput = ain;
60 setVar(0, ain);
ScriptIntrinsicLUT.java 118 * Invoke the kernel and apply the lookup to each cell of ain
121 * @param ain Input allocation
124 public void forEach(Allocation ain, Allocation aout) {
125 forEach(ain, aout, null);
129 * Invoke the kernel and apply the lookup to each cell of ain
132 * @param ain Input allocation
136 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) {
141 forEach(0, ain, aout, null, opt);
ScriptIntrinsicBlur.java 58 * @param ain The input allocation
60 public void setInput(Allocation ain) {
61 mInput = ain;
62 setVar(1, ain);
ScriptIntrinsicColorMatrix.java 221 * @param ain Input allocation
224 public void forEach(Allocation ain, Allocation aout) {
225 forEach(ain, aout, null);
240 * @param ain Input allocation
244 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) {
245 if (!ain.getElement().isCompatible(Element.U8(mRS)) &&
246 !ain.getElement().isCompatible(Element.U8_2(mRS)) &&
247 !ain.getElement().isCompatible(Element.U8_3(mRS)) &&
248 !ain.getElement().isCompatible(Element.U8_4(mRS)) &&
249 !ain.getElement().isCompatible(Element.F32(mRS)) &
    [all...]
ScriptIntrinsicConvolve5x5.java 72 * @param ain The input allocation.
74 public void setInput(Allocation ain) {
75 mInput = ain;
76 setVar(1, ain);
ScriptIntrinsicConvolve3x3.java 73 * @param ain The input allocation.
75 public void setInput(Allocation ain) {
76 mInput = ain;
77 setVar(1, ain);
  /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...]
ScriptIntrinsicYuvToRGB.java 60 * @param ain The input allocation.
62 public void setInput(Allocation ain) {
63 mInput = ain;
64 setVar(0, ain);
ScriptIntrinsicBlendThunker.java 43 public void forEachClear(Allocation ain, Allocation aout) {
44 AllocationThunker aint = (AllocationThunker)ain;
64 public void forEachSrc(Allocation ain, Allocation aout) {
65 AllocationThunker aint = (AllocationThunker)ain;
85 public void forEachDst(Allocation ain, Allocation aout) {
86 AllocationThunker aint = (AllocationThunker)ain;
106 public void forEachSrcOver(Allocation ain, Allocation aout) {
107 AllocationThunker aint = (AllocationThunker)ain;
127 public void forEachDstOver(Allocation ain, Allocation aout) {
128 AllocationThunker aint = (AllocationThunker)ain;
    [all...]
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...]
  /frameworks/rs/cpu_ref/
rsCpuIntrinsic.h 34 const Allocation * ain,
41 const Allocation ** ain,
52 virtual void preLaunch(uint32_t slot, const Allocation * ain,
55 virtual void postLaunch(uint32_t slot, const Allocation * ain,
rsCpuIntrinsic.cpp 76 void RsdCpuScriptIntrinsic::preLaunch(uint32_t slot, const Allocation * ain,
81 void RsdCpuScriptIntrinsic::postLaunch(uint32_t slot, const Allocation * ain,
87 const Allocation * ain,
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);
  /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/cppbasic-getpointer/
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/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 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();
  /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(RS_ERROR_INVALID_PARAMETER, "At least one of ain or aout is required to be non-null.");
34 void *in_id = BaseObj::getObjID(ain);

Completed in 175 milliseconds

1 2 3 4