Home
last modified time | relevance | path

Searched refs:mSlot (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/native/libs/gui/include/gui/
DCpuConsumer.h125 int mSlot; member
130 mSlot(BufferQueue::INVALID_BUFFER_SLOT), in AcquiredBuffer()
135 mSlot = BufferQueue::INVALID_BUFFER_SLOT; in reset()
DBufferItem.h98 int mSlot; variable
/frameworks/native/libs/gui/
DBufferItemConsumer.cpp83 item->mGraphicBuffer = mSlots[item->mSlot].mGraphicBuffer; in acquireBuffer()
94 err = addReleaseFenceLocked(item.mSlot, item.mGraphicBuffer, releaseFence); in releaseBuffer()
99 err = releaseBufferLocked(item.mSlot, item.mGraphicBuffer, EGL_NO_DISPLAY, in releaseBuffer()
DCpuConsumer.cpp177 b.mGraphicBuffer = mSlots[b.mSlot].mGraphicBuffer; in lockNextBuffer()
190 ab.mSlot = b.mSlot; in lockNextBuffer()
221 addReleaseFenceLocked(ab.mSlot, ab.mGraphicBuffer, fence); in unlockBuffer()
222 releaseBufferLocked(ab.mSlot, ab.mGraphicBuffer); in unlockBuffer()
DConsumerBase.cpp400 if (mSlots[item->mSlot].mGraphicBuffer != nullptr) { in acquireBufferLocked()
401 freeBufferLocked(item->mSlot); in acquireBufferLocked()
403 mSlots[item->mSlot].mGraphicBuffer = item->mGraphicBuffer; in acquireBufferLocked()
406 mSlots[item->mSlot].mFrameNumber = item->mFrameNumber; in acquireBufferLocked()
407 mSlots[item->mSlot].mFence = item->mFence; in acquireBufferLocked()
410 item->mSlot, item->mFrameNumber); in acquireBufferLocked()
DBufferQueueConsumer.cpp180 mSlots[front->mSlot].mBufferState.freeQueued(); in acquireBuffer()
186 mSlots[front->mSlot].mBufferState.isFree()) { in acquireBuffer()
187 mSlots[front->mSlot].mBufferState.mShared = false; in acquireBuffer()
191 if (!mSlots[front->mSlot].mBufferState.isShared()) { in acquireBuffer()
192 mCore->mActiveBuffers.erase(front->mSlot); in acquireBuffer()
193 mCore->mFreeBuffers.push_back(front->mSlot); in acquireBuffer()
250 outBuffer->mSlot = slot; in acquireBuffer()
264 slot = front->mSlot; in acquireBuffer()
592 mask &= ~(1ULL << current->mSlot); in getReleasedBuffers()
DBufferItem.cpp51 mSlot(INVALID_BUFFER_SLOT), in BufferItem()
81 addAligned(size, mSlot); in getPodSize()
175 writeAligned(buffer, size, mSlot); in flatten()
246 readAligned(buffer, size, mSlot); in unflatten()
/frameworks/av/media/codec2/hal/client/
DGraphicsTracker.cpp59 mInit{false}, mGeneration{generation}, mSlot{slot} { in BufferItem()
79 mInit{true}, mGeneration{generation}, mSlot{-1}, in BufferItem()
783 auto it = mBufferCache->mBuffers.find(buffer->mSlot); in requestDeallocate()
786 *slotId = buffer->mSlot; in requestDeallocate()
790 mBufferCache->blockSlot(buffer->mSlot); in requestDeallocate()
879 auto it = mBufferCache->mBuffers.find(buffer->mSlot); in requestRender()
881 mBufferCache->blockSlot(buffer->mSlot); in requestRender()
900 cache->unblockSlot(buffer->mSlot); in commitRender()
903 cache->mBuffers.emplace(buffer->mSlot, buffer); in commitRender()
944 int cacheSlotId = fromCache ? buffer->mSlot : -1; in render()
[all …]
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp411 ASSERT_EQ(OK, mConsumer->detachBuffer(item.mSlot)); in TEST_F()
412 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(item.mSlot)); // Not acquired in TEST_F()
471 ASSERT_EQ(OK, mConsumer->detachBuffer(item.mSlot)); in TEST_F()
606 ASSERT_EQ(sharedSlot, item.mSlot); in TEST_F()
611 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
650 ASSERT_EQ(sharedSlot, item.mSlot); in TEST_F()
655 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
675 ASSERT_EQ(sharedSlot, item.mSlot); in TEST_F()
686 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
732 ASSERT_EQ(sharedSlot, item.mSlot); in TEST_F()
[all …]
DBufferItemConsumer_test.cpp107 ALOGD("acquireBuffer: slot=%d", buffer.mSlot); in AcquireBuffer()
108 *outSlot = buffer.mSlot; in AcquireBuffer()
114 buffer.mSlot = slot; in ReleaseBuffer()
DStreamSplitter_test.cpp98 ASSERT_EQ(OK, outputConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
171 ASSERT_EQ(OK, outputConsumers[output]->releaseBuffer(item.mSlot, in TEST_F()
/frameworks/base/rs/java/android/renderscript/
DScript.java43 int mSlot; field in Script.KernelID
48 mSlot = slot; in KernelID()
84 int mSlot; field in Script.InvokeID
88 mSlot = slot; in InvokeID()
122 int mSlot; field in Script.FieldID
126 mSlot = slot; in FieldID()
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup.cpp146 s->setVarObj(n->mInputs[ct2]->mDstField->mSlot, n->mInputs[ct2]->mAlloc.get()); in execute()
210 uint32_t slot = kernels[ct]->mSlot; in execute()
262 si->forEachKernelSetup(kernels[ct]->mSlot, &mtls); in execute()
266 si->preLaunch(kernels[ct]->mSlot, ains, inLen, outs[ct], in execute()
290 si->postLaunch(kernels[ct]->mSlot, ains, inLen, outs[ct], nullptr, 0, in execute()
DrsCpuScriptGroup2.cpp173 si->forEachKernelSetup(funcID->mSlot, &mtls); in CpuScriptGroup2Impl()
326 ss << index << "," << funcID->mSlot << "."; in generateSourceSlot()
601 int slot = p.first->mSlot; in setGlobalsForBatch()
639 cc->mSi->invokeFunction(invokeID->mSlot, c->mParams, c->mParamLength); in run()
673 cpuClosure->mSi->preLaunch(kernelID->mSlot, in run()
699 cpuClosure->mSi->postLaunch(kernelID->mSlot, in run()
/frameworks/rs/support/java/src/androidx/renderscript/
DScript.java73 int mSlot; field in Script.KernelID
78 mSlot = slot; in KernelID()
122 int mSlot; field in Script.InvokeID
126 mSlot = slot; in InvokeID()
161 int mSlot; field in Script.FieldID
165 mSlot = slot; in FieldID()
/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.cpp233 err = addReleaseFenceLocked(item.mSlot, in releaseOldestBufferLocked()
248 err = releaseBufferLocked(item.mSlot, item.mGraphicBuffer, in releaseOldestBufferLocked()
320 item.mGraphicBuffer = mSlots[item.mSlot].mGraphicBuffer; in onFrameAvailable()
337 status_t res = addReleaseFenceLocked(item.mSlot, in unpinBuffer()
DRingBufferConsumer.h132 return mBufferItem.mSlot == BufferQueue::INVALID_BUFFER_SLOT; in isEmpty()
/frameworks/av/media/libstagefright/
DFrameCaptureLayer.cpp229 mSlotToBufferMap[bi->mSlot] = bi->mGraphicBuffer; in acquireBuffer()
231 bi->mGraphicBuffer = mSlotToBufferMap[bi->mSlot]; in acquireBuffer()
245 return mConsumer->releaseBuffer(bi.mSlot, bi.mFrameNumber, in releaseBuffer()
/frameworks/base/libs/hostgraphics/gui/
DBufferItem.h58 int mSlot; variable
/frameworks/rs/
DrsScript.h39 ObjectBase(rsc), mScript(s), mSlot(slot) {} in IDBase()
46 int mSlot; variable
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp117 item.mSlot != mCurrentBufferSlot) { in advanceFrame()
122 mCurrentBufferSlot = item.mSlot; in advanceFrame()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java150 @ViewDebug.ExportedProperty private String mSlot; field in StatusBarIconView
203 mSlot = slot; in StatusBarIconView()
461 Log.w(TAG, "OOM while inflating " + mIcon.icon + " for slot " + mSlot); in updateDrawable()
468 Log.w(TAG, "No icon for slot " + mSlot + "; " + mIcon.icon); in updateDrawable()
639 Log.d("View", debugIndent(depth) + "slot=" + mSlot); in debug()
679 + "slot='" + mSlot + "' alpha=" + getAlpha() + " icon=" + mIcon in toString()
694 return mSlot; in getSlot()
/frameworks/av/media/module/bqhelper/
DGraphicBufferSource.cpp99 mSlot(slot), in CachedBuffer()
111 return mIsCached ? mSlot : -1; in getSlot()
155 slot_id mSlot; member
967 ssize_t bsi = mBufferSlots.indexOfKey(bi.mSlot); in acquireBuffer_l()
970 ALOGV("acquireBuffer_l: %s buffer slot %d", bsi < 0 ? "setting" : "UPDATING", bi.mSlot); in acquireBuffer_l()
974 bsi = mBufferSlots.add(bi.mSlot, nullptr); in acquireBuffer_l()
976 buffer = std::make_shared<CachedBuffer>(bi.mSlot, bi.mGraphicBuffer); in acquireBuffer_l()
/frameworks/base/libs/hostgraphics/
DHostBufferQueue.cpp61 buffer->mSlot = 0; in acquireBuffer()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp516 mInputSlots[bufferItem.mSlot] = bufferItem; in onFrameAvailable()
518 bufferItem.mGraphicBuffer = mInputSlots[bufferItem.mSlot].mGraphicBuffer; in onFrameAvailable()
519 mInputSlots[bufferItem.mSlot].mFrameNumber = bufferItem.mFrameNumber; in onFrameAvailable()
536 bufferItem.mGraphicBuffer->getId(), bufferItem.mSlot); in onFrameAvailable()
598 consumerSlot = inputSlot->second.mSlot; in decrementBufRefCountLocked()

12