Home
last modified time | relevance | path

Searched refs:bufferItem (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/gui/
DStreamSplitter.cpp126 IGraphicBufferConsumer::BufferItem bufferItem; in onFrameAvailable() local
127 status_t status = mInput->acquireBuffer(&bufferItem, /* presentWhen */ 0); in onFrameAvailable()
132 bufferItem.mGraphicBuffer->getId()); in onFrameAvailable()
134 status = mInput->detachBuffer(bufferItem.mBuf); in onFrameAvailable()
139 mBuffers.add(bufferItem.mGraphicBuffer->getId(), in onFrameAvailable()
140 new BufferTracker(bufferItem.mGraphicBuffer)); in onFrameAvailable()
143 bufferItem.mTimestamp, bufferItem.mIsAutoTimestamp, in onFrameAvailable()
144 bufferItem.mCrop, bufferItem.mScalingMode, in onFrameAvailable()
145 bufferItem.mTransform, bufferItem.mIsDroppable, in onFrameAvailable()
146 bufferItem.mFence); in onFrameAvailable()
[all …]
DBufferItem.cpp40 IGraphicBufferConsumer::BufferItem bufferItem; in operator IGraphicBufferConsumer::BufferItem() local
41 bufferItem.mGraphicBuffer = mGraphicBuffer; in operator IGraphicBufferConsumer::BufferItem()
42 bufferItem.mFence = mFence; in operator IGraphicBufferConsumer::BufferItem()
43 bufferItem.mCrop = mCrop; in operator IGraphicBufferConsumer::BufferItem()
44 bufferItem.mTransform = mTransform; in operator IGraphicBufferConsumer::BufferItem()
45 bufferItem.mScalingMode = mScalingMode; in operator IGraphicBufferConsumer::BufferItem()
46 bufferItem.mTimestamp = mTimestamp; in operator IGraphicBufferConsumer::BufferItem()
47 bufferItem.mIsAutoTimestamp = mIsAutoTimestamp; in operator IGraphicBufferConsumer::BufferItem()
48 bufferItem.mFrameNumber = mFrameNumber; in operator IGraphicBufferConsumer::BufferItem()
49 bufferItem.mBuf = mSlot; in operator IGraphicBufferConsumer::BufferItem()
[all …]
DBufferQueueConsumer.cpp102 const BufferItem& bufferItem(mCore->mQueue[1]); in acquireBuffer() local
103 nsecs_t desiredPresent = bufferItem.mTimestamp; in acquireBuffer()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3InputStream.cpp66 BufferItem bufferItem; in getInputBufferLocked() local
67 res = mConsumer->acquireBuffer(&bufferItem, /*waitForFence*/false); in getInputBufferLocked()
75 anb = bufferItem.mGraphicBuffer->getNativeBuffer(); in getInputBufferLocked()
77 fenceFd = bufferItem.mFence->dup(); in getInputBufferLocked()
85 mBuffersInFlight.push_back(bufferItem); in getInputBufferLocked()
104 BufferItem bufferItem; in returnBufferCheckedLocked() local
116 bufferItem = tmp; in returnBufferCheckedLocked()
146 res = mConsumer->releaseBuffer(bufferItem, releaseFence); in returnBufferCheckedLocked()
DCamera3ZslStream.cpp154 sp<PinnedBufferItem> bufferItem; in getInputBufferLocked() local
166 bufferItem = *it; in getInputBufferLocked()
170 anb = bufferItem->getBufferItem().mGraphicBuffer->getNativeBuffer(); in getInputBufferLocked()
172 fenceFd = bufferItem->getBufferItem().mFence->dup(); in getInputBufferLocked()
181 mBuffersInFlight.push_back(bufferItem); in getInputBufferLocked()
205 sp<PinnedBufferItem> bufferItem; in returnBufferCheckedLocked() local
218 bufferItem = tmp; in returnBufferCheckedLocked()
250 bufferItem->getBufferItem().mFence = releaseFence; in returnBufferCheckedLocked()
251 bufferItem.clear(); // dropping last reference unpins buffer in returnBufferCheckedLocked()