Home
last modified time | relevance | path

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

1234

/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.h123 const BufferItem& item) : in PinnedBufferItem()
139 BufferItem& getBufferItem() { return mBufferItem; } in getBufferItem()
140 const BufferItem& getBufferItem() const { return mBufferItem; } in getBufferItem()
144 BufferItem mBufferItem;
167 virtual void onFrameAvailable(const BufferItem& item);
169 void pinBufferLocked(const BufferItem& item);
170 void unpinBuffer(const BufferItem& item);
177 struct RingBufferItem : public BufferItem {
178 RingBufferItem() : BufferItem(), mPinCount(0) {} in RingBufferItem()
/frameworks/native/libs/gui/
DBufferItem.cpp26 BufferItem::BufferItem() : in BufferItem() function in android::BufferItem
46 BufferItem::~BufferItem() {} in ~BufferItem()
54 size_t BufferItem::getPodSize() const { in getPodSize()
72 size_t BufferItem::getFlattenedSize() const { in getFlattenedSize()
87 size_t BufferItem::getFdCount() const { in getFdCount()
104 status_t BufferItem::flatten( in flatten()
108 if (size < BufferItem::getFlattenedSize()) { in flatten()
164 status_t BufferItem::unflatten( in unflatten()
214 const char* BufferItem::scalingModeName(uint32_t scalingMode) { in scalingModeName()
DBufferQueue.cpp35 const BufferItem& item) { in onFrameAvailable()
43 const BufferItem& item) { in onFrameReplaced()
DBufferItemConsumer.cpp60 status_t BufferItemConsumer::acquireBuffer(BufferItem *item, in acquireBuffer()
90 status_t BufferItemConsumer::releaseBuffer(const BufferItem &item, in releaseBuffer()
DIConsumerListener.cpp46 virtual void onFrameAvailable(const BufferItem& item) { in onFrameAvailable()
116 BufferItem item; in onTransact()
/frameworks/native/include/gui/
DBufferItem.h36 class BufferItem : public Flattenable<BufferItem> {
37 friend class Flattenable<BufferItem>;
47 BufferItem();
48 ~BufferItem();
DConsumerBase.h42 virtual void onFrameAvailable(const BufferItem& item) = 0;
43 virtual void onFrameReplaced(const BufferItem& /* item */) {} in onFrameReplaced()
126 virtual void onFrameAvailable(const BufferItem& item) override;
127 virtual void onFrameReplaced(const BufferItem& item) override;
174 virtual status_t acquireBufferLocked(BufferItem *item, nsecs_t presentWhen,
DIConsumerListener.h33 class BufferItem; variable
56 virtual void onFrameAvailable(const BufferItem& item) = 0; /* Asynchronous */
67 virtual void onFrameReplaced(const BufferItem& /* item */) {} /* Asynchronous */ in onFrameReplaced() argument
DBufferQueue.h38 enum { INVALID_BUFFER_SLOT = BufferItem::INVALID_BUFFER_SLOT };
65 virtual void onFrameAvailable(const BufferItem& item) override;
66 virtual void onFrameReplaced(const BufferItem& item) override;
DBufferItemConsumer.h77 status_t acquireBuffer(BufferItem* item, nsecs_t presentWhen,
86 status_t releaseBuffer(const BufferItem &item,
DIGraphicBufferConsumer.h38 class BufferItem; variable
88 virtual status_t acquireBuffer(BufferItem* buffer, nsecs_t presentWhen,
DBufferQueueCore.h65 enum { INVALID_BUFFER_SLOT = BufferItem::INVALID_BUFFER_SLOT };
79 typedef Vector<BufferItem> Fifo;
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp86 virtual void onFrameAvailable(const BufferItem& item);
88 BufferItem* getBufferItem();
89 void returnBufferItem(BufferItem* buffer);
114 List<BufferItem*> mBuffers;
134 BufferItem* buffer = new BufferItem; in JNIImageReaderContext()
164 BufferItem* JNIImageReaderContext::getBufferItem() { in getBufferItem()
169 List<BufferItem*>::iterator it = mBuffers.begin(); in getBufferItem()
170 BufferItem* buffer = *it; in getBufferItem()
175 void JNIImageReaderContext::returnBufferItem(BufferItem* buffer) { in returnBufferItem()
193 for (List<BufferItem *>::iterator it = mBuffers.begin(); in ~JNIImageReaderContext()
[all …]
Dandroid_media_Utils.h135 status_t lockImageFromBuffer(BufferItem* bufferItem, uint32_t inUsage,
138 int getBufferWidth(BufferItem *buffer);
140 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.cpp65 void GraphicBufferListener::onFrameAvailable(const BufferItem& /* item */) { in onFrameAvailable() argument
88 BufferItem GraphicBufferListener::getBufferItem() { in getBufferItem()
89 BufferItem item; in getBufferItem()
129 sp<GraphicBuffer> GraphicBufferListener::getBuffer(BufferItem item) { in getBuffer()
142 status_t GraphicBufferListener::releaseBuffer(BufferItem item) { in releaseBuffer()
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.h161 virtual void onFrameAvailable(const BufferItem& item);
187 virtual void onFrameAvailable(const BufferItem& item) override;
188 virtual void onFrameReplaced(const BufferItem& item) override;
236 status_t submitBuffer_l(const BufferItem &item, int cbi);
247 void setLatestBuffer_l(const BufferItem &item, bool dropped);
249 int64_t getTimestamp(const BufferItem &item);
DGraphicBufferSource.cpp57 const BufferItem& item) { in onFrameAvailable()
66 BufferItem bi; in onFrameAvailable()
94 const BufferItem& item) { in onFrameReplaced()
481 BufferItem item; in suspend()
608 BufferItem item; in fillCodecBuffer_l()
706 BufferItem item; in repeatLatestBuffer_l()
738 const BufferItem &item, bool dropped) { in setLatestBuffer_l()
796 int64_t GraphicBufferSource::getTimestamp(const BufferItem &item) { in getTimestamp()
865 status_t GraphicBufferSource::submitBuffer_l(const BufferItem &item, int cbi) { in submitBuffer_l()
977 void GraphicBufferSource::onFrameAvailable(const BufferItem& /*item*/) { in onFrameAvailable() argument
[all …]
/frameworks/av/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);
DCameraSource.h158 virtual void onFrameAvailable(const BufferItem& item);
231 virtual void processBufferQueueFrame(BufferItem& buffer);
271 KeyedVector<ANativeWindowBuffer*, BufferItem> mReceivedBufferItemMap;
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3InputStream.cpp67 BufferItem bufferItem; in getInputBufferLocked()
105 BufferItem bufferItem; in returnBufferCheckedLocked()
108 Vector<BufferItem>::iterator it, end; in returnBufferCheckedLocked()
113 const BufferItem& tmp = *it; in returnBufferCheckedLocked()
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerConsumer.h49 const BufferItem& item) = 0;
55 virtual status_t acquireBufferLocked(BufferItem *item, nsecs_t presentWhen,
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp73 const BufferItem& item) { in testBufferItem()
156 BufferItem item; in TEST_F()
181 BufferItem item; in TEST_F()
232 BufferItem item; in TEST_F()
269 BufferItem item; in TEST_F()
359 BufferItem item; in TEST_F()
394 BufferItem item; in TEST_F()
455 BufferItem item; in TEST_F()
584 BufferItem item; in TEST_F()
626 BufferItem item; in TEST_F()
[all …]
DDummyConsumer.h22 virtual void onFrameAvailable(const BufferItem& /* item */) {} in onFrameAvailable()
DStreamSplitter_test.cpp50 virtual void onFrameAvailable(const BufferItem& /* item */) {} in onFrameAvailable()
102 BufferItem item; in TEST_F()
175 BufferItem item; in TEST_F()

1234