Home
last modified time | relevance | path

Searched refs:BufferTracker (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/gui/include/gui/
DStreamSplitter.h129 class BufferTracker : public LightRefBase<BufferTracker> {
131 explicit BufferTracker(const sp<GraphicBuffer>& buffer);
144 friend LightRefBase<BufferTracker>;
145 ~BufferTracker();
148 BufferTracker(const BufferTracker& other);
149 BufferTracker& operator=(const BufferTracker& other);
179 KeyedVector<uint64_t, sp<BufferTracker> > mBuffers;
/frameworks/ml/nn/common/include/
DBufferTracker.h73 class BufferTracker : public std::enable_shared_from_this<BufferTracker> {
74 DISALLOW_COPY_AND_ASSIGN(BufferTracker);
83 Token(uint32_t token, std::shared_ptr<BufferTracker> tracker) in Token()
90 const std::shared_ptr<BufferTracker> kBufferTracker;
95 static std::shared_ptr<BufferTracker> create() { return std::make_shared<BufferTracker>(); } in create()
98 BufferTracker() : mTokenToBuffers(1) {} in BufferTracker() function
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.h168 class BufferTracker {
170 BufferTracker(const sp<GraphicBuffer>& buffer,
172 ~BufferTracker() = default;
188 BufferTracker(const BufferTracker& other);
189 BufferTracker& operator=(const BufferTracker& other);
253 std::unordered_map<uint64_t, std::unique_ptr<BufferTracker> > mBuffers;
DCamera3StreamSplitter.cpp356 const BufferTracker& tracker = *(mBuffers[bufferId]); in outputBufferLocked()
407 std::unique_ptr<BufferTracker> tracker_ptr = std::move(mBuffers[bufferId]); in notifyBufferReleased()
424 auto tracker = std::make_unique<BufferTracker>(gb, surface_ids); in attachBufferToOutputs()
522 BufferTracker& tracker = *(mBuffers[bufferId]); in onFrameAvailable()
563 std::unique_ptr<BufferTracker> tracker_ptr = std::move(mBuffers[id]); in decrementBufRefCountLocked()
683 BufferTracker& tracker = *(mBuffers[buffer->getId()]); in returnOutputBufferLocked()
776 Camera3StreamSplitter::BufferTracker::BufferTracker( in BufferTracker() function in android::Camera3StreamSplitter::BufferTracker
781 void Camera3StreamSplitter::BufferTracker::mergeFence(const sp<Fence>& with) { in mergeFence()
785 size_t Camera3StreamSplitter::BufferTracker::decrementReferenceCountLocked(size_t surfaceId) { in decrementReferenceCountLocked()
/frameworks/native/libs/gui/
DStreamSplitter.cpp143 new BufferTracker(bufferItem.mGraphicBuffer)); in onFrameAvailable()
210 const sp<BufferTracker>& tracker = mBuffers.editValueFor(buffer->getId()); in onBufferReleasedByOutput()
278 StreamSplitter::BufferTracker::BufferTracker(const sp<GraphicBuffer>& buffer) in BufferTracker() function in android::StreamSplitter::BufferTracker
281 StreamSplitter::BufferTracker::~BufferTracker() {} in ~BufferTracker()
283 void StreamSplitter::BufferTracker::mergeFence(const sp<Fence>& with) { in mergeFence()
/frameworks/ml/nn/driver/sample/
DSampleDriver.h41 SampleBuffer(std::shared_ptr<ManagedBuffer> buffer, std::unique_ptr<BufferTracker::Token> token) in SampleBuffer()
52 const std::unique_ptr<BufferTracker::Token> kToken;
66 mBufferTracker(BufferTracker::create()) { in mName()
120 const std::shared_ptr<BufferTracker>& getBufferTracker() const { return mBufferTracker; } in getBufferTracker()
125 const std::shared_ptr<BufferTracker> mBufferTracker;
/frameworks/ml/nn/common/
DBufferTracker.cpp190 std::unique_ptr<BufferTracker::Token> BufferTracker::add(std::shared_ptr<ManagedBuffer> buffer) { in add()
208 std::shared_ptr<ManagedBuffer> BufferTracker::get(uint32_t token) const { in get()
217 void BufferTracker::free(uint32_t token) { in free()
DAndroid.bp147 "BufferTracker.cpp",