Home
last modified time | relevance | path

Searched refs:streamIds (Results 1 - 25 of 28) sorted by relevance

12

/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcameradata/
H A Ddcamera_stream_data_process.h38 void ConfigStreams(std::shared_ptr<DCameraStreamConfig>& dstConfig, std::set<int32_t>& streamIds);
39 void ReleaseStreams(std::set<int32_t>& streamIds);
40 void StartCapture(std::shared_ptr<DCameraStreamConfig>& srcConfig, std::set<int32_t>& streamIds);
41 void StopCapture(std::set<int32_t>& streamIds);
42 void GetAllStreamIds(std::set<int32_t>& streamIds);
H A Ddcamera_source_data_process.h38 int32_t ReleaseStreams(std::vector<int32_t>& streamIds) override;
40 int32_t StopCapture(std::vector<int32_t>& streamIds) override;
42 void GetAllStreamIds(std::vector<int32_t>& streamIds) override;
H A Ddcamera_source_input.h35 int32_t ReleaseStreams(std::vector<int>& streamIds, bool& isAllRelease) override;
38 int32_t StopCapture(std::vector<int>& streamIds, bool& isAllStop) override;
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/
H A Ddcamera_stream_data_process.cpp71 std::set<int32_t>& streamIds) in ConfigStreams()
73 for (auto streamId : streamIds) { in ConfigStreams()
80 streamIds_ = streamIds; in ConfigStreams()
83 void DCameraStreamDataProcess::ReleaseStreams(std::set<int32_t>& streamIds) in ReleaseStreams() argument
85 for (auto streamId : streamIds) { in ReleaseStreams()
90 for (auto iter = streamIds.begin(); iter != streamIds.end(); iter++) { in ReleaseStreams()
105 std::set<int32_t>& streamIds) in StartCapture()
107 for (auto iter = streamIds.begin(); iter != streamIds in StartCapture()
70 ConfigStreams(std::shared_ptr<DCameraStreamConfig>& dstConfig, std::set<int32_t>& streamIds) ConfigStreams() argument
104 StartCapture(std::shared_ptr<DCameraStreamConfig>& srcConfig, std::set<int32_t>& streamIds) StartCapture() argument
143 StopCapture(std::set<int32_t>& streamIds) StopCapture() argument
174 GetAllStreamIds(std::set<int32_t>& streamIds) GetAllStreamIds() argument
[all...]
H A Ddcamera_source_data_process.cpp114 int32_t DCameraSourceDataProcess::ReleaseStreams(std::vector<int32_t>& streamIds) in ReleaseStreams() argument
119 std::set<int32_t> streamIdSet(streamIds.begin(), streamIds.end()); in ReleaseStreams()
158 std::set<int32_t> streamIds(captureInfo->streamIds_.begin(), captureInfo->streamIds_.end()); in StartCapture()
159 for (auto iterSet = streamIds.begin(); iterSet != streamIds.end(); iterSet++) { in StartCapture()
164 (*iter)->StartCapture(streamConfig, streamIds); in StartCapture()
169 int32_t DCameraSourceDataProcess::StopCapture(std::vector<int32_t>& streamIds) in StopCapture() argument
173 std::set<int32_t> streamIdSet(streamIds.begin(), streamIds in StopCapture()
209 GetAllStreamIds(std::vector<int32_t>& streamIds) GetAllStreamIds() argument
[all...]
H A Ddcamera_source_input.cpp101 int32_t DCameraSourceInput::ReleaseStreams(std::vector<int>& streamIds, bool& isAllRelease) in ReleaseStreams() argument
105 int32_t ret = dataProcess_[CONTINUOUS_FRAME]->ReleaseStreams(streamIds); in ReleaseStreams()
111 ret = dataProcess_[SNAPSHOT_FRAME]->ReleaseStreams(streamIds); in ReleaseStreams()
152 int32_t DCameraSourceInput::StopCapture(std::vector<int>& streamIds, bool& isAllStop) in StopCapture() argument
156 int32_t ret = dataProcess_[CONTINUOUS_FRAME]->StopCapture(streamIds); in StopCapture()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcameramgr/
H A Ddcamera_stream_data_process_test.cpp110 std::set<int32_t> streamIds; in HWTEST_F() local
111 streamIds.insert(1); in HWTEST_F()
112 streamProcess->ConfigStreams(srcConfig, streamIds); in HWTEST_F()
113 streamProcess->StartCapture(srcConfig, streamIds); in HWTEST_F()
154 std::set<int32_t> streamIds; in HWTEST_F() local
155 streamIds.insert(1); in HWTEST_F()
156 streamProcess->ConfigStreams(srcConfig, streamIds); in HWTEST_F()
157 streamProcess->StartCapture(srcConfig, streamIds); in HWTEST_F()
182 std::set<int32_t> streamIds; in HWTEST_F() local
183 streamIds in HWTEST_F()
[all...]
H A Ddcamera_source_dev_test.cpp232 std::vector<int> streamIds; in HWTEST_F() local
234 streamIds.push_back(streamId); in HWTEST_F()
247 ret = camDev_->ReleaseCameraStreams(streamIds); in HWTEST_F()
297 std::vector<int> streamIds; in HWTEST_F() local
298 streamIds.push_back(streamId); in HWTEST_F()
299 ret = camDev_->StopCameraCapture(streamIds); in HWTEST_F()
331 std::vector<int> streamIds; in HWTEST_F() local
332 streamIds.push_back(streamId); in HWTEST_F()
333 camDev_->StopCameraCapture(streamIds); in HWTEST_F()
487 std::vector<int> streamIds; in HWTEST_F() local
583 std::vector<int> streamIds; HWTEST_F() local
[all...]
H A Ddcamera_provider_callback_impl_test.cpp201 std::vector<int> streamIds; in HWTEST_F() local
202 ret = testProviderCallback_->ReleaseStreams(dhBase, streamIds); in HWTEST_F()
239 std::vector<int> streamIds; in HWTEST_F() local
240 ret = testProviderCallback_->StopCapture(dhBase, streamIds); in HWTEST_F()
362 std::vector<int> streamIds; in HWTEST_F() local
363 ret = testProviderCallback->ReleaseStreams(dhBase, streamIds); in HWTEST_F()
444 std::vector<int> streamIds; in HWTEST_F() local
445 ret = testProviderCallback->StopCapture(dhBase, streamIds); in HWTEST_F()
H A Dmock_dcamera_source_dev.h52 int32_t ReleaseStreams(std::vector<int>& streamIds, bool& isAllRelease) in ReleaseStreams() argument
65 int32_t StopCapture(std::vector<int>& streamIds, bool& isAllStop) in StopCapture() argument
H A Ddcamera_source_data_process_test.cpp168 std::vector<int32_t> streamIds; in HWTEST_F() local
169 streamIds.push_back(1); in HWTEST_F()
170 rc = testSrcDataProcess_->StopCapture(streamIds); in HWTEST_F()
/foundation/multimedia/camera_framework/test/fuzztest/cameradevice_fuzzer/
H A Dcamera_device_fuzzer.h69 const std::vector<int32_t>& streamIds, uint64_t timestamp) override
75 const std::vector<int32_t>& streamIds, uint64_t timestamp) override
85 inline int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t>& streamIds) override
103 const std::vector<int32_t>& streamIds, uint64_t timestamp) override
H A Dcamera_device_fuzzer.cpp208 vector<int32_t> streamIds{data.ReadInt32()}; in CameraDeviceFuzzTest2Case3()
209 fuzzCameraDevice->OnFrameShutter(data.ReadInt32(), streamIds, data.ReadUint64()); in CameraDeviceFuzzTest2Case3()
210 fuzzCameraDevice->OnFrameShutterEnd(data.ReadInt32(), streamIds, data.ReadUint64()); in CameraDeviceFuzzTest2Case3()
211 fuzzCameraDevice->OnCaptureReady(data.ReadInt32(), streamIds, data.ReadUint64()); in CameraDeviceFuzzTest2Case3()
221 fuzzCameraDevice->OnCaptureStarted(data.ReadInt32(), streamIds); in CameraDeviceFuzzTest2Case3()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcamerainterface/
H A Dicamera_source_data_process.h61 virtual int32_t ReleaseStreams(std::vector<int32_t>& streamIds) = 0;
63 virtual int32_t StopCapture(std::vector<int32_t>& streamIds) = 0;
65 virtual void GetAllStreamIds(std::vector<int32_t>& streamIds) = 0;
H A Dicamera_input.h29 virtual int32_t ReleaseStreams(std::vector<int>& streamIds, bool& isAllRelease) = 0;
32 virtual int32_t StopCapture(std::vector<int>& streamIds, bool& isAllStop) = 0;
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/
H A Ddcamera_source_dev.h58 int32_t ReleaseCameraStreams(const std::vector<int>& streamIds);
60 int32_t StopCameraCapture(const std::vector<int>& streamIds);
89 virtual int32_t ReleaseStreams(std::vector<int>& streamIds, bool& isAllRelease);
92 virtual int32_t StopCapture(std::vector<int>& streamIds, bool& isAllStop);
H A Ddcamera_source_event.h94 explicit DCameraSourceEvent(DCAMERA_EVENT eventType, const std::vector<int>& streamIds) in DCameraSourceEvent() argument
97 eventParam_ = std::move(streamIds); in DCameraSourceEvent()
111 int32_t GetStreamIds(std::vector<int>& streamIds);
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcamerahdf/
H A Ddcamera_provider_callback_impl.h33 int32_t ReleaseStreams(const DHBase& dhBase, const std::vector<int>& streamIds) override;
35 int32_t StopCapture(const DHBase& dhBase, const std::vector<int>& streamIds) override;
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcamerahdf/
H A Ddcamera_provider_callback_impl.cpp157 int32_t DCameraProviderCallbackImpl::ReleaseStreams(const DHBase& dhBase, const std::vector<int>& streamIds) in ReleaseStreams() argument
161 if (!CheckDHBase(dhBase) || streamIds.size() > PARAM_MAX_SIZE) { in ReleaseStreams()
171 int32_t ret = sourceDev->ReleaseCameraStreams(streamIds); in ReleaseStreams()
245 int32_t DCameraProviderCallbackImpl::StopCapture(const DHBase& dhBase, const std::vector<int>& streamIds) in StopCapture() argument
249 if (!CheckDHBase(dhBase) || streamIds.size() > PARAM_MAX_SIZE) { in StopCapture()
259 int32_t ret = sourceDev->StopCameraCapture(streamIds); in StopCapture()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/
H A Ddcamera_source_event.cpp79 int32_t DCameraSourceEvent::GetStreamIds(std::vector<int>& streamIds) in GetStreamIds() argument
83 DHLOGE("DCameraSourceEvent can not get_if streamIds"); in GetStreamIds()
86 streamIds = std::move(*streamIdsPtr); in GetStreamIds()
H A Ddcamera_source_dev.cpp199 int32_t DCameraSourceDev::ReleaseCameraStreams(const std::vector<int>& streamIds) in ReleaseCameraStreams() argument
203 DCameraSourceEvent event(DCAMERA_EVENT_RELEASE_STREAMS, streamIds); in ReleaseCameraStreams()
225 int32_t DCameraSourceDev::StopCameraCapture(const std::vector<int>& streamIds) in StopCameraCapture() argument
229 DCameraSourceEvent event(DCAMERA_EVENT_STOP_CAPTURE, streamIds); in StopCameraCapture()
550 int32_t DCameraSourceDev::ReleaseStreams(std::vector<int>& streamIds, bool& isAllRelease) in ReleaseStreams() argument
554 int32_t ret = input_->ReleaseStreams(streamIds, isAllRelease); in ReleaseStreams()
646 int32_t DCameraSourceDev::StopCapture(std::vector<int>& streamIds, bool& isAllStop) in StopCapture() argument
650 int32_t ret = input_->StopCapture(streamIds, isAllStop); in StopCapture()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcamerastate/
H A Ddcamera_source_capture_state.cpp192 std::vector<int> streamIds; in DoStopCaptureTask() local
193 int32_t ret = event.GetStreamIds(streamIds); in DoStopCaptureTask()
199 ret = camDev->StopCapture(streamIds, isAllStop); in DoStopCaptureTask()
H A Ddcamera_source_config_stream_state.cpp199 std::vector<int> streamIds; in DoReleaseStreamsTask() local
200 int32_t ret = event.GetStreamIds(streamIds); in DoReleaseStreamsTask()
206 ret = camDev->ReleaseStreams(streamIds, isAllRelease); in DoReleaseStreamsTask()
/foundation/multimedia/camera_framework/services/camera_service/include/
H A Dhcamera_device.h82 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t>& streamIds) override;
89 int32_t OnFrameShutter(int32_t captureId, const std::vector<int32_t>& streamIds, uint64_t timestamp) override;
90 int32_t OnFrameShutterEnd(int32_t captureId, const std::vector<int32_t>& streamIds, uint64_t timestamp) override;
91 int32_t OnCaptureReady(int32_t captureId, const std::vector<int32_t>& streamIds, uint64_t timestamp) override;
H A Dhcapture_session.h131 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t>& streamIds) override;
138 int32_t OnFrameShutter(int32_t captureId, const std::vector<int32_t>& streamIds, uint64_t timestamp) override;
139 int32_t OnFrameShutterEnd(int32_t captureId, const std::vector<int32_t>& streamIds, uint64_t timestamp) override;
140 int32_t OnCaptureReady(int32_t captureId, const std::vector<int32_t>& streamIds, uint64_t timestamp) override;

Completed in 17 milliseconds

12