Home
last modified time | relevance | path

Searched refs:hal_streams (Results 1 – 24 of 24) sorted by relevance

/hardware/google/camera/common/hal/utils/
Dinternal_stream_manager.cc213 const std::vector<HalStream>& hal_streams) const { in CanHalStreamsShareBuffersLocked()
214 if (hal_streams.size() < 2) { in CanHalStreamsShareBuffersLocked()
216 hal_streams.size()); in CanHalStreamsShareBuffersLocked()
220 int32_t first_stream_id = hal_streams[0].id; in CanHalStreamsShareBuffersLocked()
221 for (uint32_t i = 0; i < hal_streams.size(); i++) { in CanHalStreamsShareBuffersLocked()
222 int32_t stream_id = hal_streams[i].id; in CanHalStreamsShareBuffersLocked()
234 hal_streams[0], registered_streams_.at(stream_id), in CanHalStreamsShareBuffersLocked()
235 hal_streams[i])) { in CanHalStreamsShareBuffersLocked()
242 hal_utils::DumpHalStream(hal_streams[0], "hal_stream_0"); in CanHalStreamsShareBuffersLocked()
243 hal_utils::DumpHalStream(hal_streams[i], "hal_stream_1"); in CanHalStreamsShareBuffersLocked()
[all …]
Dhdrplus_process_block.cc115 std::vector<HalStream>* hal_streams) const { in GetConfiguredHalStreams()
118 if (hal_streams == nullptr) { in GetConfiguredHalStreams()
128 return device_session_hwl_->GetConfiguredHalStream(pipeline_id_, hal_streams); in GetConfiguredHalStreams()
Dinternal_stream_manager.h66 status_t AllocateSharedBuffers(const std::vector<HalStream>& hal_streams,
133 const std::vector<HalStream>& hal_streams) const;
Drealtime_process_block.cc122 std::vector<HalStream>* hal_streams) const { in GetConfiguredHalStreams()
125 if (hal_streams == nullptr) { in GetConfiguredHalStreams()
135 return device_session_hwl_->GetConfiguredHalStream(pipeline_id_, hal_streams); in GetConfiguredHalStreams()
Dmulticam_realtime_process_block.cc181 std::vector<HalStream>* hal_streams) const { in GetConfiguredHalStreams()
184 if (hal_streams == nullptr) { in GetConfiguredHalStreams()
194 hal_streams->clear(); in GetConfiguredHalStreams()
205 hal_streams->insert(hal_streams->end(), pipeline_hal_stream.begin(), in GetConfiguredHalStreams()
Dhdrplus_process_block.h47 std::vector<HalStream>* hal_streams) const override;
Drealtime_process_block.h50 std::vector<HalStream>* hal_streams) const override;
Dmulticam_realtime_process_block.h53 std::vector<HalStream>* hal_streams) const override;
/hardware/google/camera/common/hal/tests/
Dprocess_block_tests.cc146 std::vector<HalStream> hal_streams; in TEST_F() local
147 ASSERT_EQ(block->GetConfiguredHalStreams(&hal_streams), NO_INIT) in TEST_F()
152 ASSERT_EQ(block->GetConfiguredHalStreams(&hal_streams), OK); in TEST_F()
153 ASSERT_EQ(hal_streams.size(), test_config_.streams.size()); in TEST_F()
195 std::vector<HalStream> hal_streams; in TEST_F() local
196 ASSERT_EQ(block->GetConfiguredHalStreams(&hal_streams), OK); in TEST_F()
197 EXPECT_EQ(hal_streams.size(), test_config_.streams.size()); in TEST_F()
235 std::vector<HalStream> hal_streams; in TEST_F() local
236 ASSERT_EQ(block->GetConfiguredHalStreams(&hal_streams), OK); in TEST_F()
237 EXPECT_EQ(hal_streams.size(), test_config_.streams.size()); in TEST_F()
Dmock_process_block.h37 status_t(std::vector<HalStream>* hal_streams));
Dmock_device_session_hwl.cc144 uint32_t pipeline_id, std::vector<HalStream>* hal_streams) const { in GetConfiguredHalStream()
146 if (hal_streams == nullptr) { in GetConfiguredHalStream()
159 *hal_streams = pipeline_hal_streams_map_.at(pipeline_id); in GetConfiguredHalStream()
Dmock_device_session_hwl.h66 uint32_t pipeline_id, std::vector<HalStream>* hal_streams) const override;
155 std::vector<HalStream>* hal_streams));
Dcamera_device_session_tests.cc371 hal_configured_streams = std::move(hal_config.hal_streams); in TEST_F()
430 hal_configured_streams = std::move(hal_config.hal_streams); in TEST_F()
/hardware/google/camera/common/hal/google_camera_hal/
Dcapture_session_wrapper_process_block.cc147 std::vector<HalStream>* hal_streams) const { in GetConfiguredHalStreams()
150 if (hal_streams == nullptr) { in GetConfiguredHalStreams()
161 hal_streams); in GetConfiguredHalStreams()
Dcapture_session_wrapper_process_block.h57 std::vector<HalStream>* hal_streams) const override;
Ddepth_process_block.h61 std::vector<HalStream>* hal_streams) const override;
Ddepth_process_block.cc266 std::vector<HalStream>* hal_streams) const { in GetConfiguredHalStreams()
269 if (hal_streams == nullptr) { in GetConfiguredHalStreams()
279 hal_streams->push_back(depth_stream_); in GetConfiguredHalStreams()
Dcamera_device_session.cc673 std::vector<HalStream>& hal_config = configured_streams->hal_streams; in ConfigureStreams()
1683 const std::vector<HalStream>& hal_streams) { in RegisterStreamsIntoCacheManagerLocked() argument
1690 for (auto& hal_stream : hal_streams) { in RegisterStreamsIntoCacheManagerLocked()
/hardware/google/camera/common/hal/aidl_service/
Daidl_utils.cc196 aidl_config->halStreams.resize(hal_config.hal_streams.size()); in ConvertToAidlHalStreamConfig()
198 for (uint32_t i = 0; i < hal_config.hal_streams.size(); i++) { in ConvertToAidlHalStreamConfig()
201 if (hal_config.hal_streams[i].is_physical_camera_stream) { in ConvertToAidlHalStreamConfig()
203 std::to_string(hal_config.hal_streams[i].physical_camera_id); in ConvertToAidlHalStreamConfig()
208 hal_config.hal_streams[i].override_data_space); in ConvertToAidlHalStreamConfig()
210 dst.id = hal_config.hal_streams[i].id; in ConvertToAidlHalStreamConfig()
214 hal_config.hal_streams[i].override_format); in ConvertToAidlHalStreamConfig()
218 hal_config.hal_streams[i].producer_usage); in ConvertToAidlHalStreamConfig()
222 hal_config.hal_streams[i].consumer_usage); in ConvertToAidlHalStreamConfig()
224 dst.maxBuffers = hal_config.hal_streams[i].max_buffers; in ConvertToAidlHalStreamConfig()
[all …]
/hardware/google/camera/common/hal/hwl_interface/
Dprocess_block.h72 std::vector<HalStream>* hal_streams) const = 0;
Dcamera_device_session_hwl.h117 uint32_t pipeline_id, std::vector<HalStream>* hal_streams) const = 0;
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedCameraDeviceSessionHWLImpl.cpp337 uint32_t pipeline_id, std::vector<HalStream>* hal_streams) const { in GetConfiguredHalStream()
340 if (hal_streams == nullptr) { in GetConfiguredHalStream()
356 hal_streams->reserve(streams.size()); in GetConfiguredHalStream()
358 hal_streams->push_back(it.second); in GetConfiguredHalStream()
DEmulatedCameraDeviceSessionHWLImpl.h122 uint32_t pipeline_id, std::vector<HalStream>* hal_streams) const override;
/hardware/google/camera/common/hal/common/
Dhal_types.h181 std::vector<HalStream> hal_streams; member