Home
last modified time | relevance | path

Searched refs:BufferItem (Results 1 – 25 of 100) sorted by relevance

1234

/frameworks/native/libs/gui/include/gui/
DBufferItem.h36 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;
DConsumerBase.h46 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,
DIConsumerListener.h29 class BufferItem; variable
54 virtual void onFrameAvailable(const BufferItem& item) = 0; /* Asynchronous */
62 virtual void onFrameReplaced(const BufferItem& /* item */) {} /* Asynchronous */ in onFrameReplaced() argument
DBufferQueue.h34 enum { INVALID_BUFFER_SLOT = BufferItem::INVALID_BUFFER_SLOT };
62 void onFrameAvailable(const BufferItem& item) override;
63 void onFrameReplaced(const BufferItem& item) override;
DBufferItemConsumer.h76 status_t acquireBuffer(BufferItem* item, nsecs_t presentWhen,
85 status_t releaseBuffer(const BufferItem &item,
/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.h121 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/
Dandroid_media_ImageReader.cpp96 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 …]
Dandroid_media_Utils.h44 status_t lockImageFromBuffer(BufferItem* bufferItem, uint32_t inUsage,
47 int getBufferWidth(BufferItem *buffer);
49 int getBufferHeight(BufferItem *buffer);
/frameworks/av/media/libstagefright/filters/
DGraphicBufferListener.h34 virtual void onFrameAvailable(const BufferItem& item);
44 BufferItem getBufferItem();
45 sp<GraphicBuffer> getBuffer(BufferItem item);
46 status_t releaseBuffer(BufferItem item);
DGraphicBufferListener.cpp66 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/
DBufferItem.cpp41 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()
DIConsumerListener.cpp47 void onFrameAvailable(const BufferItem& item) override { in onFrameAvailable()
52 void onFrameReplaced(const BufferItem& item) override { in onFrameReplaced()
DBufferItemConsumer.cpp58 status_t BufferItemConsumer::acquireBuffer(BufferItem *item, in acquireBuffer()
88 status_t BufferItemConsumer::releaseBuffer(const BufferItem &item, in releaseBuffer()
/frameworks/av/media/ndk/
DNdkImageReaderPriv.h85 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;
DNdkImageReader.cpp115 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()
DNdkImagePriv.h35 AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer,
78 BufferItem* mBuffer;
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaSync.h34 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/
DBufferLayerConsumer.h64 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,
DBufferQueueLayer.h102 void onFrameAvailable(const BufferItem& item) override;
103 void onFrameReplaced(const BufferItem& item) override;
128 Vector<BufferItem> mQueueItems;
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3InputStream.cpp70 BufferItem bufferItem; in getInputBufferLocked()
112 BufferItem bufferItem; in returnBufferCheckedLocked()
115 Vector<BufferItem>::iterator it, end; in returnBufferCheckedLocked()
120 const BufferItem& tmp = *it; in returnBufferCheckedLocked()
DCamera3StreamSplitter.h102 void onFrameAvailable(const BufferItem& item) override;
212 const BufferItem& bufferItem, size_t surfaceId);
242 std::unordered_map<uint64_t, BufferItem> mInputSlots;
DCamera3StreamSplitter.cpp344 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/
DEGL_test.cpp143 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/
DImageConsumer.cpp41 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()
DEGLConsumer.h95 void onAcquireBufferLocked(BufferItem* item, SurfaceTexture& st);
140 status_t updateAndReleaseLocked(const BufferItem& item, PendingRelease* pendingRelease,

1234