Searched refs:bufferItem (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | MediaSync.cpp | 352 BufferItem *bufferItem = &*mBufferItems.begin(); in flush() local 353 returnBufferToInput_l(bufferItem->mGraphicBuffer, bufferItem->mFence); in flush() 542 BufferItem *bufferItem = &*mBufferItems.begin(); in onDrainVideo_l() local 543 int64_t itemMediaUs = bufferItem->mTimestamp / 1000; in onDrainVideo_l() 553 (long long)bufferItem->mTimestamp / 1000, (long long)itemRealUs); in onDrainVideo_l() 554 bufferItem->mTimestamp = itemRealUs * 1000; in onDrainVideo_l() 555 bufferItem->mIsAutoTimestamp = false; in onDrainVideo_l() 559 renderOneBufferItem_l(*bufferItem); in onDrainVideo_l() 563 bufferItem->mGraphicBuffer, bufferItem->mFence); in onDrainVideo_l() 568 renderOneBufferItem_l(*bufferItem); in onDrainVideo_l() [all …]
|
/frameworks/native/libs/gui/ |
D | StreamSplitter.cpp | 129 BufferItem bufferItem; in onFrameAvailable() local 130 status_t status = mInput->acquireBuffer(&bufferItem, /* presentWhen */ 0); in onFrameAvailable() 135 bufferItem.mGraphicBuffer->getId()); in onFrameAvailable() 137 status = mInput->detachBuffer(bufferItem.mSlot); in onFrameAvailable() 142 mBuffers.add(bufferItem.mGraphicBuffer->getId(), in onFrameAvailable() 143 new BufferTracker(bufferItem.mGraphicBuffer)); in onFrameAvailable() 146 bufferItem.mTimestamp, bufferItem.mIsAutoTimestamp, in onFrameAvailable() 147 bufferItem.mDataSpace, bufferItem.mCrop, in onFrameAvailable() 148 static_cast<int32_t>(bufferItem.mScalingMode), in onFrameAvailable() 149 bufferItem.mTransform, bufferItem.mFence); in onFrameAvailable() [all …]
|
D | BufferQueueConsumer.cpp | 117 const BufferItem& bufferItem(mCore->mQueue[1]); in acquireBuffer() local 121 if (maxFrameNumber && bufferItem.mFrameNumber > maxFrameNumber) { in acquireBuffer() 134 nsecs_t desiredPresent = bufferItem.mTimestamp; in acquireBuffer()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3StreamSplitter.cpp | 325 const BufferItem& bufferItem, size_t surfaceId) { in outputBufferLocked() argument 329 bufferItem.mTimestamp, bufferItem.mIsAutoTimestamp, in outputBufferLocked() 330 bufferItem.mDataSpace, bufferItem.mCrop, in outputBufferLocked() 331 static_cast<int32_t>(bufferItem.mScalingMode), in outputBufferLocked() 332 bufferItem.mTransform, bufferItem.mFence); in outputBufferLocked() 336 uint64_t bufferId = bufferItem.mGraphicBuffer->getId(); in outputBufferLocked() 363 decrementBufRefCountLocked(bufferItem.mGraphicBuffer->getId(), surfaceId); in outputBufferLocked() 465 BufferItem bufferItem; in onFrameAvailable() local 466 status_t res = mConsumer->acquireBuffer(&bufferItem, /* presentWhen */ 0); in onFrameAvailable() 474 if (bufferItem.mGraphicBuffer != nullptr) { in onFrameAvailable() [all …]
|
D | Camera3InputStream.cpp | 70 BufferItem bufferItem; in getInputBufferLocked() local 72 res = mConsumer->acquireBuffer(&bufferItem, /*waitForFence*/false); in getInputBufferLocked() 79 anb = bufferItem.mGraphicBuffer->getNativeBuffer(); in getInputBufferLocked() 81 fenceFd = bufferItem.mFence->dup(); in getInputBufferLocked() 89 mBuffersInFlight.push_back(bufferItem); in getInputBufferLocked() 92 mLastTimestamp = bufferItem.mTimestamp; in getInputBufferLocked() 111 BufferItem bufferItem; in returnBufferCheckedLocked() local 123 bufferItem = tmp; in returnBufferCheckedLocked() 154 res = mConsumer->releaseBuffer(bufferItem, releaseFence); in returnBufferCheckedLocked()
|
D | Camera3StreamSplitter.h | 212 const BufferItem& bufferItem, size_t surfaceId);
|
/frameworks/base/media/jni/ |
D | android_media_Utils.cpp | 907 status_t lockImageFromBuffer(BufferItem* bufferItem, uint32_t inUsage, in lockImageFromBuffer() argument 910 if (bufferItem == nullptr || outputImage == nullptr) { in lockImageFromBuffer() 915 status_t res = lockImageFromBuffer(bufferItem->mGraphicBuffer, inUsage, bufferItem->mCrop, in lockImageFromBuffer() 922 outputImage->crop = bufferItem->mCrop; in lockImageFromBuffer() 923 outputImage->transform = bufferItem->mTransform; in lockImageFromBuffer() 924 outputImage->scalingMode = bufferItem->mScalingMode; in lockImageFromBuffer() 925 outputImage->timestamp = bufferItem->mTimestamp; in lockImageFromBuffer() 926 outputImage->dataSpace = bufferItem->mDataSpace; in lockImageFromBuffer() 927 outputImage->frameNumber = bufferItem->mFrameNumber; in lockImageFromBuffer()
|
D | android_media_Utils.h | 134 status_t lockImageFromBuffer(BufferItem* bufferItem, uint32_t inUsage,
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaSync.h | 251 void renderOneBufferItem_l(const BufferItem &bufferItem);
|
/frameworks/base/core/jni/ |
D | android_view_ThreadedRenderer.cpp | 1014 BufferItem bufferItem; in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode() local 1016 if ((err = consumer->acquireBuffer(&bufferItem, 0, true)) != OK) { in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode() 1020 sp<GraphicBuffer> buffer = bufferItem.mGraphicBuffer; in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode() 1022 consumer->releaseBuffer(bufferItem); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
|