HomeSort by relevance Sort by last modified time
    Searched refs:bufferItem (Results 1 - 8 of 8) sorted by null

  /frameworks/native/libs/gui/
StreamSplitter.cpp 23 #include <gui/BufferItem.h>
102 void StreamSplitter::onFrameAvailable(const BufferItem& /* item */) {
127 BufferItem bufferItem;
128 status_t status = mInput->acquireBuffer(&bufferItem, /* presentWhen */ 0);
133 bufferItem.mGraphicBuffer->getId());
135 status = mInput->detachBuffer(bufferItem.mSlot);
140 mBuffers.add(bufferItem.mGraphicBuffer->getId(),
141 new BufferTracker(bufferItem.mGraphicBuffer));
144 bufferItem.mTimestamp, bufferItem.mIsAutoTimestamp
    [all...]
BufferQueueConsumer.cpp 29 #include <gui/BufferItem.h>
48 status_t BufferQueueConsumer::acquireBuffer(BufferItem* outBuffer,
112 const BufferItem& bufferItem(mCore->mQueue[1]);
116 if (maxFrameNumber && bufferItem.mFrameNumber > maxFrameNumber) {
129 nsecs_t desiredPresent = bufferItem.mTimestamp;
204 // Recreate the BufferItem for the shared buffer from the data that
237 // Don't decrease the queue count if the BufferItem wasn't
239 // the queue is empty and the BufferItem is created above.
  /frameworks/av/media/libstagefright/
MediaSync.cpp 349 BufferItem *bufferItem = &*mBufferItems.begin();
350 returnBufferToInput_l(bufferItem->mGraphicBuffer, bufferItem->mFence);
555 BufferItem *bufferItem = &*mBufferItems.begin();
556 int64_t itemMediaUs = bufferItem->mTimestamp / 1000;
566 (long long)bufferItem->mTimestamp / 1000, (long long)itemRealUs);
567 bufferItem->mTimestamp = itemRealUs * 1000;
568 bufferItem->mIsAutoTimestamp = false
    [all...]
  /frameworks/av/services/camera/libcameraservice/device3/
Camera3ZslStream.cpp 155 sp<PinnedBufferItem> bufferItem;
167 bufferItem = *it;
171 anb = bufferItem->getBufferItem().mGraphicBuffer->getNativeBuffer();
173 fenceFd = bufferItem->getBufferItem().mFence->dup();
182 mBuffersInFlight.push_back(bufferItem);
206 sp<PinnedBufferItem> bufferItem;
219 bufferItem = tmp;
251 bufferItem->getBufferItem().mFence = releaseFence;
252 bufferItem.clear(); // dropping last reference unpins buffer
Camera3InputStream.cpp 21 #include <gui/BufferItem.h>
67 BufferItem bufferItem;
69 res = mConsumer->acquireBuffer(&bufferItem, /*waitForFence*/false);
76 anb = bufferItem.mGraphicBuffer->getNativeBuffer();
78 fenceFd = bufferItem.mFence->dup();
86 mBuffersInFlight.push_back(bufferItem);
105 BufferItem bufferItem;
108 Vector<BufferItem>::iterator it, end
    [all...]
  /frameworks/base/media/jni/
android_media_Utils.cpp 860 ALOGE("Input BufferItem or output LockedImage is NULL!");
906 status_t lockImageFromBuffer(BufferItem* bufferItem, uint32_t inUsage,
908 ALOGV("%s: Try to lock the BufferItem", __FUNCTION__);
909 if (bufferItem == nullptr || outputImage == nullptr) {
910 ALOGE("Input BufferItem or output LockedImage is NULL!");
914 status_t res = lockImageFromBuffer(bufferItem->mGraphicBuffer, inUsage, bufferItem->mCrop,
921 outputImage->crop = bufferItem->mCrop;
922 outputImage->transform = bufferItem->mTransform
    [all...]
android_media_Utils.h 135 status_t lockImageFromBuffer(BufferItem* bufferItem, uint32_t inUsage,
138 int getBufferWidth(BufferItem *buffer);
140 int getBufferHeight(BufferItem *buffer);
  /frameworks/av/include/media/stagefright/
MediaSync.h 34 class BufferItem;
150 virtual void onFrameAvailable(const BufferItem &item);
208 List<BufferItem> mBufferItems;
250 // Send |bufferItem| to the output for rendering.
251 void renderOneBufferItem_l(const BufferItem &bufferItem);

Completed in 271 milliseconds