Home
last modified time | relevance | path

Searched refs:streamInfos (Results 1 – 25 of 58) sorted by relevance

123

/drivers/peripheral/camera/test/ut/v4l2/
Dcamera_preview_test.cpp60 std::vector<StreamInfo> streamInfos; variable
71 streamInfos.push_back(streamInfo);
72 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos);
103 std::vector<StreamInfo> streamInfos; variable
114 std::vector<StreamInfo>().swap(streamInfos);
115 streamInfos.push_back(streamInfo);
116 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos);
157 std::vector<StreamInfo> streamInfos; variable
168 streamInfos.push_back(streamInfo);
169 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos);
[all …]
Dusb_camera_test.cpp520 std::vector<StreamInfo> streamInfos; in TEST_F() local
531 std::vector<StreamInfo>().swap(streamInfos); in TEST_F()
532 streamInfos.push_back(streamInfo); in TEST_F()
533 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos); in TEST_F()
675 std::vector<StreamInfo> streamInfos; in TEST_F() local
687 streamInfos.push_back(streamInfo); in TEST_F()
704 streamInfos.push_back(streamInfoCapture); in TEST_F()
705 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos); in TEST_F()
830 std::vector<StreamInfo> streamInfos; in TEST_F() local
842 streamInfos.push_back(streamInfo); in TEST_F()
[all …]
Dcamera_capture_test.cpp291 std::vector<StreamInfo> streamInfos; variable
302 streamInfos.push_back(cameraBase_->streamInfo);
303 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos);
345 std::vector<StreamInfo> streamInfos; variable
356 streamInfos.push_back(cameraBase_->streamInfo);
357 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos);
Dtest_camera_base.cpp542 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
543 streamInfos.push_back(streamInfoPre); in StartStream()
560 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
561 streamInfos.push_back(streamInfoVideo); in StartStream()
578 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
579 streamInfos.push_back(streamInfoCapture); in StartStream()
595 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
596 streamInfos.push_back(streamInfoAnalyze); in StartStream()
598 rc = (CamRetCode)streamOperator->CreateStreams(streamInfos); in StartStream()
/drivers/peripheral/distributed_camera/hdi_service/test/unittest/common/dstream_operator/
Ddstream_operator_test.cpp165 std::vector<StreamInfo> streamInfos; variable
166 streamInfos.push_back(streamInfo);
167 int32_t rc = dstreamOperator_->CreateStreams(streamInfos);
194 std::vector<StreamInfo> streamInfos; variable
195 streamInfos.push_back(streamInfo);
196 int32_t rc = dstreamOperator_->CreateStreams(streamInfos);
227 std::vector<StreamInfo> streamInfos; variable
228 streamInfos.push_back(streamInfo);
229 int32_t rc = dstreamOperator_->CreateStreams(streamInfos);
261 std::vector<StreamInfo> streamInfos; variable
[all …]
/drivers/peripheral/camera/hal_c/hdi_cif/src/
Dstream_operator.cpp69 …mRetCode StreamOperator::CreateStreams(const std::vector<std::shared_ptr<StreamInfo>>& streamInfos) in CreateStreams() argument
75 int count = streamInfos.size(); in CreateStreams()
85 sis[i].streamId = streamInfos[i]->streamId_; in CreateStreams()
86 sis[i].width = streamInfos[i]->width_; in CreateStreams()
87 sis[i].height = streamInfos[i]->height_; in CreateStreams()
88 sis[i].format = streamInfos[i]->format_; in CreateStreams()
89 sis[i].dataspace = streamInfos[i]->dataspace_; in CreateStreams()
90 sis[i].intent = streamInfos[i]->intent_; in CreateStreams()
91 sis[i].tunneledMode = streamInfos[i]->tunneledMode_; in CreateStreams()
92 sis[i].minFrameDuration = streamInfos[i]->minFrameDuration_; in CreateStreams()
[all …]
/drivers/peripheral/camera/test/hdi/v1_0/src/
Dhdi_stream_uttest.cpp98 cameraTest->streamInfos.push_back(*cameraTest->streamInfo);
99 cameraTest->rc = cameraTest->streamOperator->CreateStreams(cameraTest->streamInfos);
125 cameraTest->streamInfos.push_back(*cameraTest->streamInfo);
126 cameraTest->rc = cameraTest->streamOperator->CreateStreams(cameraTest->streamInfos);
147 cameraTest->streamInfos.push_back(*cameraTest->streamInfo);
148 cameraTest->rc = cameraTest->streamOperator->CreateStreams(cameraTest->streamInfos);
169 cameraTest->streamInfos.push_back(*cameraTest->streamInfo);
170 cameraTest->rc = cameraTest->streamOperator->CreateStreams(cameraTest->streamInfos);
194 cameraTest->streamInfos.push_back(*cameraTest->streamInfo);
195 cameraTest->rc = cameraTest->streamOperator->CreateStreams(cameraTest->streamInfos);
[all …]
Dcamera_hal_hisysevent_test.cpp55 cameraTest->streamInfos.push_back(*cameraTest->streamInfoPre);
59 cameraTest->streamInfos.push_back(*cameraTest->streamInfoCapture);
60 cameraTest->rc = cameraTest->streamOperator->CreateStreams(cameraTest->streamInfos);
Dut_common.cpp266 streamInfos.push_back(*streamInfoPre); in StartStream()
269 streamInfos.push_back(*streamInfoVideo); in StartStream()
272 streamInfos.push_back(*streamInfoAnalyze); in StartStream()
275 streamInfos.push_back(*streamInfoCapture); in StartStream()
279 rc = streamOperator->CreateStreams(streamInfos); in StartStream()
284 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraconfigurestreams_fuzzer/
Ddcameraconfigurestreams_fuzzer.cpp48 std::vector<DCStreamInfo> streamInfos; in DcameraConfigureStreamsFuzzTest() local
58 streamInfos.push_back(streamInfo); in DcameraConfigureStreamsFuzzTest()
59 DCameraProvider::GetInstance()->ConfigureStreams(dhBase, streamInfos); in DcameraConfigureStreamsFuzzTest()
/drivers/peripheral/camera/test/mpi/src/
Dresolution_test.cpp81 Test_->streamInfos.push_back(Test_->streamInfo_pre);
110 Test_->streamInfos.push_back(Test_->streamInfo_capture);
112 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
127 std::vector<std::shared_ptr<Camera::StreamInfo>>().swap(Test_->streamInfos);
187 Test_->streamInfos.push_back(Test_->streamInfo_pre);
217 Test_->streamInfos.push_back(Test_->streamInfo_video);
219 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
234 std::vector<std::shared_ptr<Camera::StreamInfo>>().swap(Test_->streamInfos);
294 Test_->streamInfos.push_back(Test_->streamInfo_pre);
324 Test_->streamInfos.push_back(Test_->streamInfo_video);
[all …]
Dpipeline_test.cpp140 std::vector<std::shared_ptr<Camera::StreamInfo>>().swap(Test_->streamInfos);
141 Test_->streamInfos.push_back(Test_->streamInfo);
142 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
222 std::vector<std::shared_ptr<StreamInfo>>().swap(Test_->streamInfos);
223 Test_->streamInfos.push_back(Test_->streamInfo);
241 Test_->streamInfos.push_back(Test_->streamInfo2);
243 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
Dhdi_stream_test.cpp269 Test_->streamInfos.push_back(Test_->streamInfo);
270 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
315 Test_->streamInfos.push_back(Test_->streamInfo);
316 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
356 Test_->streamInfos.push_back(Test_->streamInfo);
357 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
400 Test_->streamInfos.push_back(Test_->streamInfo);
401 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
442 Test_->streamInfos.push_back(Test_->streamInfo);
443 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
[all …]
Ddfx_test.cpp362 Test_->streamInfos.push_back(Test_->streamInfo);
363 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
412 Test_->streamInfos.push_back(Test_->streamInfo);
413 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
484 std::vector<std::shared_ptr<Camera::StreamInfo>>().swap(Test_->streamInfos);
485 Test_->streamInfos.push_back(Test_->streamInfo);
486 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
545 std::vector<std::shared_ptr<Camera::StreamInfo>>().swap(Test_->streamInfos);
546 Test_->streamInfos.push_back(Test_->streamInfo);
547 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
[all …]
/drivers/peripheral/camera/test/benchmarktest/v1_0/src/
Dcamera_benchmark_test.cpp188 std::vector<StreamInfo> streamInfos; in BENCHMARK_F() local
189 streamInfos.push_back(*streamInfoPre); in BENCHMARK_F()
191 cameraTest->rc = cameraTest->streamOperator->CreateStreams(streamInfos); in BENCHMARK_F()
226 std::vector<StreamInfo> streamInfos; in BENCHMARK_F() local
227 streamInfos.push_back(*streamInfoPre); in BENCHMARK_F()
228 cameraTest->rc = cameraTest->streamOperator->CreateStreams(streamInfos); in BENCHMARK_F()
516 cameraTest->streamInfos.push_back(*cameraTest->streamInfo); in BENCHMARK_F()
535 cameraTest->streamInfos.push_back(*cameraTest->streamInfoSnapshot); in BENCHMARK_F()
537 cameraTest->rc = cameraTest->streamOperator->CreateStreams(cameraTest->streamInfos); in BENCHMARK_F()
595 cameraTest->streamInfos.push_back(*cameraTest->streamInfo); in BENCHMARK_F()
[all …]
Dbenchmark_common.cpp156 streamInfos.push_back(*streamInfoPre); in StartStream()
172 streamInfos.push_back(*streamInfoVideo); in StartStream()
205 streamInfos.push_back(*streamInfoAnalyze); in StartStream()
220 streamInfos.push_back(*streamInfoCapture); in StartStream()
224 rc = streamOperator->CreateStreams(streamInfos); in StartStream()
229 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
/drivers/peripheral/camera/test/benchmarktest/v1_3/src/
Dbenchmark_common.cpp320 streamInfos.push_back(*streamInfoPre); in StartProfessionalStream()
323 streamInfos.push_back(*streamInfoVideo); in StartProfessionalStream()
326 streamInfos.push_back(*streamInfoAnalyze); in StartProfessionalStream()
329 streamInfos.push_back(*streamInfoCapture); in StartProfessionalStream()
333 rc = streamOperator_V1_3->CreateStreams_V1_1(streamInfos); in StartProfessionalStream()
340 std::vector<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>().swap(streamInfos); in StartProfessionalStream()
370 streamInfos.push_back(*streamInfoPre); in StartStream()
373 streamInfos.push_back(*streamInfoVideo); in StartStream()
376 streamInfos.push_back(*streamInfoAnalyze); in StartStream()
379 streamInfos.push_back(*streamInfoCapture); in StartStream()
[all …]
/drivers/peripheral/camera/test/hdi/v1_3/src/
Dhdi_common_v1_3.cpp332 streamInfos.push_back(*streamInfoPre); in StartProfessionalStream()
335 streamInfos.push_back(*streamInfoVideo); in StartProfessionalStream()
338 streamInfos.push_back(*streamInfoAnalyze); in StartProfessionalStream()
341 streamInfos.push_back(*streamInfoCapture); in StartProfessionalStream()
345 rc = streamOperator_V1_3->CreateStreams_V1_1(streamInfos); in StartProfessionalStream()
352 std::vector<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>().swap(streamInfos); in StartProfessionalStream()
382 streamInfos.push_back(*streamInfoPre); in StartStream()
385 streamInfos.push_back(*streamInfoVideo); in StartStream()
388 streamInfos.push_back(*streamInfoAnalyze); in StartStream()
391 streamInfos.push_back(*streamInfoCapture); in StartStream()
[all …]
/drivers/interface/camera/v1_2/
DIStreamOperator.idl37 …* @param streamInfos Indicates the list of stream information, which is defined by {@link StreamIn…
47 UpdateStreams([in] struct StreamInfo_V1_1[] streamInfos);
/drivers/peripheral/camera/test/ut/usb_camera/
Dusb_camera_test.cpp519 std::vector<StreamInfo> streamInfos; in TEST_F() local
530 std::vector<StreamInfo>().swap(streamInfos); in TEST_F()
531 streamInfos.push_back(streamInfo); in TEST_F()
532 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos); in TEST_F()
676 std::vector<StreamInfo> streamInfos; in TEST_F() local
688 streamInfos.push_back(streamInfo); in TEST_F()
705 streamInfos.push_back(streamInfoCapture); in TEST_F()
706 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos); in TEST_F()
831 std::vector<StreamInfo> streamInfos; in TEST_F() local
843 streamInfos.push_back(streamInfo); in TEST_F()
[all …]
Dtest_camera_base.cpp563 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
564 streamInfos.push_back(streamInfoPre); in StartStream()
581 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
582 streamInfos.push_back(streamInfoVideo); in StartStream()
599 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
600 streamInfos.push_back(streamInfoCapture); in StartStream()
616 std::vector<StreamInfo>().swap(streamInfos); in StartStream()
617 streamInfos.push_back(streamInfoAnalyze); in StartStream()
619 rc = (CamRetCode)streamOperator->CreateStreams(streamInfos); in StartStream()
/drivers/peripheral/camera/hdi_service/v1_0/src/
Dstream_operator_service.cpp53 int32_t StreamOperatorService::CreateStreams(const std::vector<StreamInfo> &streamInfos) in CreateStreams() argument
57 for (auto info : streamInfos) { in CreateStreams()
/drivers/peripheral/camera/test/fuzztest/offline_stream_operator/
Doffline_stream_operator_fuzzer.cpp64 cameraTest->streamInfos.push_back(*cameraTest->streamInfoSnapshot); in FuncCancelCapture()
107 cameraTest->streamInfos.push_back(*cameraTest->streamInfoSnapshot); in FuncRelease()
/drivers/peripheral/camera/test/hdi/v1_1/src/
Dhdi_common_v1_1.cpp268 streamInfos.push_back(*streamInfoPre); in StartStream()
271 streamInfos.push_back(*streamInfoVideo); in StartStream()
274 streamInfos.push_back(*streamInfoAnalyze); in StartStream()
277 streamInfos.push_back(*streamInfoCapture); in StartStream()
281 rc = streamOperator_V1_1->CreateStreams_V1_1(streamInfos); in StartStream()
286 std::vector<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>().swap(streamInfos); in StartStream()
/drivers/peripheral/camera/test/benchmarktest/v1_1/src/
Dbenchmark_common.cpp199 streamInfos.push_back(*streamInfoPre); in StartStream()
215 streamInfos.push_back(*streamInfoVideo); in StartStream()
249 streamInfos.push_back(*streamInfoAnalyze); in StartStream()
265 streamInfos.push_back(*streamInfoCapture); in StartStream()
269 rc = streamOperator_V1_1->CreateStreams_V1_1(streamInfos); in StartStream()
274 std::vector<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1>().swap(streamInfos); in StartStream()

123