Home
last modified time | relevance | path

Searched refs:streamOperator (Results 1 – 25 of 53) sorted by relevance

123

/drivers/peripheral/camera/test/hdi/v1_0/src/
Dhdi_stream_uttest.cpp47 cameraTest->streamOperator);
77 …cameraTest->rc = cameraTest->streamOperator->IsStreamsSupported(OperationMode::NORMAL, modeSetting…
93 cameraTest->streamOperator);
94 …EXPECT_EQ(false, cameraTest->rc != HDI::Camera::V1_0::NO_ERROR || cameraTest->streamOperator == nu…
99 cameraTest->rc = cameraTest->streamOperator->CreateStreams(cameraTest->streamInfos);
104 cameraTest->rc = cameraTest->streamOperator->ReleaseStreams(streamIds);
119 cameraTest->streamOperator);
120 …EXPECT_EQ(false, cameraTest->rc != HDI::Camera::V1_0::NO_ERROR || cameraTest->streamOperator == nu…
126 cameraTest->rc = cameraTest->streamOperator->CreateStreams(cameraTest->streamInfos);
141 cameraTest->streamOperator);
[all …]
Dcamera_hal_hisysevent_test.cpp46 cameraTest->streamOperator);
60 cameraTest->rc = cameraTest->streamOperator->CreateStreams(cameraTest->streamInfos);
62 …cameraTest->rc = cameraTest->streamOperator->CommitStreams(OperationMode::NORMAL, cameraTest->abil…
Dut_common.cpp253 rc = cameraDevice->GetStreamOperator(streamOperatorCallback, streamOperator); in StartStream()
279 rc = streamOperator->CreateStreams(streamInfos); in StartStream()
281 rc = streamOperator->CommitStreams(OperationMode::NORMAL, abilityVec); in StartStream()
293 rc = (CamRetCode)streamOperator->Capture(captureId, *captureInfo, isStreaming); in StartCapture()
308 rc = streamOperator->CancelCapture(captureId); in StopStream()
319 rc = streamOperator->ReleaseStreams(streamIds); in StopStream()
/drivers/peripheral/camera/test/ut/v4l2/
Dcamera_preview_test.cpp72 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos);
116 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos);
121 …cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CommitStreams(NORMAL, cameraBase_->abil…
169 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos);
212 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos);
221 …cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CommitStreams(NORMAL, cameraBase_->abil…
315 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos);
325 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->ReleaseStreams(streamIds);
369 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos);
376 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->ReleaseStreams(streamIds);
[all …]
Dcamera_capture_test.cpp197 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->ReleaseStreams(
205 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->ReleaseStreams(
238 …cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CancelCapture(cameraBase_->CAPTURE_ID_C…
245 …cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CancelCapture(cameraBase_->CAPTURE_ID_P…
252 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->ReleaseStreams(
260 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->ReleaseStreams(
303 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos);
306 …cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CommitStreams(NORMAL, cameraBase_->abil…
314 … cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->Capture(captureId, captureInfo, false);
318 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CancelCapture(captureId);
[all …]
Ddouble_preview_test.cpp80 result_ = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos_); in CreateStream()
91 result_ = (CamRetCode)cameraBase_->streamOperator->CommitStreams(NORMAL, cameraBase_->ability_); in CommitStream()
106 … result_ = (CamRetCode)cameraBase_->streamOperator->Capture(captureId, captureInfo_, isStreaming); in StartCapture()
149 result_ = (CamRetCode)cameraBase_->streamOperator->CancelCapture(captureId); in StopStream()
233 …cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->Capture(cameraBase_->CAPTURE_ID_CAPTURE,
Dcamera_video_test.cpp89 CamRetCode result = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos_); in CreateStream()
100 …CamRetCode result = (CamRetCode)cameraBase_->streamOperator->CommitStreams(NORMAL, cameraBase_->ab… in CommitStream()
116 … result = (CamRetCode)cameraBase_->streamOperator->Capture(captureId, captureInfo, isStreaming); in StartCapture()
118 … result = (CamRetCode)cameraBase_->streamOperator->Capture(captureId, captureInfo_, isStreaming); in StartCapture()
165 CamRetCode result = (CamRetCode)cameraBase_->streamOperator->CancelCapture(captureId); in StopStream()
435 …cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CancelCapture(cameraBase_->CAPTURE_ID_V…
442 …cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CancelCapture(cameraBase_->CAPTURE_ID_P…
449 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->ReleaseStreams(
457 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->ReleaseStreams(
544 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos);
[all …]
/drivers/peripheral/camera/test/mpi/src/
Dpreview_test.cpp68 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
94 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
97 Test_->rc = Test_->streamOperator->CommitStreams(Camera::NORMAL, Test_->ability);
119 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
120 EXPECT_EQ(false, Test_->rc != Camera::NO_ERROR || Test_->streamOperator == nullptr);
133 Test_->rc = Test_->cameraDevice->GetStreamOperator(nullptr, Test_->streamOperator);
149 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
152 Test_->rc = Test_->streamOperator->CommitStreams(Camera::NORMAL, nullptr);
167 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
170 Test_->rc = Test_->streamOperator->CommitStreams(Camera::NORMAL, Test_->ability);
[all …]
Dhdi_stream_test.cpp49 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
84 Test_->rc = Test_->streamOperator->IsStreamsSupported(NORMAL, modeSetting, stre, pType);
109 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
137 Test_->rc = Test_->streamOperator->IsStreamsSupported(NORMAL, nullptr, stre, pType);
161 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
165 Test_->rc = Test_->streamOperator->IsStreamsSupported(NORMAL, Test_->ability, infos, pType);
188 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
224 Test_->rc = Test_->streamOperator->IsStreamsSupported(NORMAL, modeSetting, stre, pType);
246 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
247 EXPECT_EQ(false, Test_->rc != Camera::NO_ERROR || Test_->streamOperator == nullptr);
[all …]
Dperformance_hdi_test.cpp210 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
443 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
481 Test_->rc = Test_->streamOperator->IsStreamsSupported(NORMAL, modeSetting, stre, pType);
513 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
514 EXPECT_EQ(false, Test_->rc != Camera::NO_ERROR || Test_->streamOperator == nullptr);
540 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
547 Test_->rc = Test_->streamOperator->ReleaseStreams({1001});
580 Test_->rc = Test_->streamOperator->ReleaseStreams({Test_->streamId_preview});
614 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
615 EXPECT_EQ(false, Test_->rc != Camera::NO_ERROR || Test_->streamOperator == nullptr);
[all …]
Ddfx_test.cpp99 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
283 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
312 Test_->rc = Test_->streamOperator->IsStreamsSupported(NORMAL, modeSetting, stre, pType);
345 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
346 EXPECT_EQ(false, Test_->rc != Camera::NO_ERROR || Test_->streamOperator == nullptr);
363 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
368 Test_->rc = Test_->streamOperator->ReleaseStreams(streamIds);
395 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
396 EXPECT_EQ(false, Test_->rc != Camera::NO_ERROR || Test_->streamOperator == nullptr);
413 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
[all …]
Dpipeline_test.cpp112 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
142 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
145 Test_->rc = Test_->streamOperator->CommitStreams(Camera::NORMAL, Test_->ability);
204 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
243 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
246 Test_->rc = Test_->streamOperator->CommitStreams(Camera::NORMAL, Test_->ability);
Dresolution_test.cpp48 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
112 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
119 Test_->rc = Test_->streamOperator->CommitStreams(Camera::NORMAL, Test_->ability);
153 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
219 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
226 Test_->rc = Test_->streamOperator->CommitStreams(Camera::NORMAL, Test_->ability);
260 …>rc = Test_->cameraDevice->GetStreamOperator(Test_->streamOperatorCallback, Test_->streamOperator);
326 Test_->rc = Test_->streamOperator->CreateStreams(Test_->streamInfos);
333 Test_->rc = Test_->streamOperator->CommitStreams(Camera::NORMAL, Test_->ability);
Doffline_stream_test.cpp58 Test_->rc = Test_->streamOperator->ChangeToOfflineStream(
101 Test_->rc = Test_->streamOperator->ChangeToOfflineStream(
135 Test_->rc = Test_->streamOperator->ChangeToOfflineStream(
/drivers/peripheral/camera/test/benchmarktest/v1_0/src/
Dcamera_benchmark_test.cpp93 cameraTest->streamOperator); in BENCHMARK_F()
170 cameraTest->streamOperator); in BENCHMARK_F()
171 …EXPECT_EQ(false, cameraTest->rc != HDI::Camera::V1_0::NO_ERROR || cameraTest->streamOperator == nu… in BENCHMARK_F()
191 cameraTest->rc = cameraTest->streamOperator->CreateStreams(streamInfos); in BENCHMARK_F()
210 cameraTest->streamOperator); in BENCHMARK_F()
211 …EXPECT_EQ(false, cameraTest->rc != HDI::Camera::V1_0::NO_ERROR || cameraTest->streamOperator == nu… in BENCHMARK_F()
228 cameraTest->rc = cameraTest->streamOperator->CreateStreams(streamInfos); in BENCHMARK_F()
232 …cameraTest->rc = cameraTest->streamOperator->CommitStreams(OperationMode::NORMAL, cameraTest->abil… in BENCHMARK_F()
253 cameraTest->rc = cameraTest->streamOperator->GetStreamAttributes(attributes); in BENCHMARK_F()
273 … cameraTest->rc = cameraTest->streamOperator->ReleaseStreams({cameraTest->streamIdPreview}); in BENCHMARK_F()
[all …]
Dbenchmark_common.cpp131 rc = cameraDevice->GetStreamOperator(streamOperatorCallback, streamOperator); in StartStream()
224 rc = streamOperator->CreateStreams(streamInfos); in StartStream()
226 rc = streamOperator->CommitStreams(OperationMode::NORMAL, abilityVec); in StartStream()
238 rc = (CamRetCode)streamOperator->Capture(captureId, *captureInfo, isStreaming); in StartCapture()
253 rc = streamOperator->CancelCapture(captureId); in StopStream()
264 rc = streamOperator->ReleaseStreams(streamIds); in StopStream()
/drivers/peripheral/camera/test/fuzztest/offline_stream_operator/
Doffline_stream_operator_fuzzer.cpp70 …cameraTest->rc = (CamRetCode)cameraTest->streamOperator->Capture(*rawData, *cameraTest->captureInf… in FuncCancelCapture()
75 cameraTest->rc = (CamRetCode)cameraTest->streamOperator->ChangeToOfflineStream( in FuncCancelCapture()
87 cameraTest->streamOperator); in FuncReleaseStreams()
94 cameraTest->rc = (CamRetCode)cameraTest->streamOperator->ChangeToOfflineStream( in FuncReleaseStreams()
103 cameraTest->streamOperator); in FuncRelease()
112 cameraTest->rc = (CamRetCode)cameraTest->streamOperator->ChangeToOfflineStream( in FuncRelease()
/drivers/peripheral/camera/hdi_service/v1_0/src/
Dcamera_device_service.cpp28 sptr<IStreamOperator> &streamOperator) in GetStreamOperator() argument
46 streamOperator = new StreamOperatorService(streamOperatorVdi); in GetStreamOperator()
47 if (streamOperator == nullptr) { in GetStreamOperator()
/drivers/peripheral/camera/hal_c/hdi_cif/src/
Dcamera_device.cpp32 OHOS::sptr<IStreamOperator>& streamOperator) in GetStreamOperator() argument
50 streamOperator = spSO; in GetStreamOperator()
/drivers/peripheral/camera/vdi_base/interfaces/v1_0/
Dicamera_device_vdi.h38 sptr<IStreamOperatorVdi> &streamOperator) = 0;
/drivers/interface/camera/v1_3/
DICameraDevice.idl39 * @param streamOperator Indicates the stream operation handle.
47 …treamOperator_V1_3([in] IStreamOperatorCallback callbackObj, [out] IStreamOperator streamOperator);
/drivers/peripheral/camera/test/ut/usb_camera/
Dusb_camera_test.cpp532 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos); in TEST_F()
535 …cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CommitStreams(NORMAL, cameraBase_->abil… in TEST_F()
706 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos); in TEST_F()
708 …cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CommitStreams(NORMAL, cameraBase_->abil… in TEST_F()
860 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos); in TEST_F()
862 …cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CommitStreams(NORMAL, cameraBase_->abil… in TEST_F()
1723 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos); in TEST_F()
1725 …cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CommitStreams(NORMAL, cameraBase_->abil… in TEST_F()
1792 cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CreateStreams(streamInfos); in TEST_F()
1794 …cameraBase_->rc = (CamRetCode)cameraBase_->streamOperator->CommitStreams(NORMAL, cameraBase_->abil… in TEST_F()
[all …]
/drivers/interface/camera/v1_1/
DICameraDevice.idl40 * @param streamOperator Indicates the stream operation handle.
48 …treamOperator_V1_1([in] IStreamOperatorCallback callbackObj, [out] IStreamOperator streamOperator);
/drivers/peripheral/camera/hal_c/hdi_cif/include/
Dcamera_device.h38 OHOS::sptr<IStreamOperator>& streamOperator) override;
/drivers/interface/camera/v1_2/
DICameraDevice.idl39 * @param streamOperator Indicates the stream operation handle.
47 …treamOperator_V1_2([in] IStreamOperatorCallback callbackObj, [out] IStreamOperator streamOperator);

123