/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,
|
/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/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 | 44 status_t lockImageFromBuffer(BufferItem* bufferItem, uint32_t inUsage, 47 int getBufferWidth(BufferItem *buffer); 49 int getBufferHeight(BufferItem *buffer);
|
/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/av/media/ndk/ |
D | NdkImageReaderPriv.h | 85 BufferItem* getBufferItemLocked(); 86 void returnBufferItemLocked(BufferItem* buffer); 94 static int getBufferWidth(BufferItem* buffer); 95 static int getBufferHeight(BufferItem* buffer); 117 List<BufferItem*> mBuffers; 132 void onFrameAvailable(const BufferItem& item) override;
|
D | NdkImageReader.cpp | 115 AImageReader::FrameListener::onFrameAvailable(const BufferItem& /*item*/) { in onFrameAvailable() argument 335 BufferItem* buffer = new BufferItem; in init() 408 BufferItem* buffer = getBufferItemLocked(); in acquireImageLocked() 503 BufferItem* 510 BufferItem* buffer = *it; in getBufferItemLocked() 516 AImageReader::returnBufferItemLocked(BufferItem* buffer) { in returnBufferItemLocked() 522 BufferItem* buffer = image->mBuffer; in releaseImageLocked() 586 AImageReader::getBufferWidth(BufferItem* buffer) { in getBufferWidth() 597 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/native/services/surfaceflinger/ |
D | BufferLayerConsumer.h | 64 virtual bool reject(const sp<GraphicBuffer>& buf, const BufferItem& item) = 0; 182 void onBufferAvailable(const BufferItem& item) EXCLUDES(mImagesMutex); 194 virtual status_t acquireBufferLocked(BufferItem* item, nsecs_t presentWhen, 214 status_t updateAndReleaseLocked(const BufferItem& item,
|
D | BufferQueueLayer.h | 102 void onFrameAvailable(const BufferItem& item) override; 103 void onFrameReplaced(const BufferItem& item) override; 128 Vector<BufferItem> mQueueItems;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3InputStream.cpp | 70 BufferItem bufferItem; in getInputBufferLocked() 112 BufferItem bufferItem; in returnBufferCheckedLocked() 115 Vector<BufferItem>::iterator it, end; in returnBufferCheckedLocked() 120 const BufferItem& tmp = *it; in returnBufferCheckedLocked()
|
D | Camera3StreamSplitter.h | 102 void onFrameAvailable(const BufferItem& item) override; 212 const BufferItem& bufferItem, size_t surfaceId); 242 std::unordered_map<uint64_t, BufferItem> mInputSlots;
|
D | Camera3StreamSplitter.cpp | 344 const BufferItem& bufferItem, size_t surfaceId) { in outputBufferLocked() 433 if (slot != BufferItem::INVALID_BUFFER_SLOT) { in attachBufferToOutputs() 480 void Camera3StreamSplitter::onFrameAvailable(const BufferItem& /*item*/) { in onFrameAvailable() argument 485 BufferItem bufferItem; in onFrameAvailable() 630 int slot = BufferItem::INVALID_BUFFER_SLOT; in onBufferReleasedByOutput() 661 int slot = BufferItem::INVALID_BUFFER_SLOT; in onBufferReplacedLocked() 720 } else if (res != OK || (slot == BufferItem::INVALID_BUFFER_SLOT)) { in handleOutputDequeueStatusLocked() 751 return BufferItem::INVALID_BUFFER_SLOT; in getSlotForOutputLocked()
|
/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 143 void onFrameAvailable(const BufferItem& /* item */) override {} in TEST_F() 263 void onFrameAvailable(const BufferItem& /* item */) override {} in TEST_F() 311 void onFrameAvailable(const BufferItem& /* item */) override {} in TEST_F() 403 void onFrameAvailable(const BufferItem& /* item */) override {} in TEST_F() 575 void onFrameAvailable(const BufferItem& /* item */) override {} in TEST_F() 627 void onFrameAvailable(const BufferItem& /* item */) override {} in TEST_F() 710 void onFrameAvailable(const BufferItem& /* item */) override {} in TEST_F() 739 void onFrameAvailable(const BufferItem& /* item */) override {} in TEST_F() 814 void onFrameAvailable(const BufferItem& /* item */) override {} in TEST_F() 840 void onFrameAvailable(const BufferItem& /* item */) override {} in TEST_F() [all …]
|
/frameworks/base/libs/hwui/surfacetexture/ |
D | ImageConsumer.cpp | 41 void ImageConsumer::onAcquireBufferLocked(BufferItem* item) { in onAcquireBufferLocked() 202 BufferItem item; in dequeueImage() 210 if (slot != BufferItem::INVALID_BUFFER_SLOT) { in dequeueImage() 238 if (st.mCurrentTexture != BufferItem::INVALID_BUFFER_SLOT) { in dequeueImage()
|
D | EGLConsumer.h | 95 void onAcquireBufferLocked(BufferItem* item, SurfaceTexture& st); 140 status_t updateAndReleaseLocked(const BufferItem& item, PendingRelease* pendingRelease,
|