Searched refs:slot (Results 1 - 25 of 104) sorted by relevance

12345

/frameworks/rs/
H A DrsScript.cpp43 void Script::setSlot(uint32_t slot, Allocation *a) { argument
44 //ALOGE("setSlot %i %p", slot, a);
45 if (slot >= mHal.info.exportedVariableCount) {
46 ALOGE("Script::setSlot unable to set allocation, invalid slot index");
50 mSlots[slot].set(a);
51 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a);
54 void Script::setVar(uint32_t slot, const void *val, size_t len) { argument
55 //ALOGE("setVar %i %p %i", slot, val, len);
56 if (slot >= mHal.info.exportedVariableCount) {
57 ALOGE("Script::setVar unable to set allocation, invalid slot inde
63 setVar(uint32_t slot, const void *val, size_t len, Element *e, const size_t *dims, size_t dimLen) argument
73 setVarObj(uint32_t slot, ObjectBase *val) argument
89 ScriptKernelID(Context *rsc, Script *s, int slot, int sig) argument
110 ScriptFieldID(Context *rsc, Script *s, int slot) argument
131 rsi_ScriptKernelIDCreate(Context *rsc, RsScript vs, int slot, int sig) argument
135 rsi_ScriptFieldIDCreate(Context *rsc, RsScript vs, int slot) argument
139 rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) argument
164 rsi_ScriptForEach(Context *rsc, RsScript vs, uint32_t slot, RsAllocation vain, RsAllocation vaout, const void *params, size_t paramLen) argument
174 rsi_ScriptInvoke(Context *rsc, RsScript vs, uint32_t slot) argument
180 rsi_ScriptInvokeData(Context *rsc, RsScript vs, uint32_t slot, void *data) argument
185 rsi_ScriptInvokeV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) argument
190 rsi_ScriptSetVarI(Context *rsc, RsScript vs, uint32_t slot, int value) argument
195 rsi_ScriptSetVarObj(Context *rsc, RsScript vs, uint32_t slot, RsObjectBase value) argument
201 rsi_ScriptSetVarJ(Context *rsc, RsScript vs, uint32_t slot, long long value) argument
206 rsi_ScriptSetVarF(Context *rsc, RsScript vs, uint32_t slot, float value) argument
211 rsi_ScriptSetVarD(Context *rsc, RsScript vs, uint32_t slot, double value) argument
216 rsi_ScriptSetVarV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) argument
221 rsi_ScriptSetVarVE(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len, RsElement ve, const size_t *dims, size_t dimLen) argument
[all...]
H A DrsProgram.cpp139 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { argument
141 if (slot >= mHal.state.constantsCount) {
142 ALOGE("Attempt to bind alloc at slot %u, on shader id %u, but const count is %u",
143 slot, (uint32_t)this, mHal.state.constantsCount);
147 if (alloc->getType() != mConstantTypes[slot].get()) {
148 ALOGE("Attempt to bind alloc at slot %u, on shader id %u, but types mismatch",
149 slot, (uint32_t)this);
154 if (mConstants[slot].get() == alloc) {
157 if (mConstants[slot].get()) {
158 mConstants[slot]
168 bindTexture(Context *rsc, uint32_t slot, Allocation *a) argument
187 bindSampler(Context *rsc, uint32_t slot, Sampler *s) argument
202 rsi_ProgramBindConstants(Context *rsc, RsProgram vp, uint32_t slot, RsAllocation constants) argument
207 rsi_ProgramBindTexture(Context *rsc, RsProgram vpf, uint32_t slot, RsAllocation a) argument
212 rsi_ProgramBindSampler(Context *rsc, RsProgram vpf, uint32_t slot, RsSampler s) argument
[all...]
H A DrsScript.h34 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;
H A DrsScriptIntrinsic.h44 uint32_t slot,
51 virtual void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len);
H A DrsFBOCache.cpp47 void FBOCache::bindColorTarget(Context *rsc, Allocation *a, uint32_t slot) { argument
48 if (slot >= mHal.state.colorTargetsCount) {
58 mColorTargets[slot].set(a);
59 mHal.state.colorTargets[slot] = a;
H A DrsProgram.h66 void bindAllocation(Context *, Allocation *, uint32_t slot);
70 void bindTexture(Context *, uint32_t slot, Allocation *);
71 void bindSampler(Context *, uint32_t slot, Sampler *);
H A DrsScriptIntrinsic.cpp56 uint32_t slot,
63 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
66 void ScriptIntrinsic::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { argument
55 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
/frameworks/support/renderscript/v8/rs_support/
H A DrsScript.cpp43 void Script::setSlot(uint32_t slot, Allocation *a) { argument
44 //ALOGE("setSlot %i %p", slot, a);
45 if (slot >= mHal.info.exportedVariableCount) {
46 ALOGE("Script::setSlot unable to set allocation, invalid slot index");
50 mSlots[slot].set(a);
51 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a);
54 void Script::setVar(uint32_t slot, const void *val, size_t len) { argument
55 //ALOGE("setVar %i %p %i", slot, val, len);
56 if (slot >= mHal.info.exportedVariableCount) {
57 ALOGE("Script::setVar unable to set allocation, invalid slot inde
63 setVar(uint32_t slot, const void *val, size_t len, Element *e, const size_t *dims, size_t dimLen) argument
73 setVarObj(uint32_t slot, ObjectBase *val) argument
89 ScriptKernelID(Context *rsc, Script *s, int slot, int sig) argument
110 ScriptFieldID(Context *rsc, Script *s, int slot) argument
131 rsi_ScriptKernelIDCreate(Context *rsc, RsScript vs, int slot, int sig) argument
135 rsi_ScriptFieldIDCreate(Context *rsc, RsScript vs, int slot) argument
139 rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) argument
164 rsi_ScriptForEach(Context *rsc, RsScript vs, uint32_t slot, RsAllocation vain, RsAllocation vaout, const void *params, size_t paramLen) argument
174 rsi_ScriptInvoke(Context *rsc, RsScript vs, uint32_t slot) argument
180 rsi_ScriptInvokeData(Context *rsc, RsScript vs, uint32_t slot, void *data) argument
185 rsi_ScriptInvokeV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) argument
190 rsi_ScriptSetVarI(Context *rsc, RsScript vs, uint32_t slot, int value) argument
195 rsi_ScriptSetVarObj(Context *rsc, RsScript vs, uint32_t slot, RsObjectBase value) argument
201 rsi_ScriptSetVarJ(Context *rsc, RsScript vs, uint32_t slot, long long value) argument
206 rsi_ScriptSetVarF(Context *rsc, RsScript vs, uint32_t slot, float value) argument
211 rsi_ScriptSetVarD(Context *rsc, RsScript vs, uint32_t slot, double value) argument
216 rsi_ScriptSetVarV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) argument
221 rsi_ScriptSetVarVE(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len, RsElement ve, const size_t *dims, size_t dimLen) argument
[all...]
H A DrsScript.h29 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;
H A DrsScriptIntrinsic.h44 uint32_t slot,
51 virtual void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len);
H A DrsScriptIntrinsic.cpp56 uint32_t slot,
63 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
66 void ScriptIntrinsic::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { argument
55 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_imdct_synth.cpp319 for (int32 slot = 1; slot < FILTERBANK_BANDS; slot += 6)
321 int32 temp1 = out[slot ];
322 int32 temp2 = out[slot+2];
323 int32 temp3 = out[slot+4];
324 out[slot ] = -temp1;
325 out[slot+2] = -temp2;
326 out[slot+4] = -temp3;
336 int32 slot; local
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DProgram.java93 * @param slot index of the constant input type to return
96 public Type getConstant(int slot) { argument
97 if (slot < 0 || slot >= mConstants.length) {
100 return mConstants[slot];
112 * Returns the type of texture at a given slot. e.g. 2D or Cube
113 * @param slot index of the texture input
116 public TextureType getTextureType(int slot) { argument
117 if ((slot < 0) || (slot >
129 getTextureName(int slot) argument
144 bindConstants(Allocation a, int slot) argument
163 bindTexture(Allocation va, int slot) argument
187 bindSampler(Sampler vs, int slot) argument
[all...]
H A DScript.java38 KernelID(int id, RenderScript rs, Script s, int slot, int sig) { argument
41 mSlot = slot;
51 * @param slot
58 protected KernelID createKernelID(int slot, int sig, Element ein, Element eout) { argument
59 KernelID k = mKIDs.get(slot);
64 int id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig);
69 k = new KernelID(id, mRS, this, slot, sig);
70 mKIDs.put(slot, k);
85 FieldID(int id, RenderScript rs, Script s, int slot) { argument
88 mSlot = slot;
101 createFieldID(int slot, Element e) argument
123 invoke(int slot) argument
133 invoke(int slot, FieldPacker v) argument
149 forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) argument
181 bindAllocation(Allocation va, int slot) argument
[all...]
H A DProgramVertex.java68 * @param slot location of the input to return
71 public Element getInput(int slot) { argument
72 if (slot < 0 || slot >= mInputs.length) {
75 return mInputs[slot];
/frameworks/rs/cpp/
H A DScript.cpp31 void Script::invoke(uint32_t slot, const void *v, size_t len) const { argument
32 rsScriptInvokeV(mRS->mContext, getID(), slot, v, len);
35 void Script::forEach(uint32_t slot, sp<const Allocation> ain, sp<const Allocation> aout, argument
42 rsScriptForEach(mRS->mContext, getID(), slot, in_id, out_id, usr, usrLen);
50 void Script::bindAllocation(sp<Allocation> va, uint32_t slot) const {
51 rsScriptBindAllocation(mRS->mContext, getID(), BaseObj::getObjID(va), slot);
H A DScript.h39 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 {
48 invoke(slot, NULL, 0);
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DScript.java38 KernelID(int id, RenderScript rs, Script s, int slot, int sig) { argument
41 mSlot = slot;
51 * @param slot
58 protected KernelID createKernelID(int slot, int sig, Element ein, Element eout) { argument
59 KernelID k = mKIDs.get(slot);
64 int id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig);
69 k = new KernelID(id, mRS, this, slot, sig);
70 mKIDs.put(slot, k);
85 FieldID(int id, RenderScript rs, Script s, int slot) { argument
88 mSlot = slot;
101 createFieldID(int slot, Element e) argument
123 invoke(int slot) argument
133 invoke(int slot, FieldPacker v) argument
149 forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) argument
181 bindAllocation(Allocation va, int slot) argument
[all...]
/frameworks/rs/driver/
H A DrsdVertexArray.cpp66 void RsdVertexArray::logAttrib(uint32_t idx, uint32_t slot) const {
70 ALOGV("va %i: slot=%i name=%s buf=%i ptr=%p size=%i type=0x%x stride=0x%x norm=%i offset=0x%x",
71 idx, slot,
100 int32_t slot = sc->vtxAttribSlot(mAttribs[ct].name); local
102 logAttrib(ct, slot);
104 if (slot < 0 || slot >= (int32_t)maxAttrs) {
107 glEnableVertexAttribArray(slot);
108 state->mAttrsEnabled[slot] = true;
110 glVertexAttribPointer(slot,
[all...]
H A DrsdBcc.h39 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, voi
[all...]
/frameworks/native/libs/gui/
H A DConsumerBase.cpp190 CB_LOGV("acquireBufferLocked: -> slot=%d", item->mBuf);
195 status_t ConsumerBase::addReleaseFence(int slot, const sp<Fence>& fence) { argument
197 return addReleaseFenceLocked(slot, fence);
200 status_t ConsumerBase::addReleaseFenceLocked(int slot, const sp<Fence>& fence) { argument
201 CB_LOGV("addReleaseFenceLocked: slot=%d", slot);
203 if (!mSlots[slot].mFence.get()) {
204 mSlots[slot].mFence = fence;
207 String8::format("%.28s:%d", mName.string(), slot),
208 mSlots[slot]
222 releaseBufferLocked(int slot, EGLDisplay display, EGLSyncKHR eglFence) argument
[all...]
/frameworks/native/libs/gui/tests/
H A DBufferQueue_test.cpp70 int slot; local
79 mBQ->dequeueBuffer(&slot, fence, 1, 1, 0,
81 ASSERT_EQ(OK, mBQ->requestBuffer(slot, &buf));
82 ASSERT_EQ(OK, mBQ->queueBuffer(slot, qbi, &qbo));
87 mBQ->dequeueBuffer(&slot, fence, 1, 1, 0,
89 ASSERT_EQ(OK, mBQ->requestBuffer(slot, &buf));
90 ASSERT_EQ(OK, mBQ->queueBuffer(slot, qbi, &qbo));
/frameworks/base/core/java/android/app/
H A DStatusBarManager.java146 public void setIcon(String slot, int iconId, int iconLevel, String contentDescription) { argument
150 svc.setIcon(slot, mContext.getPackageName(), iconId, iconLevel,
159 public void removeIcon(String slot) { argument
163 svc.removeIcon(slot);
171 public void setIconVisibility(String slot, boolean visible) { argument
175 svc.setIconVisibility(slot, visible);
/frameworks/base/core/java/com/android/internal/statusbar/
H A DIStatusBarService.aidl30 void setIcon(String slot, String iconPackage, int iconId, int iconLevel, String contentDescription);
31 void setIconVisibility(String slot, boolean visible);
32 void removeIcon(String slot);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListButtonsDiagonalAcrossItems.java52 final Slot slot = position == 0 ? Slot.Left :
55 parent.getContext(), desiredHeight, slot);

Completed in 2272 milliseconds

12345