/frameworks/native/libs/gui/include/gui/ |
D | BufferItem.h | 36 class BufferItem : public Flattenable<BufferItem> { 37 friend class Flattenable<BufferItem>; 47 BufferItem(); 48 ~BufferItem(); 49 BufferItem(const BufferItem&) = default; 50 BufferItem& operator=(const BufferItem&) = default;
|
D | ConsumerBase.h | 46 virtual void onFrameAvailable(const BufferItem& item) = 0; 47 virtual void onFrameReplaced(const BufferItem& /* item */) {} in onFrameReplaced() 142 virtual void onFrameAvailable(const BufferItem& item) override; 143 virtual void onFrameReplaced(const BufferItem& item) override; 190 virtual status_t acquireBufferLocked(BufferItem *item, nsecs_t presentWhen,
|
D | IConsumerListener.h | 29 class BufferItem; variable 54 virtual void onFrameAvailable(const BufferItem& item) = 0; /* Asynchronous */ 62 virtual void onFrameReplaced(const BufferItem& /* item */) {} /* Asynchronous */ in onFrameReplaced() argument
|
D | BufferQueue.h | 34 enum { INVALID_BUFFER_SLOT = BufferItem::INVALID_BUFFER_SLOT }; 62 void onFrameAvailable(const BufferItem& item) override; 63 void onFrameReplaced(const BufferItem& item) override;
|
D | BufferItemConsumer.h | 76 status_t acquireBuffer(BufferItem* item, nsecs_t presentWhen, 85 status_t releaseBuffer(const BufferItem &item,
|
D | IGraphicBufferConsumer.h | 33 class BufferItem; variable 80 virtual status_t acquireBuffer(BufferItem* buffer, nsecs_t presentWhen,
|
D | BufferQueueCore.h | 64 enum { INVALID_BUFFER_SLOT = BufferItem::INVALID_BUFFER_SLOT }; 78 typedef Vector<BufferItem> Fifo;
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.h | 121 const BufferItem& item) : in PinnedBufferItem() 137 BufferItem& getBufferItem() { return mBufferItem; } in getBufferItem() 138 const BufferItem& getBufferItem() const { return mBufferItem; } in getBufferItem() 142 BufferItem mBufferItem; 165 virtual void onFrameAvailable(const BufferItem& item); 167 void pinBufferLocked(const BufferItem& item); 168 void unpinBuffer(const BufferItem& item); 175 struct RingBufferItem : public BufferItem { 176 RingBufferItem() : BufferItem(), mPinCount(0) {} in RingBufferItem()
|
/frameworks/av/media/libstagefright/filters/ |
D | GraphicBufferListener.h | 34 virtual void onFrameAvailable(const BufferItem& item); 44 BufferItem getBufferItem(); 45 sp<GraphicBuffer> getBuffer(BufferItem item); 46 status_t releaseBuffer(BufferItem item);
|
D | GraphicBufferListener.cpp | 66 void GraphicBufferListener::onFrameAvailable(const BufferItem& /* item */) { in onFrameAvailable() argument 89 BufferItem GraphicBufferListener::getBufferItem() { in getBufferItem() 90 BufferItem item; in getBufferItem() 130 sp<GraphicBuffer> GraphicBufferListener::getBuffer(BufferItem item) { in getBuffer() 143 status_t GraphicBufferListener::releaseBuffer(BufferItem item) { in releaseBuffer()
|
/frameworks/native/libs/gui/ |
D | BufferItem.cpp | 41 BufferItem::BufferItem() : in BufferItem() function in android::BufferItem 62 BufferItem::~BufferItem() {} in ~BufferItem() 70 size_t BufferItem::getPodSize() const { in getPodSize() 92 size_t BufferItem::getFlattenedSize() const { in getFlattenedSize() 108 size_t BufferItem::getFdCount() const { in getFdCount() 125 status_t BufferItem::flatten( in flatten() 129 if (size < BufferItem::getFlattenedSize()) { in flatten() 193 status_t BufferItem::unflatten( in unflatten() 258 const char* BufferItem::scalingModeName(uint32_t scalingMode) { in scalingModeName()
|
D | IConsumerListener.cpp | 47 void onFrameAvailable(const BufferItem& item) override { in onFrameAvailable() 52 void onFrameReplaced(const BufferItem& item) override { in onFrameReplaced()
|
D | BufferItemConsumer.cpp | 58 status_t BufferItemConsumer::acquireBuffer(BufferItem *item, in acquireBuffer() 88 status_t BufferItemConsumer::releaseBuffer(const BufferItem &item, in releaseBuffer()
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 96 virtual void onFrameAvailable(const BufferItem& item); 98 BufferItem* getBufferItem(); 99 void returnBufferItem(BufferItem* buffer); 124 List<BufferItem*> mBuffers; 144 BufferItem* buffer = new BufferItem; in JNIImageReaderContext() 174 BufferItem* JNIImageReaderContext::getBufferItem() { in getBufferItem() 179 List<BufferItem*>::iterator it = mBuffers.begin(); in getBufferItem() 180 BufferItem* buffer = *it; in getBufferItem() 185 void JNIImageReaderContext::returnBufferItem(BufferItem* buffer) { in returnBufferItem() 204 for (List<BufferItem *>::iterator it = mBuffers.begin(); in ~JNIImageReaderContext() [all …]
|
D | android_media_Utils.h | 134 status_t lockImageFromBuffer(BufferItem* bufferItem, uint32_t inUsage, 137 int getBufferWidth(BufferItem *buffer); 139 int getBufferHeight(BufferItem *buffer);
|
/frameworks/av/media/ndk/ |
D | NdkImageReaderPriv.h | 82 BufferItem* getBufferItemLocked(); 83 void returnBufferItemLocked(BufferItem* buffer); 91 static int getBufferWidth(BufferItem* buffer); 92 static int getBufferHeight(BufferItem* buffer); 114 List<BufferItem*> mBuffers; 129 void onFrameAvailable(const BufferItem& item) override;
|
D | NdkImageReader.cpp | 101 AImageReader::FrameListener::onFrameAvailable(const BufferItem& /*item*/) { in onFrameAvailable() argument 313 BufferItem* buffer = new BufferItem; in init() 371 BufferItem* buffer = getBufferItemLocked(); in acquireImageLocked() 466 BufferItem* 473 BufferItem* buffer = *it; in getBufferItemLocked() 479 AImageReader::returnBufferItemLocked(BufferItem* buffer) { in returnBufferItemLocked() 485 BufferItem* buffer = image->mBuffer; in releaseImageLocked() 526 AImageReader::getBufferWidth(BufferItem* buffer) { in getBufferWidth() 537 AImageReader::getBufferHeight(BufferItem* buffer) { in getBufferHeight()
|
D | NdkImagePriv.h | 35 AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer, 78 BufferItem* mBuffer;
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaSync.h | 34 class BufferItem; variable 150 virtual void onFrameAvailable(const BufferItem &item); 208 List<BufferItem> mBufferItems; 251 void renderOneBufferItem_l(const BufferItem &bufferItem);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3InputStream.cpp | 70 BufferItem bufferItem; in getInputBufferLocked() 111 BufferItem bufferItem; in returnBufferCheckedLocked() 114 Vector<BufferItem>::iterator it, end; in returnBufferCheckedLocked() 119 const BufferItem& tmp = *it; in returnBufferCheckedLocked()
|
D | Camera3StreamSplitter.cpp | 325 const BufferItem& bufferItem, size_t surfaceId) { in outputBufferLocked() 414 if (slot != BufferItem::INVALID_BUFFER_SLOT) { in attachBufferToOutputs() 460 void Camera3StreamSplitter::onFrameAvailable(const BufferItem& /*item*/) { in onFrameAvailable() argument 465 BufferItem bufferItem; in onFrameAvailable() 599 int slot = BufferItem::INVALID_BUFFER_SLOT; in onBufferReleasedByOutput() 630 int slot = BufferItem::INVALID_BUFFER_SLOT; in onBufferReplacedLocked() 689 } else if (res != OK || (slot == BufferItem::INVALID_BUFFER_SLOT)) { in handleOutputDequeueStatusLocked() 720 return BufferItem::INVALID_BUFFER_SLOT; in getSlotForOutputLocked()
|
D | Camera3StreamSplitter.h | 102 void onFrameAvailable(const BufferItem& item) override; 212 const BufferItem& bufferItem, size_t surfaceId); 239 std::unordered_map<uint64_t, BufferItem> mInputSlots;
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayerConsumer.h | 63 virtual bool reject(const sp<GraphicBuffer>& buf, const BufferItem& item) = 0; 191 virtual status_t acquireBufferLocked(BufferItem* item, nsecs_t presentWhen, 210 status_t updateAndReleaseLocked(const BufferItem& item,
|
D | BufferLayer.h | 143 void onFrameAvailable(const BufferItem& item) override; 144 void onFrameReplaced(const BufferItem& item) override;
|
/frameworks/native/libs/gui/tests/ |
D | BufferQueue_test.cpp | 75 const BufferItem& item) { in testBufferItem() 162 BufferItem item; in TEST_F() 187 BufferItem item; in TEST_F() 238 BufferItem item; in TEST_F() 275 BufferItem item; in TEST_F() 365 BufferItem item; in TEST_F() 400 BufferItem item; in TEST_F() 461 BufferItem item; in TEST_F() 592 BufferItem item; in TEST_F() 634 BufferItem item; in TEST_F() [all …]
|