/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposerBufferCache.cpp | 28 void HWComposerBufferCache::getHwcBuffer(int slot, argument 32 if (slot == BufferQueue::INVALID_BUFFER_SLOT || slot < 0) { 33 // default to slot 0 34 slot = 0; 37 if (static_cast<size_t>(slot) >= mBuffers.size()) { 38 mBuffers.resize(slot + 1); 41 *outSlot = slot; 43 if (mBuffers[slot] == buffer) { 50 mBuffers[slot] [all...] |
H A D | FramebufferSurface.cpp | 94 uint32_t slot = 0; local 98 status_t result = nextBuffer(slot, buf, acquireFence, dataspace); 124 // then we may have acquired the slot we already own. If we had released 127 // freeBufferLocked on that slot. Because the buffer slot has already
|
/frameworks/native/libs/vr/libdvr/ |
H A D | dvr_internal.h | 37 // The slot nubmer of the buffer, a valid slot number must be in the range of 40 int32_t slot = -1; member in struct:DvrWriteBuffer 46 // The slot nubmer of the buffer, a valid slot number must be in the range of 49 int32_t slot = -1; member in struct:DvrReadBuffer
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | ProgramVertex.java | 66 * @param slot location of the input to return 69 public Element getInput(int slot) { argument 70 if (slot < 0 || slot >= mInputs.length) { 73 return mInputs[slot];
|
H A D | ProgramFragmentFixedFunction.java | 247 * @param slot index of the texture to apply the operations on 251 public Builder setTexture(EnvMode env, Format fmt, int slot) argument 253 if((slot < 0) || (slot >= MAX_TEXTURE)) { 256 mSlots[slot] = new Slot(env, fmt);
|
/frameworks/native/libs/vr/libvrflinger/ |
H A D | acquired_buffer.h | 24 pdx::LocalHandle acquire_fence, std::size_t slot = 0); 69 // Returns the slot in the queue this buffer belongs to. Buffers that are not 71 std::size_t slot() const { return slot_; } function in class:android::dvr::AcquiredBuffer
|
H A D | acquired_buffer.cpp | 12 LocalHandle acquire_fence, std::size_t slot) 13 : buffer_(buffer), acquire_fence_(std::move(acquire_fence)), slot_(slot) {} 11 AcquiredBuffer(const std::shared_ptr<BufferConsumer>& buffer, LocalHandle acquire_fence, std::size_t slot) argument
|
/frameworks/rs/ |
H A D | rsFBOCache.cpp | 46 void FBOCache::bindColorTarget(Context *rsc, Allocation *a, uint32_t slot) { argument 47 if (slot >= mHal.state.colorTargetsCount) { 57 mColorTargets[slot].set(a); 58 mHal.state.colorTargets[slot] = a;
|
/frameworks/rs/rsov/compiler/ |
H A D | Context.cpp | 53 // Builds the lookup table from a variable name to its slot number 54 for (size_t slot = 0; slot < varCount; slot++) { 55 std::string varName(varNames[slot]); 56 mVarNameToSlot.insert(std::make_pair(varName, (uint32_t)slot)); 61 for (size_t slot = 0; slot < kernelCount; slot++) { 62 mForEachNameToSlot.insert(std::make_pair(kernelNames[slot], slo 72 const uint32_t slot = getSlotForExportVar(varName); local [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | Malicious.cpp | 33 status_t requestBuffer(int slot, sp<GraphicBuffer>* buf) override { 34 return mProducer->requestBuffer(slot, buf); 40 status_t dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h, PixelFormat format, 43 return mProducer->dequeueBuffer(slot, fence, w, h, format, usage, outBufferAge, 46 status_t detachBuffer(int slot) override { return mProducer->detachBuffer(slot); } 53 status_t queueBuffer(int slot, const QueueBufferInput& input, 55 return mProducer->queueBuffer(slot, input, output); 57 status_t cancelBuffer(int slot, const sp<Fence>& fence) override { 58 return mProducer->cancelBuffer(slot, fenc 109 setExpectedSlot(int32_t slot) argument [all...] |
H A D | StreamSplitter_test.cpp | 81 int slot; local 85 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 87 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer)); 98 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); 119 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 153 int slot; local 157 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 159 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer)); 170 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); 194 inputProducer->dequeueBuffer(&slot, 217 int slot; local [all...] |
H A D | BufferItemConsumer_test.cpp | 77 int slot; local 79 status_t ret = mProducer->dequeueBuffer(&slot, &outFence, kWidth, kHeight, 0, 0, 83 ALOGV("dequeueBuffer: slot=%d", slot); 85 ret = mProducer->requestBuffer(slot, &mBuffers[slot]); 88 *outSlot = slot; 91 void QueueBuffer(int slot) { argument 92 ALOGV("enqueueBuffer: slot=%d", slot); 111 ReleaseBuffer(int slot) argument 133 int slot; local 151 int slot; local 174 int slot; local 191 int slot; local [all...] |
/frameworks/rs/cpp/ |
H A D | Script.cpp | 24 void Script::invoke(uint32_t slot, const void *v, size_t len) const { argument 25 tryDispatch(mRS, RS::dispatch->ScriptInvokeV(mRS->getContext(), getID(), slot, v, len)); 28 void Script::forEach(uint32_t slot, const sp<const Allocation>& ain, const sp<const Allocation>& aout, argument 35 tryDispatch(mRS, RS::dispatch->ScriptForEach(mRS->getContext(), getID(), slot, in_id, out_id, usr, usrLen, nullptr, 0)); 42 void Script::bindAllocation(const sp<Allocation>& va, uint32_t slot) const { 43 tryDispatch(mRS, RS::dispatch->ScriptBindAllocation(mRS->getContext(), getID(), BaseObj::getObjID(va), slot));
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_imdct_synth.cpp | 319 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/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarIconControllerTest.java | 118 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, argument 127 protected StatusBarWifiView addSignalIcon(int index, String slot, WifiIconState state) { argument 134 protected StatusBarMobileView addMobileIcon(int index, String slot, MobileIconState state) { argument 153 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, argument 162 protected StatusBarWifiView addSignalIcon(int index, String slot, WifiIconState state) { argument 169 protected StatusBarMobileView addMobileIcon(int index, String slot, MobileIconState state) { argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
H A D | FakeStatusBarIconController.java | 44 public void setExternalIcon(String slot) { argument 49 public void setIcon(String slot, int resourceId, CharSequence contentDescription) { argument 54 public void setIcon(String slot, StatusBarIcon icon) { argument 59 public void setSignalIcon(String slot, WifiIconState state) { argument 63 public void setMobileIcons(String slot, List<MobileIconState> states) { argument 71 public void removeIcon(String slot, int tag) { argument 75 public void removeAllIconsForSlot(String slot) { argument
|
/frameworks/native/services/vr/bufferhubd/ |
H A D | consumer_queue_channel.cpp | 85 const std::shared_ptr<ProducerChannel>& producer_channel, size_t slot) { 88 "slot=%zu silent=%d", 89 buffer_id(), producer_channel->buffer_id(), slot, silent_); 92 pending_buffer_slots_.emplace(producer_channel, slot); 84 RegisterNewBuffer( const std::shared_ptr<ProducerChannel>& producer_channel, size_t slot) argument
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCoreRuntime.h | 62 uint32_t slot; member in struct:RsExpandKernelDriverInfo
|
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 ** ains, argument 82 void RsdCpuScriptIntrinsic::postLaunch(uint32_t slot, const Allocation ** ains, argument 88 void RsdCpuScriptIntrinsic::invokeForEach(uint32_t slot, argument 98 preLaunch(slot, ains, inLen, aout, usr, usrLen, sc); 102 mtls.fep.slot 115 forEachKernelSetup(uint32_t slot, MTLaunchStructForEach *mtls) argument [all...] |
H A D | rsCpuIntrinsicLUT.cpp | 30 void setGlobalObj(uint32_t slot, ObjectBase *data) override; 44 void RsdCpuScriptIntrinsicLUT::setGlobalObj(uint32_t slot, ObjectBase *data) { argument 45 rsAssert(slot == 0);
|
/frameworks/rs/driver/ |
H A D | rsdVertexArray.cpp | 65 void RsdVertexArray::logAttrib(uint32_t idx, uint32_t slot) const { 69 ALOGV("va %i: slot=%i name=%s buf=%i ptr=%p size=%i type=0x%x stride=0x%x norm=%i offset=0x%p", 70 idx, slot, 99 int32_t slot = sc->vtxAttribSlot(mAttribs[ct].name); local 101 logAttrib(ct, slot); 103 if (slot < 0 || slot >= (int32_t)maxAttrs) { 106 glEnableVertexAttribArray(slot); 107 state->mAttrsEnabled[slot] = true; 109 glVertexAttribPointer(slot, [all...] |
/frameworks/base/libs/hwui/ |
H A D | Program.cpp | 98 int slot = glGetAttribLocation(mProgramId, name); local 99 mAttributes.add(name, slot); 100 return slot; 118 int slot = glGetUniformLocation(mProgramId, name); local 119 mUniforms.add(name, slot); 120 return slot;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | DemoStatusIcons.java | 167 private void updateSlot(String slot, String iconPkg, int iconId) { argument 179 if (slot.equals(v.getTag())) { 201 StatusBarIconView v = new StatusBarIconView(getContext(), slot, null, false); 202 v.setTag(slot); 211 StatusBarWifiView view = StatusBarWifiView.fromContext(mContext, state.slot); 240 StatusBarMobileView view = StatusBarMobileView.fromContext(mContext, state.slot);
|
/frameworks/native/libs/gui/ |
H A D | BufferQueueCore.cpp | 204 void BufferQueueCore::clearBufferSlotLocked(int slot) { argument 205 BQ_LOGV("clearBufferSlotLocked: slot %d", slot); 207 mSlots[slot].mGraphicBuffer.clear(); 208 mSlots[slot].mBufferState.reset(); 209 mSlots[slot].mRequestBufferCalled = false; 210 mSlots[slot].mFrameNumber = 0; 211 mSlots[slot].mAcquireCalled = false; 212 mSlots[slot].mNeedsReallocation = true; 215 if (mSlots[slot] 278 int slot = mUnusedSlots.back(); local 291 auto slot = mFreeSlots.begin(); local 296 int slot = mFreeBuffers.back(); local [all...] |
H A D | StreamSplitter.cpp | 154 int slot; local 155 status = (*output)->attachBuffer(&slot, bufferItem.mGraphicBuffer); 170 status = (*output)->queueBuffer(slot, queueInput, &queueOutput);
|