/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 751 RSC::sp<RSC::Allocation> ain = RSC::Allocation::createTyped(mRs, t, local 761 mRsScript->setInput(ain);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | RenderScript.java | 608 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, aou [all...] |
H A D | Script.java | 130 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...] |
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 | ScriptIntrinsicBlend.java | 43 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 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 | ScriptIntrinsicColorMatrix.java | 221 * @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 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);
|
H A D | ScriptIntrinsicHistogram.java | 67 * @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 D | 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) { 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 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);
|
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1095 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)); 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
|
/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);
|
H A D | ScriptIntrinsics.cpp | 47 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/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 410 void RsdCpuReferenceImpl::launchThreads(const Allocation * ain, Allocation * aout, argument
|
H A D | rsCpuCore.h | 99 const Allocation * ain; member in struct:android::renderscript::__anon1484 141 void launchThreads(const Allocation * ain, Allocation * aout,
|
H A D | rsCpuIntrinsic.cpp | 76 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 D | rsCpuIntrinsicHistogram.cpp | 39 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 D | rsCpuIntrinsicResize.cpp | 38 virtual void preLaunch(uint32_t slot, const Allocation * ain, 307 void RsdCpuScriptIntrinsicResize::preLaunch(uint32_t slot, const Allocation * ain, argument
|
H A D | rsCpuScript.cpp | 797 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...] |
H A D | rsCpuScriptGroup.cpp | 139 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);
|
/frameworks/rs/driver/ |
H A D | rsdBcc.cpp | 70 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/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);
|