/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() 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,
|
D | IConsumerListener.h | 31 class BufferItem; variable 67 virtual void onFrameAvailable(const BufferItem& item) = 0; /* Asynchronous */ 75 virtual void onFrameReplaced(const BufferItem& /* item */) {} /* Asynchronous */ in onFrameReplaced() argument
|
D | BufferQueue.h | 37 enum { INVALID_BUFFER_SLOT = BufferItem::INVALID_BUFFER_SLOT }; 65 void onFrameAvailable(const BufferItem& item) override; 66 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 | BLASTBufferQueue.h | 93 void onFrameReplaced(const BufferItem& item) override; 94 void onFrameAvailable(const BufferItem& item) override; 148 Rect computeCrop(const BufferItem& item) REQUIRES(mMutex); 150 bool rejectBuffer(const BufferItem& item) REQUIRES(mMutex); 185 std::unordered_map<ReleaseCallbackId, BufferItem, ReleaseBufferCallbackIdHash> mSubmitted
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.h | 119 const BufferItem& item) : in PinnedBufferItem() 135 BufferItem& getBufferItem() { return mBufferItem; } in getBufferItem() 136 const BufferItem& getBufferItem() const { return mBufferItem; } in getBufferItem() 140 BufferItem mBufferItem; 163 virtual void onFrameAvailable(const BufferItem& item); 165 void pinBufferLocked(const BufferItem& item); 166 void unpinBuffer(const BufferItem& item); 173 struct RingBufferItem : public BufferItem { 174 RingBufferItem() : BufferItem(), mPinCount(0) {} in RingBufferItem()
|
/frameworks/av/media/codec2/hal/client/include/codec2/aidl/ |
D | GraphicsTracker.h | 169 struct BufferItem { struct 179 BufferItem(uint32_t generation, int slot, argument 185 BufferItem(uint32_t generation, 189 ~BufferItem(); 191 std::shared_ptr<BufferItem> migrateBuffer(uint64_t newUsage, uint32_t newGeneration); 207 std::map<int, std::shared_ptr<BufferItem>> mBuffers; 235 std::map<uint64_t, std::shared_ptr<BufferItem>> mDequeued; 299 std::shared_ptr<BufferItem> *pBuffer, 306 std::shared_ptr<BufferItem> *buffer, 312 const std::shared_ptr<BufferItem> &buffer, [all …]
|
/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()
|
/frameworks/base/libs/hostgraphics/gui/ |
D | BufferItem.h | 34 class BufferItem { 38 BufferItem() : mGraphicBuffer(nullptr), mFence(Fence::NO_FENCE) {} in BufferItem() function 40 ~BufferItem() {} in ~BufferItem()
|
D | ConsumerBase.h | 29 virtual void onFrameAvailable(const BufferItem& item) = 0; 31 virtual void onFrameReplaced(const BufferItem& /* item */) {} in onFrameReplaced()
|
D | IGraphicBufferConsumer.h | 25 class BufferItem; variable 43 virtual status_t acquireBuffer(BufferItem* buffer, nsecs_t presentWhen,
|
D | BufferItemConsumer.h | 32 status_t acquireBuffer(BufferItem* item, nsecs_t presentWhen, bool waitForFence = true) { 36 status_t releaseBuffer(const BufferItem& item,
|
/frameworks/av/media/ndk/ |
D | NdkImageReaderPriv.h | 86 BufferItem* getBufferItemLocked(); 87 void returnBufferItemLocked(BufferItem* buffer); 95 static int getBufferWidth(BufferItem* buffer); 96 static int getBufferHeight(BufferItem* buffer); 118 List<BufferItem*> mBuffers; 136 void onFrameAvailable(const BufferItem& item) override;
|
D | NdkImagePriv.h | 55 AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer, 99 BufferItem* mBuffer;
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 108 virtual void onFrameAvailable(const BufferItem& item); 110 BufferItem* getBufferItem(); 111 void returnBufferItem(BufferItem* buffer); 136 List<BufferItem*> mBuffers; 156 BufferItem* buffer = new BufferItem; in JNIImageReaderContext() 186 BufferItem* JNIImageReaderContext::getBufferItem() { in getBufferItem() 191 List<BufferItem*>::iterator it = mBuffers.begin(); in getBufferItem() 192 BufferItem* buffer = *it; in getBufferItem() 197 void JNIImageReaderContext::returnBufferItem(BufferItem* buffer) { in returnBufferItem() 216 for (List<BufferItem *>::iterator it = mBuffers.begin(); in ~JNIImageReaderContext() [all …]
|
D | android_media_Utils.h | 46 status_t lockImageFromBuffer(BufferItem* bufferItem, uint32_t inUsage, 49 int getBufferWidth(BufferItem *buffer); 51 int getBufferHeight(BufferItem *buffer);
|
/frameworks/av/media/libstagefright/include/ |
D | FrameCaptureLayer.h | 44 void onFrameAvailable(const BufferItem& /*item*/) override; 69 status_t acquireBuffer(BufferItem *bi); 70 status_t releaseBuffer(const BufferItem &bi);
|
/frameworks/av/media/codec2/hal/client/ |
D | GraphicsTracker.cpp | 57 GraphicsTracker::BufferItem::BufferItem( in BufferItem() function in aidl::android::hardware::media::c2::implementation::GraphicsTracker::BufferItem 77 GraphicsTracker::BufferItem::BufferItem( in BufferItem() function in aidl::android::hardware::media::c2::implementation::GraphicsTracker::BufferItem 93 GraphicsTracker::BufferItem::~BufferItem() { in ~BufferItem() 100 std::shared_ptr<GraphicsTracker::BufferItem> GraphicsTracker::BufferItem::migrateBuffer( in migrateBuffer() 125 std::shared_ptr<BufferItem> newBuffer = in migrateBuffer() 126 std::make_shared<BufferItem>(newGeneration, newBuf, newUsage); in migrateBuffer() 131 sp<GraphicBuffer> GraphicsTracker::BufferItem::getGraphicBuffer() { in getGraphicBuffer() 582 std::shared_ptr<BufferItem> *pBuffer, bool *updateDequeue) { in commitAllocate() 626 std::shared_ptr<BufferItem> *buffer) { in _allocate() 649 *buffer = std::make_shared<BufferItem>(generation, buf, usage); in _allocate() [all …]
|
/frameworks/av/media/libstagefright/ |
D | FrameCaptureLayer.cpp | 68 BufferLayer(const BufferItem &bi) : mBufferItem(bi) {} in BufferLayer() 72 BufferItem mBufferItem; 155 BufferItem bi; in capture() 182 void FrameCaptureLayer::onFrameAvailable(const BufferItem& /*item*/) { in onFrameAvailable() argument 207 status_t FrameCaptureLayer::acquireBuffer(BufferItem *bi) { in acquireBuffer() 241 status_t FrameCaptureLayer::releaseBuffer(const BufferItem &bi) { in releaseBuffer()
|
/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 | Camera3StreamSplitter.h | 107 void onFrameAvailable(const BufferItem& item) override; 114 void onFrameReplaced(const BufferItem& item) override; 224 const BufferItem& bufferItem, size_t surfaceId); 255 std::unordered_map<uint64_t, BufferItem> mInputSlots;
|
D | Camera3InputStream.cpp | 76 BufferItem bufferItem; in getInputBufferLocked() 121 BufferItem bufferItem; in returnBufferCheckedLocked() 124 Vector<BufferItem>::iterator it, end; in returnBufferCheckedLocked() 129 const BufferItem& tmp = *it; in returnBufferCheckedLocked()
|
/frameworks/native/libs/nativedisplay/surfacetexture/ |
D | ImageConsumer.cpp | 36 BufferItem item; in dequeueBuffer() 44 if (slot != BufferItem::INVALID_BUFFER_SLOT) { in dequeueBuffer() 74 if (st.mCurrentTexture != BufferItem::INVALID_BUFFER_SLOT) { in dequeueBuffer()
|
/frameworks/native/libs/nativedisplay/include/surfacetexture/ |
D | SurfaceTexture.h | 298 virtual void onFrameAvailable(const BufferItem& item) = 0; 325 virtual status_t acquireBufferLocked(BufferItem* item, nsecs_t presentWhen, 510 void onFrameAvailable(const BufferItem& item) override;
|