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

12345

/frameworks/rs/
H A DrsScript.cpp44 void Script::setSlot(uint32_t slot, Allocation *a) { argument
45 //ALOGE("setSlot %i %p", slot, a);
46 if (slot >= mHal.info.exportedVariableCount) {
47 ALOGE("Script::setSlot unable to set allocation, invalid slot index");
51 mSlots[slot].set(a);
53 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a);
56 void Script::setVar(uint32_t slot, const void *val, size_t len) { argument
57 //ALOGE("setVar %i %p %i", slot, val, len);
58 if (slot >= mHal.info.exportedVariableCount) {
59 ALOGE("Script::setVar unable to set allocation, invalid slot inde
65 getVar(uint32_t slot, const void *val, size_t len) argument
75 setVar(uint32_t slot, const void *val, size_t len, Element *e, const uint32_t *dims, size_t dimLen) argument
86 setVarObj(uint32_t slot, ObjectBase *val) argument
111 ScriptKernelID(Context *rsc, Script *s, int slot, int sig) argument
132 ScriptFieldID(Context *rsc, Script *s, int slot) argument
153 rsi_ScriptKernelIDCreate(Context *rsc, RsScript vs, int slot, int sig) argument
159 rsi_ScriptFieldIDCreate(Context *rsc, RsScript vs, int slot) argument
165 rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) argument
190 rsi_ScriptForEach(Context *rsc, RsScript vs, uint32_t slot, RsAllocation vain, RsAllocation vaout, const void *params, size_t paramLen, const RsScriptCall *sc, size_t scLen) argument
208 rsi_ScriptForEachMulti(Context *rsc, RsScript vs, uint32_t slot, RsAllocation *vains, size_t inLen, RsAllocation vaout, const void *params, size_t paramLen, const RsScriptCall *sc, size_t scLen) argument
230 rsi_ScriptInvoke(Context *rsc, RsScript vs, uint32_t slot) argument
236 rsi_ScriptInvokeData(Context *rsc, RsScript vs, uint32_t slot, void *data) argument
241 rsi_ScriptInvokeV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) argument
246 rsi_ScriptSetVarI(Context *rsc, RsScript vs, uint32_t slot, int value) argument
251 rsi_ScriptSetVarObj(Context *rsc, RsScript vs, uint32_t slot, RsObjectBase value) argument
257 rsi_ScriptSetVarJ(Context *rsc, RsScript vs, uint32_t slot, int64_t value) argument
262 rsi_ScriptSetVarF(Context *rsc, RsScript vs, uint32_t slot, float value) argument
267 rsi_ScriptSetVarD(Context *rsc, RsScript vs, uint32_t slot, double value) argument
272 rsi_ScriptSetVarV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) argument
277 rsi_ScriptGetVarV(Context *rsc, RsScript vs, uint32_t slot, void *data, size_t len) argument
282 rsi_ScriptSetVarVE(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len, RsElement ve, const uint32_t *dims, size_t dimLen) argument
[all...]
H A DrsProgram.cpp152 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { argument
154 if (slot >= mHal.state.constantsCount) {
155 ALOGE("Attempt to bind alloc at slot %u, on shader id %" PRIuPTR ", but const count is %u",
156 slot, (uintptr_t)this, mHal.state.constantsCount);
160 if (alloc->getType() != mConstantTypes[slot].get()) {
161 ALOGE("Attempt to bind alloc at slot %u, on shader id %" PRIuPTR ", but types mismatch",
162 slot, (uintptr_t)this);
167 if (mConstants[slot].get() == alloc) {
170 if (mConstants[slot].get()) {
171 mConstants[slot]
181 bindTexture(Context *rsc, uint32_t slot, Allocation *a) argument
200 bindSampler(Context *rsc, uint32_t slot, Sampler *s) argument
215 rsi_ProgramBindConstants(Context *rsc, RsProgram vp, uint32_t slot, RsAllocation constants) argument
220 rsi_ProgramBindTexture(Context *rsc, RsProgram vpf, uint32_t slot, RsAllocation a) argument
225 rsi_ProgramBindSampler(Context *rsc, RsProgram vpf, uint32_t slot, RsSampler s) argument
[all...]
H A DrsScript.h37 ScriptKernelID(Context *rsc, Script *s, int slot, int sig);
51 ScriptFieldID(Context *rsc, Script *s, int slot);
102 void setSlot(uint32_t slot, Allocation *a);
103 void setVar(uint32_t slot, const void *val, size_t len);
104 void getVar(uint32_t slot, const void *val, size_t len);
105 void setVar(uint32_t slot, const void *val, size_t len, Element *e,
107 void setVarObj(uint32_t slot, ObjectBase *val);
112 uint32_t slot,
120 uint32_t slot,
128 virtual void Invoke(Context *rsc, uint32_t slot, cons
[all...]
H A DrsScriptIntrinsic.cpp60 uint32_t slot,
67 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
71 uint32_t slot,
79 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, aout, usr, usrBytes, sc);
82 void ScriptIntrinsic::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { argument
59 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
70 runForEach(Context* rsc, uint32_t slot, const Allocation** ains, size_t inLen, Allocation* aout, const void* usr, size_t usrBytes, const RsScriptCall* sc) argument
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsic.cpp34 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 DrsCpuIntrinsic.h31 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 DrsCpuScript.h65 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...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScript.java46 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 DScriptCThunker.java43 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/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/rs/java/android/renderscript/
H A DProgram.java94 * @param slot index of the constant input type to return
97 public Type getConstant(int slot) { argument
98 if (slot < 0 || slot >= mConstants.length) {
101 return mConstants[slot];
113 * Returns the type of texture at a given slot. e.g. 2D or Cube
114 * @param slot index of the texture input
117 public TextureType getTextureType(int slot) { argument
118 if ((slot < 0) || (slot >
130 getTextureName(int slot) argument
145 bindConstants(Allocation a, int slot) argument
164 bindTexture(Allocation va, int slot) argument
188 bindSampler(Sampler vs, int slot) argument
[all...]
H A DScript.java39 KernelID(long id, RenderScript rs, Script s, int slot, int sig) { argument
42 mSlot = slot;
51 protected KernelID createKernelID(int slot, int sig, Element ein, Element eout) { argument
52 KernelID k = mKIDs.get(slot);
57 long id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig);
62 k = new KernelID(id, mRS, this, slot, sig);
63 mKIDs.put(slot, k);
78 FieldID(long id, RenderScript rs, Script s, int slot) { argument
81 mSlot = slot;
89 protected FieldID createFieldID(int slot, Elemen argument
110 invoke(int slot) argument
118 invoke(int slot, FieldPacker v) argument
130 forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) argument
157 forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) argument
190 forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v) argument
199 forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v, LaunchOptions sc) argument
242 bindAllocation(Allocation va, int slot) argument
[all...]
H A DRenderScript.java269 native void rsnContextBindSampler(long con, int sampler, int slot); argument
270 synchronized void nContextBindSampler(int sampler, int slot) { argument
272 rsnContextBindSampler(mContext, sampler, slot);
593 native void rsnScriptBindAllocation(long con, long script, long alloc, int slot); argument
594 synchronized void nScriptBindAllocation(long script, long alloc, int slot) { argument
596 rsnScriptBindAllocation(mContext, script, alloc, slot);
603 native void rsnScriptInvoke(long con, long id, int slot); argument
604 synchronized void nScriptInvoke(long id, int slot) { argument
606 rsnScriptInvoke(mContext, id, slot);
608 native void rsnScriptForEach(long con, long id, int slot, lon argument
609 rsnScriptForEach(long con, long id, int slot, long ain, long aout) argument
610 rsnScriptForEachClipped(long con, long id, int slot, long ain, long aout, byte[] params, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument
612 rsnScriptForEachClipped(long con, long id, int slot, long ain, long aout, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument
614 nScriptForEach(long id, int slot, long ain, long aout, byte[] params) argument
623 nScriptForEachClipped(long id, int slot, long ain, long aout, byte[] params, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument
639 rsnScriptForEachMultiClipped(long con, long id, int slot, long[] ains, long aout, byte[] params, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument
642 rsnScriptForEachMultiClipped(long con, long id, int slot, long[] ains, long aout, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument
646 nScriptForEachMultiClipped(long id, int slot, long[] ains, long aout, byte[] params, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument
656 rsnScriptInvokeV(long con, long id, int slot, byte[] params) argument
657 nScriptInvokeV(long id, int slot, byte[] params) argument
662 rsnScriptSetVarI(long con, long id, int slot, int val) argument
663 nScriptSetVarI(long id, int slot, int val) argument
667 rsnScriptGetVarI(long con, long id, int slot) argument
668 nScriptGetVarI(long id, int slot) argument
673 rsnScriptSetVarJ(long con, long id, int slot, long val) argument
674 nScriptSetVarJ(long id, int slot, long val) argument
678 rsnScriptGetVarJ(long con, long id, int slot) argument
679 nScriptGetVarJ(long id, int slot) argument
684 rsnScriptSetVarF(long con, long id, int slot, float val) argument
685 nScriptSetVarF(long id, int slot, float val) argument
689 rsnScriptGetVarF(long con, long id, int slot) argument
690 nScriptGetVarF(long id, int slot) argument
694 rsnScriptSetVarD(long con, long id, int slot, double val) argument
695 nScriptSetVarD(long id, int slot, double val) argument
699 rsnScriptGetVarD(long con, long id, int slot) argument
700 nScriptGetVarD(long id, int slot) argument
704 rsnScriptSetVarV(long con, long id, int slot, byte[] val) argument
705 nScriptSetVarV(long id, int slot, byte[] val) argument
709 rsnScriptGetVarV(long con, long id, int slot, byte[] val) argument
710 nScriptGetVarV(long id, int slot, byte[] val) argument
714 rsnScriptSetVarVE(long con, long id, int slot, byte[] val, long e, int[] dims) argument
716 nScriptSetVarVE(long id, int slot, byte[] val, long e, int[] dims) argument
721 rsnScriptSetVarObj(long con, long id, int slot, long val) argument
722 nScriptSetVarObj(long id, int slot, long val) argument
740 rsnScriptKernelIDCreate(long con, long sid, int slot, int sig) argument
741 nScriptKernelIDCreate(long sid, int slot, int sig) argument
746 rsnScriptFieldIDCreate(long con, long sid, int slot) argument
747 nScriptFieldIDCreate(long sid, int slot) argument
801 rsnProgramBindConstants(long con, long pv, int slot, long mID) argument
802 nProgramBindConstants(long pv, int slot, long mID) argument
806 rsnProgramBindTexture(long con, long vpf, int slot, long a) argument
807 nProgramBindTexture(long vpf, int slot, long a) argument
811 rsnProgramBindSampler(long con, long vpf, int slot, long s) argument
812 nProgramBindSampler(long vpf, int slot, long s) argument
[all...]
/frameworks/native/libs/gui/
H A DBufferQueueCore.cpp107 const BufferSlot& slot(mSlots[s]);
108 if (slot.mBufferState != BufferSlot::FREE ||
109 slot.mGraphicBuffer != NULL) {
116 const BufferSlot& slot(mSlots[s]);
117 const sp<GraphicBuffer>& buffer(slot.mGraphicBuffer);
119 (slot.mBufferState == BufferSlot::ACQUIRED) ? ">" : " ",
121 BufferSlot::bufferStateName(slot.mBufferState));
190 void BufferQueueCore::freeBufferLocked(int slot) { argument
191 BQ_LOGV("freeBufferLocked: slot %d", slot);
216 const BufferSlot& slot = mSlots[item->mSlot]; local
[all...]
H A DConsumerBase.cpp196 CB_LOGV("acquireBufferLocked: -> slot=%d/%" PRIu64,
202 status_t ConsumerBase::addReleaseFence(int slot, argument
205 return addReleaseFenceLocked(slot, graphicBuffer, fence);
208 status_t ConsumerBase::addReleaseFenceLocked(int slot, argument
210 CB_LOGV("addReleaseFenceLocked: slot=%d", slot);
214 if (!stillTracking(slot, graphicBuffer)) {
218 if (!mSlots[slot].mFence.get()) {
219 mSlots[slot].mFence = fence;
222 String8::format("%.28s:%d", mName.string(), slot),
237 releaseBufferLocked( int slot, const sp<GraphicBuffer> graphicBuffer, EGLDisplay display, EGLSyncKHR eglFence) argument
260 stillTracking(int slot, const sp<GraphicBuffer> graphicBuffer) argument
[all...]
H A DBufferQueueConsumer.cpp121 // Front buffer is still in mSlots, so mark the slot as free
146 int slot = front->mSlot; local
148 ATRACE_BUFFER_INDEX(slot);
150 BQ_LOGV("acquireBuffer: acquiring { slot=%d/%" PRIu64 " buffer=%p }",
151 slot, front->mFrameNumber, front->mGraphicBuffer->handle);
152 // If the front buffer is still being tracked, update its slot state
154 mSlots[slot].mAcquireCalled = true;
155 mSlots[slot].mNeedsCleanupOnRelease = false;
156 mSlots[slot].mBufferState = BufferSlot::ACQUIRED;
157 mSlots[slot]
179 detachBuffer(int slot) argument
277 releaseBuffer(int slot, uint64_t frameNumber, const sp<Fence>& releaseFence, EGLDisplay eglDisplay, EGLSyncKHR eglFence) argument
[all...]
H A DBufferQueueProducer.cpp50 status_t BufferQueueProducer::requestBuffer(int slot, sp<GraphicBuffer>* buf) { argument
52 BQ_LOGV("requestBuffer: slot %d", slot);
60 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) {
61 BQ_LOGE("requestBuffer: slot index %d out of range [0, %d)",
62 slot, BufferQueueDefs::NUM_BUFFER_SLOTS);
64 } else if (mSlots[slot].mBufferState != BufferSlot::DEQUEUED) {
65 BQ_LOGE("requestBuffer: slot %d is not owned by the producer "
66 "(state = %d)", slot, mSlot
390 detachBuffer(int slot) argument
512 queueBuffer(int slot, const QueueBufferInput &input, QueueBufferOutput *output) argument
693 cancelBuffer(int slot, const sp<Fence>& fence) argument
985 int slot = freeSlots[i]; local
[all...]
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp55 status_t MonitoredProducer::requestBuffer(int slot, sp<GraphicBuffer>* buf) { argument
56 return mProducer->requestBuffer(slot, buf);
63 status_t MonitoredProducer::dequeueBuffer(int* slot, sp<Fence>* fence, argument
65 return mProducer->dequeueBuffer(slot, fence, async, w, h, format, usage);
68 status_t MonitoredProducer::detachBuffer(int slot) { argument
69 return mProducer->detachBuffer(slot);
82 status_t MonitoredProducer::queueBuffer(int slot, const QueueBufferInput& input, argument
84 return mProducer->queueBuffer(slot, input, output);
87 void MonitoredProducer::cancelBuffer(int slot, const sp<Fence>& fence) { argument
88 mProducer->cancelBuffer(slot, fenc
[all...]
H A DMonitoredProducer.h37 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf);
39 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, bool async,
41 virtual status_t detachBuffer(int slot);
46 virtual status_t queueBuffer(int slot, const QueueBufferInput& input,
48 virtual void cancelBuffer(int slot, const sp<Fence>& fence);
/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%p",
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.cpp69 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 DrsdBcc.h33 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...]
/frameworks/rs/cpp/
H A DScript.cpp25 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));
/frameworks/native/libs/gui/tests/
H A DBufferQueue_test.cpp113 int slot; local
117 mProducer->dequeueBuffer(&slot, &fence, false, 0, 0, 0,
119 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buffer));
129 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output));
150 int slot; local
159 mProducer->dequeueBuffer(&slot, &fence, false, 1, 1, 0,
161 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buf));
162 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo));
167 mProducer->dequeueBuffer(&slot, &fence, false, 1, 1, 0,
169 ASSERT_EQ(OK, mProducer->requestBuffer(slot,
221 int slot; local
269 int slot; local
327 int slot; local
[all...]
/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 430 milliseconds

12345