Searched defs:ain (Results 26 - 50 of 54) sorted by relevance

123

/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicColorMatrix.java221 * @param ain Input allocation
224 public void forEach(Allocation ain, Allocation aout) { argument
225 forEach(ain, aout, null);
240 * @param ain Input allocation
244 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) { argument
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
[all...]
H A DScriptIntrinsicHistogram.java67 * @param ain The input image
69 public void forEach(Allocation ain) { argument
70 forEach(ain, null);
84 * @param ain The input image
87 public void forEach(Allocation ain, Script.LaunchOptions opt) { argument
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
173 forEach_Dot(Allocation ain) argument
188 forEach_Dot(Allocation ain, Script.LaunchOptions opt) argument
[all...]
H A DScriptIntrinsicLUT.java118 * 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) { argument
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) { argument
141 forEach(0, ain, aout, null, opt);
H A DScriptIntrinsicBlend.java43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) { argument
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) { argument
60 forEachClear(ain, aout, null);
66 * @param ain The source buffer
70 public void forEachClear(Allocation ain, Allocation aout, Script.LaunchOptions opt) { argument
71 blend(0, ain, aout, opt);
87 * @param ain 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 DScript.java130 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { argument
132 mRS.validateObject(ain);
134 if (ain == null && aout == null) {
136 "At least one of ain or aout is required to be non-null.");
139 if (ain != null) {
140 in_id = ain.getID(mRS);
157 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) { argument
159 mRS.validateObject(ain);
161 if (ain == null && aout == null) {
163 "At least one of ain o
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicColorMatrix.java150 * Invoke the kernel and apply the matrix to each cell of ain and copy to
153 * @param ain Input allocation
156 public void forEach(Allocation ain, Allocation aout) { argument
157 forEach(0, ain, aout, null);
H A DScriptIntrinsicLUT.java127 * Invoke the kernel and apply the lookup to each cell of ain
130 * @param ain Input allocation
133 public void forEach(Allocation ain, Allocation aout) { argument
138 forEach(0, ain, aout, null);
H A DScriptIntrinsicLUTThunker.java77 public void forEach(Allocation ain, Allocation aout) { argument
78 AllocationThunker aint = (AllocationThunker)ain;
H A DScriptCThunker.java100 void thunkForEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { argument
104 if (ain != null) {
105 nin = ((AllocationThunker)ain).mN;
120 void thunkForEach(int slot, Allocation ain, Allocation aout, FieldPacker v, argument
134 if (ain != null) {
135 nin = ((AllocationThunker)ain).mN;
H A DScriptIntrinsicBlend.java48 private void blend(int id, Allocation ain, Allocation aout) { argument
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) { argument
65 blend(0, ain, aout);
81 * @param ain The source buffer
84 public void forEachSrc(Allocation ain, Allocation aout) { argument
85 blend(1, ain, aout);
102 * @param ain 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 DScriptIntrinsicBlendThunker.java43 public void forEachClear(Allocation ain, Allocation aout) { argument
44 AllocationThunker aint = (AllocationThunker)ain;
64 public void forEachSrc(Allocation ain, Allocation aout) { argument
65 AllocationThunker aint = (AllocationThunker)ain;
85 public void forEachDst(Allocation ain, Allocation aout) { argument
86 AllocationThunker aint = (AllocationThunker)ain;
106 public void forEachSrcOver(Allocation ain, Allocation aout) { argument
107 AllocationThunker aint = (AllocationThunker)ain;
127 public void forEachDstOver(Allocation ain, Allocation aout) { argument
128 AllocationThunker aint = (AllocationThunker)ain;
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 DScript.java223 * @param ain
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.");
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) { argument
263 mT.thunkForEach(slot, ain, aou
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsic.cpp76 void RsdCpuScriptIntrinsic::preLaunch(uint32_t slot, const Allocation * ain, argument
81 void RsdCpuScriptIntrinsic::postLaunch(uint32_t slot, const Allocation * ain, argument
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);
86 invokeForEach(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
H A DrsCpuIntrinsicHistogram.cpp39 void preLaunch(uint32_t slot, const Allocation * ain,
42 void postLaunch(uint32_t slot, const Allocation * ain,
100 void RsdCpuScriptIntrinsicHistogram::preLaunch(uint32_t slot, const Allocation * ain, argument
126 switch(ain->getType()->getElement()->getVectorSize()) {
145 void RsdCpuScriptIntrinsicHistogram::postLaunch(uint32_t slot, const Allocation * ain, argument
H A DrsCpuScriptGroup.cpp139 Allocation *ain = NULL; local
146 ain = n->mInputs[ct3]->mAlloc.get();
150 if (ain == NULL) {
153 ain = mSG->mInputs[ct3]->mAlloc.get();
180 (k->mHasKernelInput == (ain != NULL)));
182 ins.add(ain);
H A DrsCpuIntrinsicResize.cpp38 virtual void preLaunch(uint32_t slot, const Allocation * ain,
307 void RsdCpuScriptIntrinsicResize::preLaunch(uint32_t slot, const Allocation * ain, argument
H A DrsCpuCore.cpp410 void RsdCpuReferenceImpl::launchThreads(const Allocation * ain, Allocation * aout, argument
H A DrsCpuCore.h99 const Allocation * ain; member in struct:android::renderscript::__anon1484
141 void launchThreads(const Allocation * ain, Allocation * aout,
H A DrsCpuScript.cpp797 void RsdCpuScriptImpl::forEachMtlsSetup(const Allocation * ain, Allocation * aout, argument
805 if (ain && (const uint8_t *)ain->mHal.drvState.lod[0].mallocPtr == NULL) {
814 if (ain != NULL) {
815 const Type *inType = ain->getType();
833 if (ain != NULL && aout != NULL) {
834 if (!ain->hasSameDims(aout)) {
880 rsAssert(!ain || (ain->getType()->getDimZ() == 0));
883 mtls->ain
920 const Allocation* ain = ains[index]; local
1029 const Allocation *ain = ains[index]; local
1051 invokeForEach(uint32_t slot, const Allocation * ain, 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...]
/frameworks/rs/
H A DrsScriptIntrinsic.cpp61 const Allocation * ain,
67 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, 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
H A DrsScriptC.cpp159 const Allocation * ain,
181 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
157 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
H A DrsScriptGroup.cpp320 Allocation *ain = NULL; local
325 ain = n->mInputs[ct3]->mAlloc.get();
326 //ALOGE(" link in %p", ain);
331 ain = mInputs[ct3]->mAlloc.get();
332 //ALOGE(" io in %p", ain);
349 n->mScript->runForEach(rsc, k->mSlot, ain, aout, NULL, 0);
/frameworks/rs/driver/
H A DrsdBcc.cpp70 const Allocation * ain,
77 cs->invokeForEach(slot, ain, 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
/frameworks/rs/cpp/
H A DScriptIntrinsics.cpp47 void ScriptIntrinsic3DLUT::forEach(sp<Allocation> ain, sp<Allocation> aout) { argument
48 if (ain->getType()->getElement()->isCompatible(mElement) == false ||
53 Script::forEach(0, ain, aout, NULL, 0);
471 void ScriptIntrinsicHistogram::forEach(sp<Allocation> ain) { argument
472 if (ain->getType()->getElement()->getVectorSize() <
479 if (!(ain->getType()->getElement()->isCompatible(Element::U8(mRS))) ||
480 !(ain->getType()->getElement()->isCompatible(Element::U8_4(mRS)))) {
486 Script::forEach(0, ain, NULL, NULL, 0);
490 void ScriptIntrinsicHistogram::forEach_dot(sp<Allocation> ain) { argument
497 if (!(ain
527 forEach(sp<Allocation> ain, sp<Allocation> aout) argument
[all...]
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp751 RSC::sp<RSC::Allocation> ain = RSC::Allocation::createTyped(mRs, t, local
761 mRsScript->setInput(ain);

Completed in 1654 milliseconds

123