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()
116 const BufferSlot& slot(mSlots[s]); in dump()117 if (slot.mBufferState != BufferSlot::FREE || in dump()125 const BufferSlot& slot(mSlots[s]); in dump()128 (slot.mBufferState == BufferSlot::ACQUIRED) ? ">" : " ", in dump()130 BufferSlot::bufferStateName(slot.mBufferState)); in dump()174 BufferSlot::BufferState state = mSlots[s].mBufferState; in getMaxBufferCountLocked()175 if (state == BufferSlot::QUEUED || state == BufferSlot::DEQUEUED) { in getMaxBufferCountLocked()203 if (mSlots[slot].mBufferState == BufferSlot::ACQUIRED) { in freeBufferLocked()206 if (mSlots[slot].mBufferState != BufferSlot::FREE) { in freeBufferLocked()214 mSlots[slot].mBufferState = BufferSlot::FREE; in freeBufferLocked()[all …]
53 if (mSlots[s].mBufferState == BufferSlot::ACQUIRED) { in acquireBuffer()133 mSlots[front->mSlot].mBufferState = BufferSlot::FREE; in acquireBuffer()175 mSlots[slot].mBufferState = BufferSlot::ACQUIRED; in acquireBuffer()222 } else if (mSlots[slot].mBufferState != BufferSlot::ACQUIRED) { in detachBuffer()252 if (mSlots[s].mBufferState == BufferSlot::ACQUIRED) { in attachBuffer()291 mSlots[*outSlot].mBufferState = BufferSlot::ACQUIRED; in attachBuffer()353 if (mSlots[slot].mBufferState == BufferSlot::ACQUIRED) { in releaseBuffer()357 mSlots[slot].mBufferState = BufferSlot::FREE; in releaseBuffer()
64 } else if (mSlots[slot].mBufferState != BufferSlot::DEQUEUED) { in requestBuffer()97 if (mSlots[s].mBufferState == BufferSlot::DEQUEUED) { in setBufferCount()157 assert(mSlots[s].mBufferState == BufferSlot::FREE); in waitForFreeSlotThenRelock()168 case BufferSlot::DEQUEUED: in waitForFreeSlotThenRelock()171 case BufferSlot::ACQUIRED: in waitForFreeSlotThenRelock()328 mSlots[found].mBufferState = BufferSlot::DEQUEUED; in dequeueBuffer()433 } else if (mSlots[slot].mBufferState != BufferSlot::DEQUEUED) { in detachBuffer()532 mSlots[*outSlot].mBufferState = BufferSlot::DEQUEUED; in attachBuffer()604 } else if (mSlots[slot].mBufferState != BufferSlot::DEQUEUED) { in queueBuffer()636 mSlots[slot].mBufferState = BufferSlot::QUEUED; in queueBuffer()[all …]
49 BufferSlot.cpp \
32 struct BufferSlot { struct34 BufferSlot() in BufferSlot() function36 mBufferState(BufferSlot::FREE), in BufferSlot()
31 typedef BufferSlot SlotsType[NUM_BUFFER_SLOTS];
202 struct BufferSlot { struct219 BufferSlot mSlots[NUM_BUFFER_SLOTS]; argument
25 class BufferSlot; variable