Home
last modified time | relevance | path

Searched refs:AcquiredBuffer (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/libs/vr/libvrflinger/
Dacquired_buffer.cpp11 AcquiredBuffer::AcquiredBuffer(const std::shared_ptr<ConsumerBuffer>& buffer, in AcquiredBuffer() function in android::dvr::AcquiredBuffer
15 AcquiredBuffer::AcquiredBuffer(const std::shared_ptr<ConsumerBuffer>& buffer, in AcquiredBuffer() function in android::dvr::AcquiredBuffer
34 AcquiredBuffer::AcquiredBuffer(AcquiredBuffer&& other) noexcept { in AcquiredBuffer() function in android::dvr::AcquiredBuffer
38 AcquiredBuffer::~AcquiredBuffer() { Release(LocalHandle(kEmptyFence)); } in ~AcquiredBuffer()
40 AcquiredBuffer& AcquiredBuffer::operator=(AcquiredBuffer&& other) noexcept { in operator =()
52 bool AcquiredBuffer::IsAvailable() const { in IsAvailable()
74 LocalHandle AcquiredBuffer::ClaimAcquireFence() { in ClaimAcquireFence()
78 std::shared_ptr<ConsumerBuffer> AcquiredBuffer::ClaimBuffer() { in ClaimBuffer()
82 int AcquiredBuffer::Release(LocalHandle release_fence) { in Release()
Dacquired_buffer.h13 class AcquiredBuffer {
17 AcquiredBuffer() : buffer_(nullptr), acquire_fence_(kEmptyFence) {} in AcquiredBuffer() function
23 AcquiredBuffer(const std::shared_ptr<ConsumerBuffer>& buffer,
31 AcquiredBuffer(const std::shared_ptr<ConsumerBuffer>& buffer, int* error);
34 AcquiredBuffer(AcquiredBuffer&& other) noexcept;
36 ~AcquiredBuffer();
42 AcquiredBuffer& operator=(AcquiredBuffer&& other) noexcept;
80 AcquiredBuffer(const AcquiredBuffer&) = delete;
81 void operator=(const AcquiredBuffer&) = delete;
Ddisplay_surface.h149 AcquiredBuffer AcquireCurrentBuffer();
153 AcquiredBuffer AcquireNewestAvailableBuffer(AcquiredBuffer* skipped_buffer);
177 RingBuffer<AcquiredBuffer> acquired_buffers_;
Ddisplay_surface.cpp385 AcquiredBuffer(buffer_consumer, std::move(acquire_fence), slot)); in DequeueBuffersLocked()
389 AcquiredBuffer DirectDisplaySurface::AcquireCurrentBuffer() { in AcquireCurrentBuffer()
397 return AcquiredBuffer(); in AcquireCurrentBuffer()
399 AcquiredBuffer buffer = std::move(acquired_buffers_.Front()); in AcquireCurrentBuffer()
406 AcquiredBuffer DirectDisplaySurface::AcquireNewestAvailableBuffer( in AcquireNewestAvailableBuffer()
407 AcquiredBuffer* skipped_buffer) { in AcquireNewestAvailableBuffer()
411 AcquiredBuffer buffer; in AcquireNewestAvailableBuffer()
Dhardware_composer.h195 AcquiredBuffer acquired_buffer;
/frameworks/rs/
DrsGrallocConsumer.h64 struct AcquiredBuffer { struct
68 AcquiredBuffer() : in AcquiredBuffer() function
73 AcquiredBuffer *mAcquiredBuffer;
DrsGrallocConsumer.cpp29 mAcquiredBuffer = new AcquiredBuffer[numAlloc]; in GrallocConsumer()
/frameworks/native/libs/gui/include/gui/
DCpuConsumer.h119 struct AcquiredBuffer { struct
129 AcquiredBuffer() : in AcquiredBuffer() function
145 Vector<AcquiredBuffer> mAcquiredBuffers; argument
/frameworks/native/libs/gui/
DCpuConsumer.cpp185 size_t lockedIdx = findAcquiredBufferLocked(AcquiredBuffer::kUnusedId); in lockNextBuffer()
187 AcquiredBuffer& ab = mAcquiredBuffers.editItemAt(lockedIdx); in lockNextBuffer()
203 (id != AcquiredBuffer::kUnusedId) ? findAcquiredBufferLocked(id) : mMaxLockedBuffers; in unlockBuffer()
209 AcquiredBuffer& ab = mAcquiredBuffers.editItemAt(lockedIdx); in unlockBuffer()
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/
DGraphicBufferSource.h250 struct AcquiredBuffer;
255 std::shared_ptr<AcquiredBuffer> mBuffer;
317 KeyedVector<codec_buffer_id, std::shared_ptr<AcquiredBuffer>> mSubmittedCodecBuffers;
/frameworks/av/media/libstagefright/bqhelper/
DGraphicBufferSource.cpp168 struct GraphicBufferSource::AcquiredBuffer { struct in android::GraphicBufferSource
169 AcquiredBuffer( in AcquiredBuffer() argument
171 std::function<void(AcquiredBuffer *)> onReleased, in AcquiredBuffer()
250 ~AcquiredBuffer() { in ~AcquiredBuffer() argument
267 std::function<void(AcquiredBuffer *)> mOnReleased; argument
533 std::shared_ptr<AcquiredBuffer> buffer = mSubmittedCodecBuffers.valueAt(cbi); in onInputBufferEmptied()
879 std::shared_ptr<AcquiredBuffer> buffer = item.mBuffer; in submitBuffer_l()
962 std::shared_ptr<AcquiredBuffer> acquiredBuffer = in acquireBuffer_l()
963 std::make_shared<AcquiredBuffer>( in acquireBuffer_l()
965 [frameNum, this](AcquiredBuffer *buffer){ in acquireBuffer_l()