Searched refs:BufferSlot (Results 1 – 9 of 9) sorted by relevance
21 const char* BufferSlot::bufferStateName(BufferState state) { in bufferStateName()23 case BufferSlot::DEQUEUED: return "DEQUEUED"; in bufferStateName()24 case BufferSlot::QUEUED: return "QUEUED"; in bufferStateName()25 case BufferSlot::FREE: return "FREE"; in bufferStateName()26 case BufferSlot::ACQUIRED: return "ACQUIRED"; in bufferStateName()
107 const BufferSlot& slot(mSlots[s]); in dump()108 if (slot.mBufferState != BufferSlot::FREE || in dump()116 const BufferSlot& slot(mSlots[s]); in dump()119 (slot.mBufferState == BufferSlot::ACQUIRED) ? ">" : " ", in dump()121 BufferSlot::bufferStateName(slot.mBufferState)); in dump()165 BufferSlot::BufferState state = mSlots[s].mBufferState; in getMaxBufferCountLocked()166 if (state == BufferSlot::QUEUED || state == BufferSlot::DEQUEUED) { in getMaxBufferCountLocked()193 if (mSlots[slot].mBufferState == BufferSlot::ACQUIRED) { in freeBufferLocked()196 mSlots[slot].mBufferState = BufferSlot::FREE; in freeBufferLocked()216 const BufferSlot& slot = mSlots[item->mSlot]; in stillTracking()
59 } else if (mSlots[slot].mBufferState != BufferSlot::DEQUEUED) { in requestBuffer()92 if (mSlots[s].mBufferState == BufferSlot::DEQUEUED) { in setBufferCount()152 assert(mSlots[s].mBufferState == BufferSlot::FREE); in waitForFreeSlotThenRelock()165 case BufferSlot::DEQUEUED: in waitForFreeSlotThenRelock()168 case BufferSlot::ACQUIRED: in waitForFreeSlotThenRelock()171 case BufferSlot::FREE: in waitForFreeSlotThenRelock()303 mSlots[found].mBufferState = BufferSlot::DEQUEUED; in dequeueBuffer()400 } else if (mSlots[slot].mBufferState != BufferSlot::DEQUEUED) { in detachBuffer()439 if (mSlots[s].mBufferState == BufferSlot::FREE && in detachNextBuffer()499 mSlots[*outSlot].mBufferState = BufferSlot::DEQUEUED; in attachBuffer()[all …]
49 if (mSlots[s].mBufferState == BufferSlot::ACQUIRED) { in acquireBuffer()122 mSlots[front->mSlot].mBufferState = BufferSlot::FREE; in acquireBuffer()156 mSlots[slot].mBufferState = BufferSlot::ACQUIRED; in acquireBuffer()194 } else if (mSlots[slot].mBufferState != BufferSlot::ACQUIRED) { in detachBuffer()225 if (mSlots[s].mBufferState == BufferSlot::ACQUIRED) { in attachBuffer()227 } else if (mSlots[s].mBufferState == BufferSlot::FREE) { in attachBuffer()251 mSlots[*outSlot].mBufferState = BufferSlot::ACQUIRED; in attachBuffer()309 if (mSlots[slot].mBufferState == BufferSlot::ACQUIRED) { in releaseBuffer()313 mSlots[slot].mBufferState = BufferSlot::FREE; in releaseBuffer()
14 BufferSlot.cpp \
32 struct BufferSlot { struct34 BufferSlot() in BufferSlot() function36 mBufferState(BufferSlot::FREE), in BufferSlot()
31 typedef BufferSlot SlotsType[NUM_BUFFER_SLOTS];
185 struct BufferSlot { struct202 BufferSlot mSlots[NUM_BUFFER_SLOTS]; argument
25 class BufferSlot; variable