Home
last modified time | relevance | path

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

/hardware/google/camera/common/hal/utils/
Dstream_buffer_cache_manager.cc381 res->buffer = dummy_buffer_; in GetBuffer()
411 if (dummy_buffer_.buffer == nullptr) { in GetBuffer()
419 res->buffer = dummy_buffer_; in GetBuffer()
564 if (dummy_buffer_.buffer != nullptr) { in AllocateDummyBufferLocked()
592 dummy_buffer_.stream_id = cache_info_.stream_id; in AllocateDummyBufferLocked()
593 dummy_buffer_.buffer = buffers[0]; in AllocateDummyBufferLocked()
595 dummy_buffer_.stream_id, dummy_buffer_.buffer); in AllocateDummyBufferLocked()
602 if (dummy_buffer_.buffer != nullptr) { in ReleaseDummyBufferLocked()
603 std::vector<buffer_handle_t> buffers(1, dummy_buffer_.buffer); in ReleaseDummyBufferLocked()
605 dummy_buffer_.buffer = nullptr; in ReleaseDummyBufferLocked()
Dstream_buffer_cache_manager.h256 StreamBuffer dummy_buffer_; variable