Home
last modified time | relevance | path

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

12345

/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()
145 virtual void onFrameAvailable(const BufferItem& item) override;
146 virtual void onFrameReplaced(const BufferItem& item) override;
196 virtual status_t acquireBufferLocked(BufferItem *item, nsecs_t presentWhen,
DBLASTBufferQueue.h77 void onFrameReplaced(const BufferItem& item) override {onFrameAvailable(item);} in onFrameReplaced()
78 void onFrameAvailable(const BufferItem& item) override;
96 Rect computeCrop(const BufferItem& item);
111 BufferItem item;
115 std::queue<const BufferItem> mSubmitted GUARDED_BY(mMutex);
DIConsumerListener.h29 class BufferItem; variable
65 virtual void onFrameAvailable(const BufferItem& item) = 0; /* Asynchronous */
73 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/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/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/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()
DBLASTBufferQueue.cpp126 mPendingReleaseItem.item = BufferItem(); in BLASTBufferQueue()
180 mPendingReleaseItem.item = BufferItem(); in transactionCallback()
216 BufferItem bufferItem; in processNextBufferLocked()
260 Rect BLASTBufferQueue::computeCrop(const BufferItem& item) { in computeCrop()
267 void BLASTBufferQueue::onFrameAvailable(const BufferItem& /*item*/) { in onFrameAvailable() argument
/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;
/frameworks/base/libs/hostgraphics/gui/
DBufferItem.h35 class BufferItem {
39 BufferItem() : mGraphicBuffer(nullptr), mFence(Fence::NO_FENCE) {} in BufferItem() function
40 ~BufferItem() {} in ~BufferItem()
DConsumerBase.h30 virtual void onFrameAvailable(const BufferItem& item) = 0;
31 virtual void onFrameReplaced(const BufferItem& /* item */) {} in onFrameReplaced()
DIGraphicBufferConsumer.h27 class BufferItem; variable
43 virtual status_t acquireBuffer(BufferItem* buffer, nsecs_t presentWhen,
DBufferItemConsumer.h36 status_t acquireBuffer(BufferItem *item, nsecs_t presentWhen, bool waitForFence = true) {
41 const BufferItem &item, const sp<Fence>& releaseFence = Fence::NO_FENCE) { return OK; }
/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.h86 void onFrameAvailable(const BufferItem& item);
87 void onFrameReplaced(const BufferItem& item);
106 void onFrameAvailable(const BufferItem& item) override;
107 void onFrameReplaced(const BufferItem& item) override;
141 Vector<BufferItem> mQueueItems;
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,
/frameworks/av/media/libstagefright/include/
DFrameCaptureLayer.h44 void onFrameAvailable(const BufferItem& /*item*/) override;
69 status_t acquireBuffer(BufferItem *bi);
70 status_t releaseBuffer(const BufferItem &bi);
/frameworks/av/media/libstagefright/
DFrameCaptureLayer.cpp67 bool isHdrY410(const BufferItem &bi) { in isHdrY410()
76 BufferLayer(const BufferItem &bi) : mBufferItem(bi) {} in BufferLayer()
80 BufferItem mBufferItem;
164 BufferItem bi; in capture()
191 void FrameCaptureLayer::onFrameAvailable(const BufferItem& /*item*/) { in onFrameAvailable() argument
216 status_t FrameCaptureLayer::acquireBuffer(BufferItem *bi) { in acquireBuffer()
250 status_t FrameCaptureLayer::releaseBuffer(const BufferItem &bi) { in releaseBuffer()
/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/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.h102 void onFrameAvailable(const BufferItem& item) override;
109 void onFrameReplaced(const BufferItem& item) override;
219 const BufferItem& bufferItem, size_t surfaceId);
249 std::unordered_map<uint64_t, BufferItem> mInputSlots;
/frameworks/native/libs/nativedisplay/surfacetexture/
DImageConsumer.cpp35 BufferItem item; in dequeueBuffer()
43 if (slot != BufferItem::INVALID_BUFFER_SLOT) { in dequeueBuffer()
65 if (st.mCurrentTexture != BufferItem::INVALID_BUFFER_SLOT) { in dequeueBuffer()

12345