Home
last modified time | relevance | path

Searched refs:free_buffers_ (Results 1 – 4 of 4) sorted by relevance

/external/v4l2_codec2/accel/
Dv4l2_device.cc220 std::set<size_t> free_buffers_ GUARDED_BY(lock_);
227 auto inserted = free_buffers_.emplace(buffer_id); in ReturnBuffer()
234 auto iter = free_buffers_.begin(); in GetFreeBuffer()
235 if (iter == free_buffers_.end()) { in GetFreeBuffer()
241 free_buffers_.erase(iter); in GetFreeBuffer()
250 return (free_buffers_.erase(requested_buffer_id) > 0) in GetFreeBuffer()
258 return free_buffers_.size(); in size()
302 : queue_(std::move(queue)), return_to_(queue_->free_buffers_) { in V4L2BufferRefBase()
741 DCHECK(!free_buffers_); in ~V4L2Queue()
775 DCHECK(!free_buffers_); in AllocateBuffers()
[all …]
Dv4l2_device.h369 scoped_refptr<V4L2BuffersList> free_buffers_; variable
/external/libgav1/libgav1/examples/
Dgav1_decode.cc206 for (auto buffer : free_buffers_) { in ~InputBuffers()
211 if (free_buffers_.empty()) { in GetFreeBuffer()
217 free_buffers_.push_back(buffer); in GetFreeBuffer()
219 InputBuffer* const buffer = free_buffers_.front(); in GetFreeBuffer()
220 free_buffers_.pop_front(); in GetFreeBuffer()
225 free_buffers_.push_back(buffer); in ReleaseInputBuffer()
229 std::deque<InputBuffer*> free_buffers_; member in __anona186dcda0111::InputBuffers
/external/exoplayer/tree/extensions/av1/src/main/jni/
Dgav1_jni.cc224 output_buffer = free_buffers_[--free_buffer_count_]; in GetBuffer()
259 free_buffers_[free_buffer_count_++] = buffer; in ReleaseBuffer()
270 JniFrameBuffer* free_buffers_[kMaxFrames]; member in __anon6e9eb4b70111::JniBufferManager