Home
last modified time | relevance | path

Searched refs:streamCustomerPreview_ (Results 1 - 21 of 21) sorted by relevance

/drivers/peripheral/camera/test/ut/v4l2/
H A Dcamera_preview_test.cpp52 if (cameraBase_->streamCustomerPreview_ == nullptr) { in HWTEST_F()
53 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in HWTEST_F()
55 OHOS::sptr<OHOS::IBufferProducer> producer = cameraBase_->streamCustomerPreview_->CreateProducer(); in HWTEST_F()
94 if (cameraBase_->streamCustomerPreview_ == nullptr) { in HWTEST_F()
95 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in HWTEST_F()
97 OHOS::sptr<OHOS::IBufferProducer> producer = cameraBase_->streamCustomerPreview_->CreateProducer(); in HWTEST_F()
149 if (cameraBase_->streamCustomerPreview_ == nullptr) { in HWTEST_F()
150 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in HWTEST_F()
152 OHOS::sptr<OHOS::IBufferProducer> producer = cameraBase_->streamCustomerPreview_->CreateProducer(); in HWTEST_F()
191 if (cameraBase_->streamCustomerPreview_ in HWTEST_F()
[all...]
H A Ddouble_preview_test.cpp65 if (streamCustomerPreview_ == nullptr) { in CreateStream()
66 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in CreateStream()
67 SetStreamInfo(streamInfo, streamCustomerPreview_, streamId, intent); in CreateStream()
114 streamCustomerPreview_->ReceiveFrameOn([this](const unsigned char *addr, const uint32_t size) { in StartCapture()
135 streamCustomerPreview_->ReceiveFrameOff(); in StopStream()
H A Dcamera_video_test.h35 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr; member in CameraVideoTest
H A Ddouble_preview_test.h44 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr; member in DoublePreviewTest
H A Dmeta_data_test.h49 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr; member in MetaDataTest
H A Dusb_camera_test_mult.h56 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr; member in UtestUSBCameraTestMult
H A Dusb_camera_test_mult.cpp60 if (streamCustomerPreview_ == nullptr) { in DefaultInfosPreview()
61 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in DefaultInfosPreview()
70 streamInfoPre_.bufferQueue_ = new BufferProducerSequenceable(streamCustomerPreview_->CreateProducer()); in DefaultInfosPreview()
236 streamCustomerPreview_->ReceiveFrameOn(nullptr); in StartCapture()
257 streamCustomerPreview_->ReceiveFrameOff(); in StopStream()
H A Dusb_camera_test.cpp514 if (cameraBase_->streamCustomerPreview_ == nullptr) { in TEST_F()
515 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in TEST_F()
517 OHOS::sptr<OHOS::IBufferProducer> producer = cameraBase_->streamCustomerPreview_->CreateProducer(); in TEST_F()
672 if (cameraBase_->streamCustomerPreview_ == nullptr) { in TEST_F()
673 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in TEST_F()
684 streamInfo.bufferQueue_ = new BufferProducerSequenceable(cameraBase_->streamCustomerPreview_->CreateProducer()); in TEST_F()
827 if (cameraBase_->streamCustomerPreview_ == nullptr) { in TEST_F()
828 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in TEST_F()
839 streamInfo.bufferQueue_ = new BufferProducerSequenceable(cameraBase_->streamCustomerPreview_->CreateProducer()); in TEST_F()
1055 if (cameraBase_->streamCustomerPreview_ in TEST_F()
[all...]
H A Dmeta_data_test.cpp90 if (streamCustomerPreview_ == nullptr) { in CreateStream()
91 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in CreateStream()
92 SetStreamInfo(streamInfo, streamCustomerPreview_, streamId, intent); in CreateStream()
148 streamCustomerPreview_->ReceiveFrameOn([this](const unsigned char *addr, const uint32_t size) { in StartCapture()
172 streamCustomerPreview_->ReceiveFrameOff(); in StopStream()
H A Dcamera_video_test.cpp71 if (streamCustomerPreview_ == nullptr) { in CreateStream()
72 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in CreateStream()
73 SetStreamInfo(streamInfo, streamCustomerPreview_, streamId, intent); in CreateStream()
129 streamCustomerPreview_->ReceiveFrameOn([this](const unsigned char *addr, const uint32_t size) { in StartCapture()
153 streamCustomerPreview_->ReceiveFrameOff(); in StopStream()
433 cameraBase_->streamCustomerPreview_->ReceiveFrameOff(); in HWTEST_F()
H A Dtest_camera_base.cpp528 if (streamCustomerPreview_ == nullptr) { in StartStream()
529 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in StartStream()
538 streamInfoPre.bufferQueue_ = new BufferProducerSequenceable(streamCustomerPreview_->CreateProducer()); in StartStream()
630 streamCustomerPreview_->ReceiveFrameOn(nullptr); in StartCapture()
655 streamCustomerPreview_->ReceiveFrameOff(); in StopStream()
H A Dtest_camera_base.h103 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr; member in TestCameraBase
H A Dcamera_capture_test.cpp194 cameraBase_->streamCustomerPreview_->ReceiveFrameOff(); in HWTEST_F()
236 cameraBase_->streamCustomerPreview_->ReceiveFrameOff(); in HWTEST_F()
/drivers/peripheral/camera/test/demo_3A/
H A Dohos_camera_demo_3a.cpp128 streamCustomerPreview_->ReceiveFrameOn(nullptr); in CaptureON()
156 streamCustomerPreview_->ReceiveFrameOff(); in CaptureOff()
399 SetStreamInfo(previewStreamInfo, streamCustomerPreview_, STREAM_ID_PREVIEW, PREVIEW); in CreateStreams()
453 streamCustomerPreview_->ReceiveFrameOn(nullptr); in CaptureOnDualStreams()
496 if (streamCustomerPreview_ == nullptr) { in StartDualStreams()
497 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in StartDualStreams()
590 if (streamCustomerPreview_ == nullptr) { in StartPreviewStream()
591 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in StartPreviewStream()
597 rc = CreateStream(STREAM_ID_PREVIEW, streamCustomerPreview_, PREVIEW); in StartPreviewStream()
H A Dohos_camera_demo_3a.h139 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr; member in OHOS::Camera::OhosCameraDemo
/drivers/peripheral/camera/test/demo/
H A Dohos_camera_demo.cpp133 streamCustomerPreview_->ReceiveFrameOn(nullptr); in CaptureON()
161 streamCustomerPreview_->ReceiveFrameOff(); in CaptureOff()
404 SetStreamInfo(previewStreamInfo, streamCustomerPreview_, STREAM_ID_PREVIEW, PREVIEW); in CreateStreams()
458 streamCustomerPreview_->ReceiveFrameOn(nullptr); in CaptureOnDualStreams()
501 if (streamCustomerPreview_ == nullptr) { in StartDualStreams()
502 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in StartDualStreams()
595 if (streamCustomerPreview_ == nullptr) { in StartPreviewStream()
596 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in StartPreviewStream()
602 rc = CreateStream(STREAM_ID_PREVIEW, streamCustomerPreview_, PREVIEW); in StartPreviewStream()
H A Dohos_camera_demo.h135 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr; member in OHOS::Camera::OhosCameraDemo
/drivers/peripheral/camera/test/ut/usb_camera/
H A Dusb_camera_test.cpp513 if (cameraBase_->streamCustomerPreview_ == nullptr) { in TEST_F()
514 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in TEST_F()
516 OHOS::sptr<OHOS::IBufferProducer> producer = cameraBase_->streamCustomerPreview_->CreateProducer(); in TEST_F()
673 if (cameraBase_->streamCustomerPreview_ == nullptr) { in TEST_F()
674 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in TEST_F()
685 streamInfo.bufferQueue_ = new BufferProducerSequenceable(cameraBase_->streamCustomerPreview_->CreateProducer()); in TEST_F()
828 if (cameraBase_->streamCustomerPreview_ == nullptr) { in TEST_F()
829 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in TEST_F()
840 streamInfo.bufferQueue_ = new BufferProducerSequenceable(cameraBase_->streamCustomerPreview_->CreateProducer()); in TEST_F()
1690 if (cameraBase_->streamCustomerPreview_ in TEST_F()
[all...]
H A Dtest_camera_base.cpp550 if (streamCustomerPreview_ == nullptr) { in StartStream()
551 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in StartStream()
560 streamInfoPre.bufferQueue_ = new BufferProducerSequenceable(streamCustomerPreview_->CreateProducer()); in StartStream()
652 streamCustomerPreview_->ReceiveFrameOn(nullptr); in StartCapture()
676 streamCustomerPreview_->ReceiveFrameOff(); in StopStream()
/drivers/peripheral/distributed_camera/hdi_service/test/sample/
H A Ddcamera_hdf_demo.cpp375 SetStreamInfo(previewStreamInfo, streamCustomerPreview_, STREAM_ID_PREVIEW, OHOS::HDI::Camera::V1_0::PREVIEW); in CreateStreams()
462 if (streamCustomerPreview_ == nullptr) { in StartDualStreams()
463 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in StartDualStreams()
556 if (streamCustomerPreview_ == nullptr) { in StartPreviewStream()
557 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in StartPreviewStream()
563 rc = CreateStreamInfo(STREAM_ID_PREVIEW, streamCustomerPreview_, OHOS::HDI::Camera::V1_0::PREVIEW); in StartPreviewStream()
H A Ddcamera_hdf_demo.h161 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr; member in OHOS::DistributedHardware::DcameraHdfDemo

Completed in 19 milliseconds