/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 526 native void rsnScriptBindAllocation(int con, int script, int alloc, int slot); argument 527 synchronized void nScriptBindAllocation(int script, int alloc, int slot) { argument 529 rsnScriptBindAllocation(mContext, script, alloc, slot); 536 native void rsnScriptInvoke(int con, int id, int slot); argument 537 synchronized void nScriptInvoke(int id, int slot) { argument 539 rsnScriptInvoke(mContext, id, slot); 541 native void rsnScriptForEach(int con, int id, int slot, int ain, int aout, byte[] params); argument 542 native void rsnScriptForEach(int con, int id, int slot, int ain, int aout); argument 543 native void rsnScriptForEachClipped(int con, int id, int slot, int ain, int aout, byte[] params, argument 545 native void rsnScriptForEachClipped(int con, int id, int slot, in argument 547 nScriptForEach(int id, int slot, int ain, int aout, byte[] params) argument 556 nScriptForEachClipped(int id, int slot, int ain, int aout, byte[] params, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument 566 rsnScriptInvokeV(int con, int id, int slot, byte[] params) argument 567 nScriptInvokeV(int id, int slot, byte[] params) argument 571 rsnScriptSetVarI(int con, int id, int slot, int val) argument 572 nScriptSetVarI(int id, int slot, int val) argument 576 rsnScriptSetVarJ(int con, int id, int slot, long val) argument 577 nScriptSetVarJ(int id, int slot, long val) argument 581 rsnScriptSetVarF(int con, int id, int slot, float val) argument 582 nScriptSetVarF(int id, int slot, float val) argument 586 rsnScriptSetVarD(int con, int id, int slot, double val) argument 587 nScriptSetVarD(int id, int slot, double val) argument 591 rsnScriptSetVarV(int con, int id, int slot, byte[] val) argument 592 nScriptSetVarV(int id, int slot, byte[] val) argument 596 rsnScriptSetVarVE(int con, int id, int slot, byte[] val, int e, int[] dims) argument 598 nScriptSetVarVE(int id, int slot, byte[] val, int e, int[] dims) argument 603 rsnScriptSetVarObj(int con, int id, int slot, int val) argument 604 nScriptSetVarObj(int id, int slot, int val) argument 622 rsnScriptKernelIDCreate(int con, int sid, int slot, int sig) argument 623 nScriptKernelIDCreate(int sid, int slot, int sig) argument 628 rsnScriptFieldIDCreate(int con, int sid, int slot) argument 629 nScriptFieldIDCreate(int sid, int slot) argument [all...] |
H A D | Script.java | 46 KernelID(int id, RenderScript rs, Script s, int slot, int sig) { argument 49 mSlot = slot; 59 * @param slot 66 protected KernelID createKernelID(int slot, int sig, Element ein, Element eout) { argument 67 KernelID k = mKIDs.get(slot); 75 k = new KernelID(0, mRS, this, slot, sig); 77 k.mN = mT.thunkCreateKernelID(slot, sig, ein, eout); 79 mKIDs.put(slot, k); 84 int id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig); 89 k = new KernelID(id, mRS, this, slot, si 107 FieldID(int id, RenderScript rs, Script s, int slot) argument 123 createFieldID(int slot, Element e) argument 156 invoke(int slot) argument 171 invoke(int slot, FieldPacker v) argument 190 bindAllocation(Allocation va, int slot) argument 227 forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) argument 261 forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) argument [all...] |
H A D | ScriptCThunker.java | 43 int slot, int sig, Element ein, Element eout) { 54 android.renderscript.Script.KernelID kid = createKernelID(slot, sig, nein, neout); 62 void thunkInvoke(int slot) { argument 64 invoke(slot); 70 void thunkBindAllocation(Allocation va, int slot) { argument 76 bindAllocation(nva, slot); 90 void thunkInvoke(int slot, FieldPacker v) { argument 94 invoke(slot, nfp); 100 void thunkForEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { argument 114 forEach(slot, ni 42 thunkCreateKernelID( int slot, int sig, Element ein, Element eout) argument 120 thunkForEach(int slot, Allocation ain, Allocation aout, FieldPacker v, android.support.v8.renderscript.Script.LaunchOptions sc) argument 221 thunkCreateFieldID(int slot, Element e) argument [all...] |
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 684 nScriptBindAllocation(JNIEnv *_env, jobject _this, RsContext con, jint script, jint alloc, jint slot) argument 686 LOG_API("nScriptBindAllocation, con(%p), script(%p), alloc(%p), slot(%i)", con, (RsScript)script, (RsAllocation)alloc, slot); 687 rsScriptBindAllocation(con, (RsScript)script, (RsAllocation)alloc, slot); 691 nScriptSetVarI(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument 693 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val); 694 rsScriptSetVarI(con, (RsScript)script, slot, val); 698 nScriptSetVarObj(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument 700 LOG_API("nScriptSetVarObj, con(%p), s(%p), slot( 705 nScriptSetVarJ(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jlong val) argument 712 nScriptSetVarF(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, float val) argument 719 nScriptSetVarD(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, double val) argument 726 nScriptSetVarV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument 736 nScriptSetVarVE(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data, jint elem, jintArray dims) argument 767 nScriptInvoke(JNIEnv *_env, jobject _this, RsContext con, jint obj, jint slot) argument 774 nScriptInvokeV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument 784 nScriptForEach(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout) argument 791 nScriptForEachV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params) argument 802 nScriptForEachClipped(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument 822 nScriptForEachClippedV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument 903 nScriptKernelIDCreate(JNIEnv *_env, jobject _this, RsContext con, jint sid, jint slot, jint sig) argument 910 nScriptFieldIDCreate(JNIEnv *_env, jobject _this, RsContext con, jint sid, jint slot) argument [all...] |
/frameworks/rs/cpp/ |
H A D | Script.cpp | 25 void Script::invoke(uint32_t slot, const void *v, size_t len) const { argument 26 tryDispatch(mRS, RS::dispatch->ScriptInvokeV(mRS->getContext(), getID(), slot, v, len)); 29 void Script::forEach(uint32_t slot, sp<const Allocation> ain, sp<const Allocation> aout, argument 36 tryDispatch(mRS, RS::dispatch->ScriptForEach(mRS->getContext(), getID(), slot, in_id, out_id, usr, usrLen, NULL, 0)); 44 void Script::bindAllocation(sp<Allocation> va, uint32_t slot) const { 45 tryDispatch(mRS, RS::dispatch->ScriptBindAllocation(mRS->getContext(), getID(), BaseObj::getObjID(va), slot));
|
H A D | rsCppStructs.h | 1332 void forEach(uint32_t slot, sp<const Allocation> in, sp<const Allocation> out, 1334 void bindAllocation(sp<Allocation> va, uint32_t slot) const; 1337 void invoke(uint32_t slot, const void *v, size_t len) const; 1340 void invoke(uint32_t slot) const { 1341 invoke(slot, NULL, 0);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.h | 70 uint32_t slot; member in struct:android::renderscript::__anon1483
|
H A D | rsCpuIntrinsic.cpp | 34 void RsdCpuScriptIntrinsic::invokeFunction(uint32_t slot, const void *params, size_t paramLength) { argument 50 void RsdCpuScriptIntrinsic::setGlobalVar(uint32_t slot, const void *data, size_t dataLength) { argument 55 void RsdCpuScriptIntrinsic::setGlobalVarWithElemDims(uint32_t slot, const void *data, argument 62 void RsdCpuScriptIntrinsic::setGlobalBind(uint32_t slot, Allocation *data) { argument 67 void RsdCpuScriptIntrinsic::setGlobalObj(uint32_t slot, ObjectBase *data) { argument 76 void RsdCpuScriptIntrinsic::preLaunch(uint32_t slot, const Allocation * ain, argument 81 void RsdCpuScriptIntrinsic::postLaunch(uint32_t slot, const Allocation * ain, argument 86 void RsdCpuScriptIntrinsic::invokeForEach(uint32_t slot, argument 94 preLaunch(slot, ain, aout, usr, usrLen, sc); 98 mtls.fep.slot 110 invokeForEachMulti(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 139 forEachKernelSetup(uint32_t slot, MTLaunchStruct *mtls) argument [all...] |
H A D | rsCpuIntrinsic.h | 31 virtual void invokeFunction(uint32_t slot, const void *params, size_t paramLength); 33 virtual void invokeForEach(uint32_t slot, 40 virtual void invokeForEachMulti(uint32_t slot, 48 virtual void forEachKernelSetup(uint32_t slot, MTLaunchStruct *mtls); 52 virtual void preLaunch(uint32_t slot, const Allocation * ain, 55 virtual void postLaunch(uint32_t slot, const Allocation * ain, 59 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength); 60 virtual void setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength, 62 virtual void setGlobalBind(uint32_t slot, Allocation *data); 63 virtual void setGlobalObj(uint32_t slot, ObjectBas [all...] |
H A D | rsCpuIntrinsic3DLUT.cpp | 33 virtual void setGlobalObj(uint32_t slot, ObjectBase *data); 50 void RsdCpuScriptIntrinsic3DLUT::setGlobalObj(uint32_t slot, ObjectBase *data) { argument 51 rsAssert(slot == 0);
|
H A D | rsCpuIntrinsicBlend.cpp | 94 extern "C" int rsdIntrinsicBlend_K(uchar4 *out, uchar4 const *in, int slot, 126 if (rsdIntrinsicBlend_K(out, in, p->slot, x1, x2) >= 0) 130 switch (p->slot) { 487 ALOGE("Called unimplemented value %d", p->slot);
|
H A D | rsCpuIntrinsicBlur.cpp | 32 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength); 33 virtual void setGlobalObj(uint32_t slot, ObjectBase *data); 103 void RsdCpuScriptIntrinsicBlur::setGlobalObj(uint32_t slot, ObjectBase *data) { argument 104 rsAssert(slot == 1); 108 void RsdCpuScriptIntrinsicBlur::setGlobalVar(uint32_t slot, const void *data, size_t dataLength) { argument 109 rsAssert(slot == 0);
|
H A D | rsCpuIntrinsicColorMatrix.cpp | 33 * Q0 D0: Load slot for R 34 * D1: Load slot for G 35 * Q1 D2: Load slot for B 36 * D3: Load slot for A 69 * Q0 D0: Load slot for R 71 * Q1 D2: Load slot for G 73 * Q2 D4: Load slot for B 75 * Q3 D6: Load slot for A 167 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength); 172 virtual void preLaunch(uint32_t slot, cons [all...] |
H A D | rsCpuIntrinsicConvolve3x3.cpp | 33 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength); 34 virtual void setGlobalObj(uint32_t slot, ObjectBase *data); 69 void RsdCpuScriptIntrinsicConvolve3x3::setGlobalObj(uint32_t slot, ObjectBase *data) { argument 70 rsAssert(slot == 1); 74 void RsdCpuScriptIntrinsicConvolve3x3::setGlobalVar(uint32_t slot, const void *data, argument 76 rsAssert(slot == 0);
|
H A D | rsCpuIntrinsicConvolve5x5.cpp | 33 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength); 34 virtual void setGlobalObj(uint32_t slot, ObjectBase *data); 70 void RsdCpuScriptIntrinsicConvolve5x5::setGlobalObj(uint32_t slot, ObjectBase *data) { argument 71 rsAssert(slot == 1); 75 void RsdCpuScriptIntrinsicConvolve5x5::setGlobalVar(uint32_t slot, argument 77 rsAssert(slot == 0);
|
H A D | rsCpuIntrinsicHistogram.cpp | 32 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength); 33 virtual void setGlobalObj(uint32_t slot, ObjectBase *data); 39 void preLaunch(uint32_t slot, const Allocation * ain, 42 void postLaunch(uint32_t slot, const Allocation * ain, 83 void RsdCpuScriptIntrinsicHistogram::setGlobalObj(uint32_t slot, ObjectBase *data) { argument 84 rsAssert(slot == 1); 88 void RsdCpuScriptIntrinsicHistogram::setGlobalVar(uint32_t slot, const void *data, size_t dataLength) { argument 89 rsAssert(slot == 0); 100 void RsdCpuScriptIntrinsicHistogram::preLaunch(uint32_t slot, const Allocation * ain, argument 107 switch (slot) { 145 postLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument [all...] |
H A D | rsCpuIntrinsicLUT.cpp | 33 virtual void setGlobalObj(uint32_t slot, ObjectBase *data); 50 void RsdCpuScriptIntrinsicLUT::setGlobalObj(uint32_t slot, ObjectBase *data) { argument 51 rsAssert(slot == 0);
|
H A D | rsCpuIntrinsicResize.cpp | 33 virtual void setGlobalObj(uint32_t slot, ObjectBase *data); 38 virtual void preLaunch(uint32_t slot, const Allocation * ain, 64 void RsdCpuScriptIntrinsicResize::setGlobalObj(uint32_t slot, ObjectBase *data) { argument 65 rsAssert(slot == 0); 307 void RsdCpuScriptIntrinsicResize::preLaunch(uint32_t slot, const Allocation * ain, argument
|
H A D | rsCpuIntrinsicYuvToRGB.cpp | 41 virtual void setGlobalObj(uint32_t slot, ObjectBase *data); 58 void RsdCpuScriptIntrinsicYuvToRGB::setGlobalObj(uint32_t slot, ObjectBase *data) { argument 59 rsAssert(slot == 0);
|
H A D | rsCpuScript.cpp | 661 ALOGE("Invalid object slot count!: %s", line); 673 ALOGE("Invalid object slot!: %s", line); 1051 void RsdCpuScriptImpl::invokeForEach(uint32_t slot, argument 1060 forEachKernelSetup(slot, &mtls); 1067 void RsdCpuScriptImpl::invokeForEachMulti(uint32_t slot, argument 1078 forEachKernelSetup(slot, &mtls); 1085 void RsdCpuScriptImpl::forEachKernelSetup(uint32_t slot, MTLaunchStruct *mtls) { argument 1087 mtls->fep.slot = slot; 1089 rsAssert(slot < mExecutabl 1120 invokeFunction(uint32_t slot, const void *params, size_t paramLength) argument 1134 setGlobalVar(uint32_t slot, const void *data, size_t dataLength) argument 1157 getGlobalVar(uint32_t slot, void *data, size_t dataLength) argument 1175 setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength, const Element *elem, const uint32_t *dims, size_t dimLength) argument 1216 setGlobalBind(uint32_t slot, Allocation *data) argument 1240 setGlobalObj(uint32_t slot, ObjectBase *data) 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 | rsCpuScript.h | 65 virtual void invokeFunction(uint32_t slot, const void *params, size_t paramLength); 67 virtual void preLaunch(uint32_t slot, const Allocation * ain, 70 virtual void postLaunch(uint32_t slot, const Allocation * ain, 73 virtual void invokeForEach(uint32_t slot, 80 virtual void invokeForEachMulti(uint32_t slot, 90 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength); 91 virtual void getGlobalVar(uint32_t slot, void *data, size_t dataLength); 92 virtual void setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength, 94 virtual void setGlobalBind(uint32_t slot, Allocation *data); 95 virtual void setGlobalObj(uint32_t slot, ObjectBas [all...] |
H A D | rsCpuScriptGroup.cpp | 197 uint32_t slot = kernels[ct]->mSlot; local 200 si->forEachKernelSetup(slot, &mtls); 201 si->preLaunch(slot, ins[ct], outs[ct], mtls.fep.usr, mtls.fep.usrLen, NULL); 203 si->postLaunch(slot, ins[ct], outs[ct], NULL, 0, NULL);
|
H A D | rsd_cpu.h | 70 virtual void invokeFunction(uint32_t slot, const void *params, size_t paramLength) = 0; 72 virtual void invokeForEach(uint32_t slot, 79 virtual void invokeForEachMulti(uint32_t slot, 90 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength) = 0; 91 virtual void getGlobalVar(uint32_t slot, void *data, size_t dataLength) = 0; 92 virtual void setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength, 94 virtual void setGlobalBind(uint32_t slot, Allocation *data) = 0; 95 virtual void setGlobalObj(uint32_t slot, ObjectBase *obj) = 0;
|
/frameworks/rs/driver/ |
H A D | rsdBcc.cpp | 69 uint32_t slot, 77 cs->invokeForEach(slot, ain, aout, usr, usrLen, sc); 82 uint32_t slot, 91 cs->invokeForEachMulti(slot, ains, inLen, aout, usr, usrLen, sc); 111 uint32_t slot, 115 cs->invokeFunction(slot, params, paramLength); 119 uint32_t slot, void *data, size_t dataLength) { 121 cs->setGlobalVar(slot, data, dataLength); 125 uint32_t slot, void *data, size_t dataLength) { 127 cs->getGlobalVar(slot, dat 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 110 rsdScriptInvokeFunction(const Context *dc, Script *s, uint32_t slot, const void *params, size_t paramLength) argument 118 rsdScriptSetGlobalVar(const Context *dc, const Script *s, uint32_t slot, void *data, size_t dataLength) argument 124 rsdScriptGetGlobalVar(const Context *dc, const Script *s, uint32_t slot, void *data, size_t dataLength) argument 131 rsdScriptSetGlobalVarWithElemDims(const Context *dc, const Script *s, uint32_t slot, void *data, size_t dataLength, const android::renderscript::Element *elem, const uint32_t *dims, size_t dimLength) argument 139 rsdScriptSetGlobalBind(const Context *dc, const Script *s, uint32_t slot, Allocation *data) argument 144 rsdScriptSetGlobalObj(const Context *dc, const Script *s, uint32_t slot, ObjectBase *data) argument [all...] |
H A D | rsdBcc.h | 33 uint32_t slot, 39 uint32_t slot, 48 uint32_t slot, 65 uint32_t slot, void *data, size_t dataLen); 68 uint32_t slot, void *data, size_t dataLen); 71 uint32_t slot, void *data, 78 uint32_t slot, android::renderscript::Allocation *data); 81 uint32_t slot, android::renderscript::ObjectBase *data); 85 uint32_t slot, 90 uint32_t slot, [all...] |