Home
last modified time | relevance | path

Searched refs:cached_buffers_ (Results 1 – 2 of 2) sorted by relevance

/hardware/google/camera/common/hal/utils/
Dstream_buffer_cache_manager.cc388 if (cached_buffers_.empty()) { in GetBuffer()
398 if (cached_buffers_.empty()) { in GetBuffer()
409 if (cached_buffers_.empty()) { in GetBuffer()
423 res->buffer = cached_buffers_.back(); in GetBuffer()
424 cached_buffers_.pop_back(); in GetBuffer()
453 if (cached_buffers_.empty()) { in FlushLocked()
459 status_t res = cache_info_.return_func(cached_buffers_); in FlushLocked()
465 cached_buffers_.clear(); in FlushLocked()
490 if (cached_buffers_.size() >= cache_info_.num_buffers_to_cache) { in Refill()
496 cache_info_.num_buffers_to_cache - cached_buffers_.size(); in Refill()
[all …]
Dstream_buffer_cache_manager.h240 std::vector<StreamBuffer> cached_buffers_; variable