Home
last modified time | relevance | path

Searched refs:captureId (Results 1 – 25 of 28) sorted by relevance

12

/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/
Ddouble_preview_test.cpp100 void DoublePreviewTest::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStre… in StartCapture() argument
106 result_ = (CamRetCode)display_->streamOperator->Capture(captureId, captureInfo_, isStreaming); in StartCapture()
109 CAMERA_LOGI("check Capture: Capture success, captureId = %{public}d", captureId); in StartCapture()
111 …E("check Capture: Capture fail, captureId = %{public}d, result_ = %{public}d", captureId, result_); in StartCapture()
113 if (captureId == display_->CAPTURE_ID_PREVIEW) { in StartCapture()
117 } else if (captureId == CAPTUREID_PREVIEW_DOUBLE) { in StartCapture()
133 for (const auto &captureId : captureIds) { in StopStream() local
134 if (captureId == display_->CAPTURE_ID_PREVIEW) { in StopStream()
136 } else if (captureId == CAPTUREID_PREVIEW_DOUBLE) { in StopStream()
138 } else if (captureId == display_->CAPTURE_ID_CAPTURE) { in StopStream()
[all …]
Dcamera_video_test.cpp109 …int streamId, int captureId, bool shutterCallback, bool isStreaming, const CaptureInfo captureInfo) in StartCapture() argument
116 result = (CamRetCode)display_->streamOperator->Capture(captureId, captureInfo, isStreaming); in StartCapture()
118 … result = (CamRetCode)display_->streamOperator->Capture(captureId, captureInfo_, isStreaming); in StartCapture()
123 CAMERA_LOGI("check Capture: Capture success, captureId = %{public}d", captureId); in StartCapture()
125 …OGE("check Capture: Capture fail, captureId = %{public}d, result = %{public}d", captureId, result); in StartCapture()
128 if (captureId == display_->CAPTURE_ID_PREVIEW) { in StartCapture()
132 } else if (captureId == display_->CAPTURE_ID_CAPTURE) { in StartCapture()
136 } else if (captureId == display_->CAPTURE_ID_VIDEO) { in StartCapture()
151 for (const auto &captureId : captureIds) { in StopStream() local
152 if (captureId == display_->CAPTURE_ID_PREVIEW) { in StopStream()
[all …]
Dtest_display.cpp637 void TestDisplay::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
643 rc = (CamRetCode)streamOperator->Capture(captureId, captureInfo, isStreaming); in StartCapture()
646 CAMERA_LOGI("check Capture: Capture success, captureId = %{public}d", captureId); in StartCapture()
648 …CAMERA_LOGE("check Capture: Capture fail, rc = %{public}d, captureId = %{public}d", rc, captureId); in StartCapture()
650 if (captureId == CAPTURE_ID_PREVIEW) { in StartCapture()
652 } else if (captureId == CAPTURE_ID_CAPTURE) { in StartCapture()
656 } else if (captureId == CAPTURE_ID_VIDEO) { in StartCapture()
661 } else if (captureId == CAPTURE_ID_ANALYZE) { in StartCapture()
674 for (auto &captureId : captureIds) { in StopStream() local
675 if (captureId == CAPTURE_ID_PREVIEW) { in StopStream()
[all …]
Dusb_camera_test_mult.cpp222 void UtestUSBCameraTestMult::StartCapture(int streamId, int captureId, bool shutterCallback, bool i… in StartCapture() argument
228 cameraBase_->rc = (CamRetCode)streamOperator_->Capture(captureId, captureInfo_, isStreaming); in StartCapture()
231 std::cout << "check Capture: Capture2 success, captureId = " << captureId << std::endl; in StartCapture()
234 << ", captureId = " << captureId<< std::endl; in StartCapture()
236 if (captureId == CAPTURE_ID_PREVIEW_DOUBLE) { in StartCapture()
238 } else if (captureId == CAPTURE_ID_CAPTURE_DOUBLE) { in StartCapture()
242 } else if (captureId == CAPTURE_ID_VIDEO_DOUBLE) { in StartCapture()
256 for (auto &captureId : captureIds) { in StopStream() local
257 if (captureId == CAPTURE_ID_PREVIEW_DOUBLE) { in StopStream()
259 } else if (captureId == CAPTURE_ID_CAPTURE_DOUBLE) { in StopStream()
[all …]
Dcamera_preview_test.cpp979 int captureId = 2001; variable
984 display_->rc = (CamRetCode)display_->streamOperator->Capture(captureId, captureInfo, true);
987 display_->streamOperator->CancelCapture(captureId);
1035 int captureId = 2001; variable
1040 display_->rc = (CamRetCode)display_->streamOperator->Capture(captureId, captureInfo, true);
1043 display_->streamOperator->CancelCapture(captureId);
1157 int captureId = 2001; variable
1162 display_->rc = (CamRetCode)display_->streamOperator->Capture(captureId, captureInfo, true);
1211 int captureId = 2001; variable
1217 … display_->rc = (CamRetCode)display_->streamOperator->Capture(captureId, captureInfo, isStreaming);
[all …]
Dcamera_capture_test.cpp310 int captureId = 2001; variable
316 display_->rc = (CamRetCode)display_->streamOperator->Capture(captureId, captureInfo, false);
320 display_->rc = (CamRetCode)display_->streamOperator->CancelCapture(captureId);
364 int captureId = 2001; variable
370 display_->rc = (CamRetCode)display_->streamOperator->Capture(captureId, captureInfo, true);
374 display_->rc = (CamRetCode)display_->streamOperator->CancelCapture(captureId);
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_1/src/
Dbenchmark_common.cpp259 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
266 rc = (CamRetCode)streamOperator_V1_1->Capture(captureId, *captureInfo, isStreaming); in StartCapture()
268 rc = (CamRetCode)streamOperator->Capture(captureId, *captureInfo, isStreaming); in StartCapture()
272 CAMERA_LOGI("check Capture: Capture success, %{public}d", captureId); in StartCapture()
283 for (auto &captureId : captureIds) { in StopStream() local
285 rc = streamOperator_V1_1->CancelCapture(captureId); in StopStream()
287 rc = streamOperator->CancelCapture(captureId); in StopStream()
291 CAMERA_LOGI("check Capture: CancelCapture success, %{public}d", captureId); in StopStream()
294 rc, captureId); in StopStream()
368 int32_t captureId = 0; in CreateProducer() local
[all …]
/test/xts/hats/hdf/camera/cameraMg/v1_2/src/
Dhdi_common_v1_2.cpp368 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
375 rc = (CamRetCode)streamOperator_V1_2->Capture(captureId, *captureInfo, isStreaming); in StartCapture()
377 rc = (CamRetCode)streamOperator_V1_1->Capture(captureId, *captureInfo, isStreaming); in StartCapture()
379 rc = (CamRetCode)streamOperator->Capture(captureId, *captureInfo, isStreaming); in StartCapture()
384 CAMERA_LOGI("check Capture: Capture success, %{public}d", captureId); in StartCapture()
395 for (auto &captureId : captureIds) { in StopStream() local
397 rc = streamOperator_V1_2->CancelCapture(captureId); in StopStream()
399 rc = streamOperator_V1_1->CancelCapture(captureId); in StopStream()
401 rc = streamOperator->CancelCapture(captureId); in StopStream()
405 CAMERA_LOGI("check Capture: CancelCapture success, %{public}d", captureId); in StopStream()
[all …]
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/src/
Dcommon.cpp233 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
239 rc = (CamRetCode)streamOperator->Capture(captureId, *captureInfo, isStreaming); in StartCapture()
242 CAMERA_LOGI("check Capture: Capture success, %{public}d", captureId); in StartCapture()
253 for (auto &captureId : captureIds) { in StopStream() local
254 rc = streamOperator->CancelCapture(captureId); in StopStream()
257 CAMERA_LOGI("check Capture: CancelCapture success, %{public}d", captureId); in StopStream()
260 rc, captureId); in StopStream()
330 int32_t captureId = 0; in CreateProducer() local
335 buffer->GetExtraData()->ExtraGet(OHOS::Camera::captureId, captureId); in CreateProducer()
372 int32_t Test::TestStreamOperatorCallback::OnCaptureStarted(int32_t captureId, const std::vector<int… in OnCaptureStarted() argument
[all …]
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_0/src/
Dbenchmark_common.cpp232 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
238 rc = (CamRetCode)streamOperator->Capture(captureId, *captureInfo, isStreaming); in StartCapture()
241 CAMERA_LOGI("check Capture: Capture success, %{public}d", captureId); in StartCapture()
252 for (auto &captureId : captureIds) { in StopStream() local
253 rc = streamOperator->CancelCapture(captureId); in StopStream()
256 CAMERA_LOGI("check Capture: CancelCapture success, %{public}d", captureId); in StopStream()
259 rc, captureId); in StopStream()
329 int32_t captureId = 0; in CreateProducer() local
334 buffer->GetExtraData()->ExtraGet(OHOS::Camera::captureId, captureId); in CreateProducer()
371 int32_t Test::TestStreamOperatorCallback::OnCaptureStarted(int32_t captureId, const std::vector<int… in OnCaptureStarted() argument
[all …]
Dhdf_camera_benchmark_test.cpp285 int captureId = 2001; in BENCHMARK_F() local
291 … cameraTest->rc = cameraTest->streamOperator->Capture(captureId, *cameraTest->captureInfo, true); in BENCHMARK_F()
310 int captureId = 2001; in BENCHMARK_F() local
315 cameraTest->rc = cameraTest->streamOperator->Capture(captureId, *cameraTest->captureInfo, true); in BENCHMARK_F()
317 cameraTest->streamOperator->CancelCapture(captureId); in BENCHMARK_F()
693 int captureId = 2001; in BENCHMARK_F() local
699 …cameraTest->rc = (CamRetCode)cameraTest->streamOperator->Capture(captureId, *cameraTest->captureIn… in BENCHMARK_F()
711 cameraTest->rc = (CamRetCode)offlineStreamOperator->CancelCapture(captureId); in BENCHMARK_F()
783 int captureId = 2001; in BENCHMARK_F() local
789 …cameraTest->rc = (CamRetCode)cameraTest->streamOperator->Capture(captureId, *cameraTest->captureIn… in BENCHMARK_F()
[all …]
/test/xts/hats/hdf/camera/cameraMg/v1_0/src/
Dcommon.cpp232 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
238 rc = (CamRetCode)streamOperator->Capture(captureId, *captureInfo, isStreaming); in StartCapture()
241 CAMERA_LOGI("check Capture: Capture success, %{public}d", captureId); in StartCapture()
252 for (auto &captureId : captureIds) { in StopStream() local
253 rc = streamOperator->CancelCapture(captureId); in StopStream()
256 CAMERA_LOGI("check Capture: CancelCapture success, %{public}d", captureId); in StopStream()
259 rc, captureId); in StopStream()
329 int32_t captureId = 0; in CreateProducer() local
334 buffer->GetExtraData()->ExtraGet(OHOS::Camera::captureId, captureId); in CreateProducer()
371 int32_t Test::TestStreamOperatorCallback::OnCaptureStarted(int32_t captureId, const std::vector<int… in OnCaptureStarted() argument
[all …]
/test/xts/hats/hdf/camera/cameraMg/v1_1/src/
Dhdi_common_v1_1.cpp295 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
302 rc = (CamRetCode)streamOperator_V1_1->Capture(captureId, *captureInfo, isStreaming); in StartCapture()
304 rc = (CamRetCode)streamOperator->Capture(captureId, *captureInfo, isStreaming); in StartCapture()
309 CAMERA_LOGI("check Capture: Capture success, %{public}d", captureId); in StartCapture()
320 for (auto &captureId : captureIds) { in StopStream() local
322 rc = streamOperator_V1_1->CancelCapture(captureId); in StopStream()
324 rc = streamOperator->CancelCapture(captureId); in StopStream()
328 CAMERA_LOGI("check Capture: CancelCapture success, %{public}d", captureId); in StopStream()
331 rc, captureId); in StopStream()
416 int32_t captureId = 0; in CreateProducer() local
[all …]
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/src/
Dhdi_common_v1_1.cpp295 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
302 rc = (CamRetCode)streamOperator_V1_1->Capture(captureId, *captureInfo, isStreaming); in StartCapture()
304 rc = (CamRetCode)streamOperator->Capture(captureId, *captureInfo, isStreaming); in StartCapture()
309 CAMERA_LOGI("check Capture: Capture success, %{public}d", captureId); in StartCapture()
320 for (auto &captureId : captureIds) { in StopStream() local
322 rc = streamOperator_V1_1->CancelCapture(captureId); in StopStream()
324 rc = streamOperator->CancelCapture(captureId); in StopStream()
328 CAMERA_LOGI("check Capture: CancelCapture success, %{public}d", captureId); in StopStream()
331 rc, captureId); in StopStream()
416 int32_t captureId = 0; in CreateProducer() local
[all …]
/test/xts/hats/hdf/camera/cameraHdi/v4l2/include/
Dtest_display.h167 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
210 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t>& streamIds) override;
211 int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo>& infos) override;
212 int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo>& infos) override;
213 …int32_t OnFrameShutter(int32_t captureId, const std::vector<int32_t>& streamIds, uint64_t timestam…
Dcamera_video_test.h32 …int streamId, int captureId, bool shutterCallback, bool isStreaming, const CaptureInfo captureInfo…
Ddouble_preview_test.h39 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
Dusb_camera_test_mult.h47 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
/test/xts/hats/hdf/camera/cameraMg/v1_2/include/
Dhdi_common_v1_2.h109 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
261 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
262 … int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo> &infos) override;
263 … int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo> &infos) override;
264 …int32_t OnFrameShutter(int32_t captureId, const std::vector<int32_t> &streamIds, uint64_t timestam…
271 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
272 … int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo> &infos) override;
273 … int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo> &infos) override;
274 …int32_t OnFrameShutter(int32_t captureId, const std::vector<int32_t> &streamIds, uint64_t timestam…
275 int32_t OnCaptureStarted_V1_2(int32_t captureId,
/test/xts/dcts/distributedhardware/distributedcameratest/
Ddcamera_hdf_demo.h96 RetCode CaptureON(const int streamId, const int captureId, CaptureMode mode);
98 RetCode CaptureOff(const int captureId, const CaptureMode mode);
205 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t>& streamIds) override;
206 int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo>& infos) override;
207 int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo>& infos) override;
208 …int32_t OnFrameShutter(int32_t captureId, const std::vector<int32_t>& streamIds, uint64_t timestam…
Ddcamera_hdf_demo.cpp122 RetCode DcameraHdfDemo::CaptureON(const int streamId, const int captureId, CaptureMode mode) in CaptureON() argument
125 streamId, captureId, mode); in CaptureON()
145 int rc = streamOperator_->Capture(captureId, captureInfo_, iscapture); in CaptureON()
156 RetCode DcameraHdfDemo::CaptureOff(const int captureId, const CaptureMode mode) in CaptureOff() argument
167 rc = streamOperator_->CancelCapture(captureId); in CaptureOff()
169 rc = streamOperator_->CancelCapture(captureId); in CaptureOff()
171 rc = streamOperator_->CancelCapture(captureId); in CaptureOff()
1667 int32_t DemoStreamOperatorCallback::OnCaptureStarted(int32_t captureId, const std::vector<int32_t>&… in OnCaptureStarted() argument
1669 DHLOGI("%s, enter. captureId = %d, streamIds size = %d", __func__, captureId, streamIds.size()); in OnCaptureStarted()
1673 int32_t DemoStreamOperatorCallback::OnCaptureEnded(int32_t captureId, const std::vector<CaptureEnde… in OnCaptureEnded() argument
[all …]
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/include/
Dcommon.h59 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
181 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
182 … int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo> &infos) override;
183 … int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo> &infos) override;
184 …int32_t OnFrameShutter(int32_t captureId, const std::vector<int32_t> &streamIds, uint64_t timestam…
/test/xts/hats/hdf/camera/cameraMg/v1_0/include/
Dcommon.h58 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
180 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
181 … int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo> &infos) override;
182 … int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo> &infos) override;
183 …int32_t OnFrameShutter(int32_t captureId, const std::vector<int32_t> &streamIds, uint64_t timestam…
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/include/
Dhdi_common_v1_1.h75 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
206 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
207 … int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo> &infos) override;
208 … int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo> &infos) override;
209 …int32_t OnFrameShutter(int32_t captureId, const std::vector<int32_t> &streamIds, uint64_t timestam…
/test/xts/hats/hdf/camera/cameraMg/v1_1/include/
Dhdi_common_v1_1.h75 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
206 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
207 … int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo> &infos) override;
208 … int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo> &infos) override;
209 …int32_t OnFrameShutter(int32_t captureId, const std::vector<int32_t> &streamIds, uint64_t timestam…

12