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.cc353 if (cached_buffers_.empty()) { in GetBuffer()
363 if (cached_buffers_.empty()) { in GetBuffer()
374 if (cached_buffers_.empty()) { in GetBuffer()
388 res->buffer = cached_buffers_.back(); in GetBuffer()
389 cached_buffers_.pop_back(); in GetBuffer()
418 if (cached_buffers_.empty()) { in FlushLocked()
424 status_t res = cache_info_.return_func(cached_buffers_); in FlushLocked()
430 cached_buffers_.clear(); in FlushLocked()
455 if (cached_buffers_.size() >= cache_info_.num_buffers_to_cache) { in Refill()
461 cache_info_.num_buffers_to_cache - cached_buffers_.size(); in Refill()
[all …]
Dstream_buffer_cache_manager.h238 std::vector<StreamBuffer> cached_buffers_; variable