Home
last modified time | relevance | path

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

/hardware/google/camera/common/hal/tests/
Dzsl_buffer_manager_tests.cc143 std::vector<ZslBufferManager::ZslBuffer> filled_buffers; in TEST() local
144 manager->GetMostRecentZslBuffers(&filled_buffers, kGetTotalBufferNum, in TEST()
146 ASSERT_EQ(filled_buffers.size(), (uint32_t)kGetTotalBufferNum) in TEST()
153 ASSERT_EQ(filled_buffers[k].frame_number, in TEST()
157 manager->ReturnZslBuffers(std::move(filled_buffers)); in TEST()
194 std::vector<ZslBufferManager::ZslBuffer> filled_buffers; in TEST() local
196 filled_buffers.push_back(std::move(zsl_buffer)); in TEST()
197 manager->AddPendingBuffers(filled_buffers); in TEST()
203 status_t res = manager->CleanPendingBuffers(&filled_buffers); in TEST()
/hardware/google/camera/common/hal/utils/
Dinternal_stream_manager.cc462 std::vector<ZslBufferManager::ZslBuffer> filled_buffers; in GetMostRecentStreamBuffer() local
464 &filled_buffers, payload_frames, min_filled_buffers); in GetMostRecentStreamBuffer()
466 if (filled_buffers.size() == 0) { in GetMostRecentStreamBuffer()
473 buffer_managers_[owner_stream_id]->AddPendingBuffers(filled_buffers); in GetMostRecentStreamBuffer()
475 for (uint32_t i = 0; i < filled_buffers.size(); i++) { in GetMostRecentStreamBuffer()
482 buffer.buffer = filled_buffers[i].buffer.buffer; in GetMostRecentStreamBuffer()
484 if (filled_buffers[i].metadata == nullptr) { in GetMostRecentStreamBuffer()
490 input_buffer_metadata->push_back(std::move(filled_buffers[i].metadata)); in GetMostRecentStreamBuffer()