/frameworks/support/renderscript/v8/rs_support/ |
D | rsScript.cpp | 43 void Script::setSlot(uint32_t slot, Allocation *a) { in setSlot() argument 45 if (slot >= mHal.info.exportedVariableCount) { in setSlot() 50 mSlots[slot].set(a); in setSlot() 51 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a); in setSlot() 54 void Script::setVar(uint32_t slot, const void *val, size_t len) { in setVar() argument 56 if (slot >= mHal.info.exportedVariableCount) { in setVar() 60 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len); in setVar() 63 void Script::setVar(uint32_t slot, const void *val, size_t len, Element *e, in setVar() argument 65 if (slot >= mHal.info.exportedVariableCount) { in setVar() 69 mRSC->mHal.funcs.script.setGlobalVarWithElemDims(mRSC, this, slot, in setVar() [all …]
|
D | rsScript.h | 29 ScriptKernelID(Context *rsc, Script *s, int slot, int sig); 43 ScriptFieldID(Context *rsc, Script *s, int slot); 87 void setSlot(uint32_t slot, Allocation *a); 88 void setVar(uint32_t slot, const void *val, size_t len); 89 void setVar(uint32_t slot, const void *val, size_t len, Element *e, 91 void setVarObj(uint32_t slot, ObjectBase *val); 96 uint32_t slot, 103 virtual void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) = 0;
|
D | rs.spec | 208 param uint32_t slot 218 param uint32_t slot 223 param uint32_t slot 229 param uint32_t slot 237 param uint32_t slot 243 param uint32_t slot 249 param uint32_t slot 255 param uint32_t slot 261 param uint32_t slot 267 param uint32_t slot [all …]
|
/frameworks/rs/ |
D | rsScript.cpp | 43 void Script::setSlot(uint32_t slot, Allocation *a) { in setSlot() argument 45 if (slot >= mHal.info.exportedVariableCount) { in setSlot() 50 mSlots[slot].set(a); in setSlot() 51 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a); in setSlot() 54 void Script::setVar(uint32_t slot, const void *val, size_t len) { in setVar() argument 56 if (slot >= mHal.info.exportedVariableCount) { in setVar() 60 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len); in setVar() 63 void Script::setVar(uint32_t slot, const void *val, size_t len, Element *e, in setVar() argument 65 if (slot >= mHal.info.exportedVariableCount) { in setVar() 69 mRSC->mHal.funcs.script.setGlobalVarWithElemDims(mRSC, this, slot, in setVar() [all …]
|
D | rsProgram.cpp | 139 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { in bindAllocation() argument 141 if (slot >= mHal.state.constantsCount) { in bindAllocation() 143 slot, (uint32_t)this, mHal.state.constantsCount); in bindAllocation() 147 if (alloc->getType() != mConstantTypes[slot].get()) { in bindAllocation() 149 slot, (uint32_t)this); in bindAllocation() 154 if (mConstants[slot].get() == alloc) { in bindAllocation() 157 if (mConstants[slot].get()) { in bindAllocation() 158 mConstants[slot]->removeProgramToDirty(this); in bindAllocation() 160 mConstants[slot].set(alloc); in bindAllocation() 161 mHal.state.constants[slot] = alloc; in bindAllocation() [all …]
|
D | rsScript.h | 34 ScriptKernelID(Context *rsc, Script *s, int slot, int sig); 48 ScriptFieldID(Context *rsc, Script *s, int slot); 97 void setSlot(uint32_t slot, Allocation *a); 98 void setVar(uint32_t slot, const void *val, size_t len); 99 void setVar(uint32_t slot, const void *val, size_t len, Element *e, 101 void setVarObj(uint32_t slot, ObjectBase *val); 106 uint32_t slot, 113 virtual void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) = 0;
|
D | rs.spec | 270 param uint32_t slot 280 param uint32_t slot 285 param uint32_t slot 291 param uint32_t slot 299 param uint32_t slot 305 param uint32_t slot 311 param uint32_t slot 317 param uint32_t slot 323 param uint32_t slot 329 param uint32_t slot [all …]
|
D | rsScriptC_LibGL.cpp | 49 void rsrBindTexture(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindTexture() argument 52 pf->bindTexture(rsc, slot, a); in rsrBindTexture() 55 void rsrBindConstant(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindConstant() argument 58 pf->bindAllocation(rsc, a, slot); in rsrBindConstant() 61 void rsrBindConstant(Context *rsc, Script *sc, ProgramVertex *pv, uint32_t slot, Allocation *a) { in rsrBindConstant() argument 64 pv->bindAllocation(rsc, a, slot); in rsrBindConstant() 67 void rsrBindSampler(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Sampler *s) { in rsrBindSampler() argument 70 pf->bindSampler(rsc, slot, s); in rsrBindSampler() 93 void rsrBindFrameBufferObjectColorTarget(Context *rsc, Script *sc, Allocation *a, uint32_t slot) { in rsrBindFrameBufferObjectColorTarget() argument 95 rsc->mFBOCache.bindColorTarget(rsc, a, slot); in rsrBindFrameBufferObjectColorTarget() [all …]
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_imdct_synth.cpp | 319 for (int32 slot = 1; slot < FILTERBANK_BANDS; slot += 6) in pvmp3_imdct_synth() local 321 int32 temp1 = out[slot ]; in pvmp3_imdct_synth() 322 int32 temp2 = out[slot+2]; in pvmp3_imdct_synth() 323 int32 temp3 = out[slot+4]; in pvmp3_imdct_synth() 324 out[slot ] = -temp1; in pvmp3_imdct_synth() 325 out[slot+2] = -temp2; in pvmp3_imdct_synth() 326 out[slot+4] = -temp3; in pvmp3_imdct_synth() 336 int32 slot; in pvmp3_imdct_synth() local 340 for (slot = 0; slot < FILTERBANK_BANDS; slot += 6) in pvmp3_imdct_synth() 342 int32 temp1 = history[slot ]; in pvmp3_imdct_synth() [all …]
|
/frameworks/base/graphics/java/android/renderscript/ |
D | Program.java | 96 public Type getConstant(int slot) { in getConstant() argument 97 if (slot < 0 || slot >= mConstants.length) { in getConstant() 100 return mConstants[slot]; in getConstant() 116 public TextureType getTextureType(int slot) { in getTextureType() argument 117 if ((slot < 0) || (slot >= mTextureCount)) { in getTextureType() 120 return mTextures[slot]; in getTextureType() 129 public String getTextureName(int slot) { in getTextureName() argument 130 if ((slot < 0) || (slot >= mTextureCount)) { in getTextureName() 133 return mTextureNames[slot]; in getTextureName() 144 public void bindConstants(Allocation a, int slot) { in bindConstants() argument [all …]
|
D | Script.java | 38 KernelID(int id, RenderScript rs, Script s, int slot, int sig) { in KernelID() argument 41 mSlot = slot; in KernelID() 58 protected KernelID createKernelID(int slot, int sig, Element ein, Element eout) { in createKernelID() argument 59 KernelID k = mKIDs.get(slot); in createKernelID() 64 int id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig); in createKernelID() 69 k = new KernelID(id, mRS, this, slot, sig); in createKernelID() 70 mKIDs.put(slot, k); in createKernelID() 85 FieldID(int id, RenderScript rs, Script s, int slot) { in FieldID() argument 88 mSlot = slot; in FieldID() 101 protected FieldID createFieldID(int slot, Element e) { in createFieldID() argument [all …]
|
D | RenderScript.java | 165 native void rsnContextBindSampler(int con, int sampler, int slot); in rsnContextBindSampler() argument 166 synchronized void nContextBindSampler(int sampler, int slot) { in nContextBindSampler() argument 168 rsnContextBindSampler(mContext, sampler, slot); in nContextBindSampler() 489 native void rsnScriptBindAllocation(int con, int script, int alloc, int slot); in rsnScriptBindAllocation() argument 490 synchronized void nScriptBindAllocation(int script, int alloc, int slot) { in nScriptBindAllocation() argument 492 rsnScriptBindAllocation(mContext, script, alloc, slot); in nScriptBindAllocation() 499 native void rsnScriptInvoke(int con, int id, int slot); in rsnScriptInvoke() argument 500 synchronized void nScriptInvoke(int id, int slot) { in nScriptInvoke() argument 502 rsnScriptInvoke(mContext, id, slot); in nScriptInvoke() 504 native void rsnScriptForEach(int con, int id, int slot, int ain, int aout, byte[] params); in rsnScriptForEach() argument [all …]
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
D | Script.java | 38 KernelID(int id, RenderScript rs, Script s, int slot, int sig) { in KernelID() argument 41 mSlot = slot; in KernelID() 58 protected KernelID createKernelID(int slot, int sig, Element ein, Element eout) { in createKernelID() argument 59 KernelID k = mKIDs.get(slot); in createKernelID() 64 int id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig); in createKernelID() 69 k = new KernelID(id, mRS, this, slot, sig); in createKernelID() 70 mKIDs.put(slot, k); in createKernelID() 85 FieldID(int id, RenderScript rs, Script s, int slot) { in FieldID() argument 88 mSlot = slot; in FieldID() 101 protected FieldID createFieldID(int slot, Element e) { in createFieldID() argument [all …]
|
D | RenderScript.java | 347 native void rsnScriptBindAllocation(int con, int script, int alloc, int slot); in rsnScriptBindAllocation() argument 348 synchronized void nScriptBindAllocation(int script, int alloc, int slot) { in nScriptBindAllocation() argument 350 rsnScriptBindAllocation(mContext, script, alloc, slot); in nScriptBindAllocation() 357 native void rsnScriptInvoke(int con, int id, int slot); in rsnScriptInvoke() argument 358 synchronized void nScriptInvoke(int id, int slot) { in nScriptInvoke() argument 360 rsnScriptInvoke(mContext, id, slot); in nScriptInvoke() 362 native void rsnScriptForEach(int con, int id, int slot, int ain, int aout, byte[] params); in rsnScriptForEach() argument 363 native void rsnScriptForEach(int con, int id, int slot, int ain, int aout); in rsnScriptForEach() argument 364 synchronized void nScriptForEach(int id, int slot, int ain, int aout, byte[] params) { in nScriptForEach() argument 367 rsnScriptForEach(mContext, id, slot, ain, aout); in nScriptForEach() [all …]
|
/frameworks/native/libs/gui/ |
D | ConsumerBase.cpp | 195 status_t ConsumerBase::addReleaseFence(int slot, const sp<Fence>& fence) { in addReleaseFence() argument 197 return addReleaseFenceLocked(slot, fence); in addReleaseFence() 200 status_t ConsumerBase::addReleaseFenceLocked(int slot, const sp<Fence>& fence) { in addReleaseFenceLocked() argument 201 CB_LOGV("addReleaseFenceLocked: slot=%d", slot); in addReleaseFenceLocked() 203 if (!mSlots[slot].mFence.get()) { in addReleaseFenceLocked() 204 mSlots[slot].mFence = fence; in addReleaseFenceLocked() 207 String8::format("%.28s:%d", mName.string(), slot), in addReleaseFenceLocked() 208 mSlots[slot].mFence, fence); in addReleaseFenceLocked() 213 mSlots[slot].mFence = fence; in addReleaseFenceLocked() 216 mSlots[slot].mFence = mergedFence; in addReleaseFenceLocked() [all …]
|
D | BufferQueue.cpp | 232 status_t BufferQueue::requestBuffer(int slot, sp<GraphicBuffer>* buf) { in requestBuffer() argument 234 ST_LOGV("requestBuffer: slot=%d", slot); in requestBuffer() 241 if (slot < 0 || maxBufferCount <= slot) { in requestBuffer() 243 maxBufferCount, slot); in requestBuffer() 245 } else if (mSlots[slot].mBufferState != BufferSlot::DEQUEUED) { in requestBuffer() 250 slot, mSlots[slot].mBufferState); in requestBuffer() 253 mSlots[slot].mRequestBufferCalled = true; in requestBuffer() 254 *buf = mSlots[slot].mGraphicBuffer; in requestBuffer() 749 const BufferSlot& slot(mSlots[i]); in dump() local 754 prefix, (slot.mBufferState == BufferSlot::ACQUIRED)?">":" ", i, in dump() [all …]
|
/frameworks/rs/driver/ |
D | rsdVertexArray.cpp | 66 void RsdVertexArray::logAttrib(uint32_t idx, uint32_t slot) const { in logAttrib() 71 idx, slot, in logAttrib() 100 int32_t slot = sc->vtxAttribSlot(mAttribs[ct].name); in setup() local 102 logAttrib(ct, slot); in setup() 104 if (slot < 0 || slot >= (int32_t)maxAttrs) { in setup() 107 glEnableVertexAttribArray(slot); in setup() 108 state->mAttrsEnabled[slot] = true; in setup() 110 glVertexAttribPointer(slot, in setup()
|
D | rsdBcc.h | 39 uint32_t slot, 45 uint32_t slot, 61 uint32_t slot, void *data, size_t dataLen); 64 uint32_t slot, void *data, 71 uint32_t slot, android::renderscript::Allocation *data); 74 uint32_t slot, android::renderscript::ObjectBase *data); 78 uint32_t slot, 83 uint32_t slot, 105 uint32_t slot, android::renderscript::Allocation *data); 109 uint32_t slot, void *data, size_t dataLength); [all …]
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
D | rsdBcc.h | 34 uint32_t slot, 40 uint32_t slot, 56 uint32_t slot, void *data, size_t dataLen); 59 uint32_t slot, void *data, 66 uint32_t slot, android::renderscript::Allocation *data); 69 uint32_t slot, android::renderscript::ObjectBase *data); 73 uint32_t slot, 78 uint32_t slot, 100 uint32_t slot, android::renderscript::Allocation *data); 104 uint32_t slot, void *data, size_t dataLength); [all …]
|
/frameworks/rs/cpp/ |
D | Script.cpp | 31 void Script::invoke(uint32_t slot, const void *v, size_t len) const { in invoke() argument 32 rsScriptInvokeV(mRS->mContext, getID(), slot, v, len); in invoke() 35 void Script::forEach(uint32_t slot, sp<const Allocation> ain, sp<const Allocation> aout, in forEach() argument 42 rsScriptForEach(mRS->mContext, getID(), slot, in_id, out_id, usr, usrLen); in forEach() 50 void Script::bindAllocation(sp<Allocation> va, uint32_t slot) const { in bindAllocation() 51 rsScriptBindAllocation(mRS->mContext, getID(), BaseObj::getObjID(va), slot); in bindAllocation()
|
D | Script.h | 39 void forEach(uint32_t slot, sp<const Allocation> in, sp<const Allocation> out, 41 void bindAllocation(sp<Allocation> va, uint32_t slot) const; 44 void invoke(uint32_t slot, const void *v, size_t len) const; 47 void invoke(uint32_t slot) const { in invoke() argument 48 invoke(slot, NULL, 0); in invoke()
|
/frameworks/native/libs/gui/tests/ |
D | BufferQueue_test.cpp | 70 int slot; in TEST_F() local 79 mBQ->dequeueBuffer(&slot, fence, 1, 1, 0, in TEST_F() 81 ASSERT_EQ(OK, mBQ->requestBuffer(slot, &buf)); in TEST_F() 82 ASSERT_EQ(OK, mBQ->queueBuffer(slot, qbi, &qbo)); in TEST_F() 87 mBQ->dequeueBuffer(&slot, fence, 1, 1, 0, in TEST_F() 89 ASSERT_EQ(OK, mBQ->requestBuffer(slot, &buf)); in TEST_F() 90 ASSERT_EQ(OK, mBQ->queueBuffer(slot, qbi, &qbo)); in TEST_F()
|
/frameworks/compile/slang/ |
D | slang_rs_reflection_cpp.cpp | 103 uint32_t slot = 0; in makeHeader() local 106 E = mRSContext->export_vars_end(); I != E; I++, slot++) { in makeHeader() 126 slot = 0; in makeHeader() 128 E = mRSContext->export_vars_end(); I != E; I++, slot++) { in makeHeader() 137 tmp << slot; in makeHeader() 256 uint32_t slot = 0; in makeImpl() local 258 E = mRSContext->export_foreach_end(); I != E; I++, slot++) { in makeImpl() 280 tmp << " forEach(" << slot << ", "; in makeImpl() 296 slot = 0; in makeImpl()
|
/frameworks/base/core/java/android/app/ |
D | StatusBarManager.java | 146 public void setIcon(String slot, int iconId, int iconLevel, String contentDescription) { in setIcon() argument 150 svc.setIcon(slot, mContext.getPackageName(), iconId, iconLevel, in setIcon() 159 public void removeIcon(String slot) { in removeIcon() argument 163 svc.removeIcon(slot); in removeIcon() 171 public void setIconVisibility(String slot, boolean visible) { in setIconVisibility() argument 175 svc.setIconVisibility(slot, visible); in setIconVisibility()
|
/frameworks/support/renderscript/v8/jni/ |
D | android_renderscript_RenderScript.cpp | 606 …criptBindAllocation(JNIEnv *_env, jobject _this, RsContext con, jint script, jint alloc, jint slot) in nScriptBindAllocation() argument 608 …tion, con(%p), script(%p), alloc(%p), slot(%i)", con, (RsScript)script, (RsAllocation)alloc, slot); in nScriptBindAllocation() 609 rsScriptBindAllocation(con, (RsScript)script, (RsAllocation)alloc, slot); in nScriptBindAllocation() 613 nScriptSetVarI(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) in nScriptSetVarI() argument 615 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val); in nScriptSetVarI() 616 rsScriptSetVarI(con, (RsScript)script, slot, val); in nScriptSetVarI() 620 nScriptSetVarObj(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) in nScriptSetVarObj() argument 622 LOG_API("nScriptSetVarObj, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val); in nScriptSetVarObj() 623 rsScriptSetVarObj(con, (RsScript)script, slot, (RsObjectBase)val); in nScriptSetVarObj() 627 nScriptSetVarJ(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jlong val) in nScriptSetVarJ() argument [all …]
|