Searched defs:aout (Results 1 - 25 of 54) sorted by path

123

/frameworks/base/libs/hwui/
H A DFontRenderer.cpp755 RSC::sp<RSC::Allocation> aout = RSC::Allocation::createTyped(mRs, t, local
762 mRsScript->forEach(aout);
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java608 native void rsnScriptForEach(long con, long id, int slot, long ain, long aout, byte[] params); argument
609 native void rsnScriptForEach(long con, long id, int slot, long ain, long aout); argument
610 native void rsnScriptForEachClipped(long con, long id, int slot, long ain, long aout, byte[] params, argument
612 native void rsnScriptForEachClipped(long con, long id, int slot, long ain, long aout, argument
614 synchronized void nScriptForEach(long id, int slot, long ain, long aout, byte[] params) { argument
617 rsnScriptForEach(mContext, id, slot, ain, aout);
619 rsnScriptForEach(mContext, id, slot, ain, aout, params);
623 synchronized void nScriptForEachClipped(long id, int slot, long ain, long aout, byte[] params, argument
627 rsnScriptForEachClipped(mContext, id, slot, ain, aout, xstart, xend, ystart, yend, zstart, zend);
629 rsnScriptForEachClipped(mContext, id, slot, ain, aout, param
639 rsnScriptForEachMultiClipped(long con, long id, int slot, long[] ains, long aout, byte[] params, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument
642 rsnScriptForEachMultiClipped(long con, long id, int slot, long[] ains, long aout, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument
646 nScriptForEachMultiClipped(long id, int slot, long[] ains, long aout, byte[] params, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument
[all...]
H A DScript.java130 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...]
H A DScriptIntrinsic3DLUT.java81 * 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 DScriptIntrinsicBlend.java43 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 DScriptIntrinsicBlur.java83 * @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 DScriptIntrinsicColorMatrix.java222 * @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 DScriptIntrinsicConvolve3x3.java105 * @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 DScriptIntrinsicConvolve5x5.java106 * @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 DScriptIntrinsicHistogram.java137 * @param aout The output allocation
139 public void setOutput(Allocation aout) { argument
140 mOut = aout;
159 setVar(1, aout);
H A DScriptIntrinsicLUT.java119 * 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 DScriptIntrinsicResize.java78 * @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 DScriptIntrinsicYuvToRGB.java65 * @param aout Output allocation. Must match creation element
68 public void forEach(Allocation aout) { argument
69 forEach(0, (Allocation) null, aout, null);
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp1095 jlong script, jint slot, jlong ain, jlong aout)
1098 rsScriptForEach((RsContext)con, (RsScript)script, slot, (RsAllocation)ain, (RsAllocation)aout, NULL, 0, NULL, 0);
1102 jlong script, jint slot, jlong ain, jlong aout, jbyteArray params)
1107 rsScriptForEach((RsContext)con, (RsScript)script, slot, (RsAllocation)ain, (RsAllocation)aout, ptr, len, NULL, 0);
1113 jlong script, jint slot, jlong ain, jlong aout,
1128 rsScriptForEach((RsContext)con, (RsScript)script, slot, (RsAllocation)ain, (RsAllocation)aout, NULL, 0, &sc, sizeof(sc));
1133 jlong script, jint slot, jlong ain, jlong aout,
1150 rsScriptForEach((RsContext)con, (RsScript)script, slot, (RsAllocation)ain, (RsAllocation)aout, ptr, len, &sc, sizeof(sc));
1156 jlong script, jint slot, jlongArray ains, jlong aout,
1191 rsScriptForEachMulti((RsContext)con, (RsScript)script, slot, in_allocs, in_len, (RsAllocation)aout, NUL
1094 nScriptForEach(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong ain, jlong aout) argument
1101 nScriptForEachV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong ain, jlong aout, jbyteArray params) argument
1112 nScriptForEachClipped(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong ain, jlong aout, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument
1132 nScriptForEachClippedV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong ain, jlong aout, jbyteArray params, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument
1155 nScriptForEachMultiClipped(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlongArray ains, jlong aout, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument
1201 nScriptForEachMultiClippedV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlongArray ains, jlong aout, jbyteArray params, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument
[all...]
/frameworks/rs/cpp/
H A DScript.cpp29 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);
H A DScriptIntrinsics.cpp47 void ScriptIntrinsic3DLUT::forEach(sp<Allocation> ain, sp<Allocation> aout) { argument
49 aout->getType()->getElement()->isCompatible(mElement) == false) {
53 Script::forEach(0, ain, aout, NULL, 0);
527 void ScriptIntrinsicLUT::forEach(sp<Allocation> ain, sp<Allocation> aout) { argument
533 !(aout->getType()->getElement()->isCompatible(Element::U8_4(mRS)))) {
537 Script::forEach(0, ain, aout, NULL, 0);
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp410 void RsdCpuReferenceImpl::launchThreads(const Allocation * ain, Allocation * aout, argument
482 void RsdCpuReferenceImpl::launchThreads(const Allocation** ains, uint32_t inLen, Allocation* aout, argument
H A DrsCpuCore.h100 Allocation * aout; member in struct:android::renderscript::__anon1484
141 void launchThreads(const Allocation * ain, Allocation * aout,
144 void launchThreads(const Allocation** ains, uint32_t inLen, Allocation* aout,
H A DrsCpuIntrinsic.cpp77 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 DrsCpuIntrinsicHistogram.cpp40 Allocation * aout, const void * usr,
43 Allocation * aout, const void * usr,
101 Allocation * aout, const void * usr,
146 Allocation * aout, const void * usr,
100 preLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
145 postLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
H A DrsCpuIntrinsicResize.cpp39 Allocation * aout, const void * usr,
308 Allocation * aout, const void * usr,
332 scaleX = (float)srcWidth / aout->mHal.drvState.lod[0].dimX;
333 scaleY = (float)srcHeight / aout->mHal.drvState.lod[0].dimY;
307 preLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
H A DrsCpuScript.cpp797 void RsdCpuScriptImpl::forEachMtlsSetup(const Allocation * ain, Allocation * aout, argument
809 if (aout && (const uint8_t *)aout->mHal.drvState.lod[0].mallocPtr == NULL) {
821 } else if (aout != NULL) {
822 const Type *outType = aout->getType();
833 if (ain != NULL && aout != NULL) {
834 if (!ain->hasSameDims(aout)) {
884 mtls->aout = aout;
902 if (aout) {
909 forEachMtlsSetup(const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc, MTLaunchStruct *mtls) argument
1051 invokeForEach(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
1067 invokeForEachMulti(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
1346 preLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
1352 postLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
[all...]
H A DrsCpuScriptGroup.cpp140 Allocation *aout = NULL; local
162 aout = n->mOutputs[ct3]->mAlloc.get();
169 if (aout == NULL) {
172 aout = mSG->mOutputs[ct3]->mAlloc.get();
179 rsAssert((k->mHasKernelOutput == (aout != NULL)) &&
184 outs.add(aout);
/frameworks/rs/driver/
H A DrsdBcc.cpp71 Allocation * aout,
77 cs->invokeForEach(slot, ain, aout, usr, usrLen, sc);
85 Allocation * aout,
91 cs->invokeForEachMulti(slot, ains, inLen, aout, usr, usrLen, sc);
67 rsdScriptInvokeForEach(const Context *rsc, Script *s, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrLen, const RsScriptCall *sc) argument
80 rsdScriptInvokeForEachMulti(const Context *rsc, Script *s, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation * aout, const void * usr, size_t usrLen, const RsScriptCall *sc) argument
/frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/
H A DBenchmark.java26 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);

Completed in 6673 milliseconds

123