Home
last modified time | relevance | path

Searched refs:StreamCustomer (Results 1 – 25 of 31) sorted by relevance

12

/ohos5.0/drivers/peripheral/camera/test/ut/v4l2/
H A Dstream_customer.cpp19 StreamCustomer::StreamCustomer() {} in StreamCustomer() function in StreamCustomer
20 StreamCustomer::~StreamCustomer() {} in ~StreamCustomer()
22 void StreamCustomer::CamFrame(const std::function<void(const unsigned char *, uint32_t)> callback) in CamFrame()
47 OHOS::sptr<OHOS::IBufferProducer> StreamCustomer::CreateProducer() in CreateProducer()
66 OHOS::Camera::RetCode StreamCustomer::ReceiveFrameOn( in ReceiveFrameOn()
73 … previewThreadId_ = new (std::nothrow) std::thread(&StreamCustomer::CamFrame, this, callback); in ReceiveFrameOn()
86 void StreamCustomer::ReceiveFrameOff() in ReceiveFrameOff()
H A Dcamera_video_test.h29 … void SetStreamInfo(StreamInfo &streamInfo, const std::shared_ptr<StreamCustomer> &streamCustomer,
35 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr;
36 std::shared_ptr<StreamCustomer> streamCustomerSnapshot_ = nullptr;
37 std::shared_ptr<StreamCustomer> streamCustomerVideo_ = nullptr;
H A Dmeta_data_test.h31 … void SetStreamInfo(StreamInfo &streamInfo, const std::shared_ptr<StreamCustomer> &streamCustomer,
49 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr;
50 std::shared_ptr<StreamCustomer> streamCustomerSnapshot_ = nullptr;
51 std::shared_ptr<StreamCustomer> streamCustomerVideo_ = nullptr;
H A Dstream_customer.h37 class StreamCustomer {
39 StreamCustomer();
40 ~StreamCustomer();
H A Ddouble_preview_test.h37 const std::shared_ptr<StreamCustomer> &streamCustomer,
44 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr;
45 std::shared_ptr<StreamCustomer> streamCustomerPreviewDouble_ = nullptr;
H A Dusb_camera_test_mult.h56 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr;
57 std::shared_ptr<StreamCustomer> streamCustomerCapture_ = nullptr;
58 std::shared_ptr<StreamCustomer> streamCustomerVideo_ = nullptr;
H A Dtest_camera_base.h103 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr;
104 std::shared_ptr<StreamCustomer> streamCustomerCapture_ = nullptr;
105 std::shared_ptr<StreamCustomer> streamCustomerVideo_ = nullptr;
106 std::shared_ptr<StreamCustomer> streamCustomerAnalyze_ = nullptr;
H A Dcamera_preview_test.cpp53 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>();
95 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>();
150 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>();
192 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>();
295 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>();
349 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>();
401 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>();
445 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>();
489 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>();
530 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>();
[all …]
H A Dcamera_video_test.cpp34 void CameraVideoTest::SetStreamInfo(StreamInfo &streamInfo, const std::shared_ptr<StreamCustomer> &… in SetStreamInfo()
72 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in CreateStream()
78 streamCustomerSnapshot_ = std::make_shared<StreamCustomer>(); in CreateStream()
83 streamCustomerVideo_ = std::make_shared<StreamCustomer>(); in CreateStream()
526 std::shared_ptr<StreamCustomer> streamCustomer = std::make_shared<StreamCustomer>();
H A Ddouble_preview_test.cpp37 const std::shared_ptr<StreamCustomer> &streamCustomer, in SetStreamInfo()
66 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in CreateStream()
73 streamCustomerPreviewDouble_ = std::make_shared<StreamCustomer>(); in CreateStream()
H A Dcamera_capture_test.cpp282 std::shared_ptr<StreamCustomer> streamCustomer = std::make_shared<StreamCustomer>();
336 std::shared_ptr<StreamCustomer> streamCustomer = std::make_shared<StreamCustomer>();
H A Dmeta_data_test.cpp59 void MetaDataTest::SetStreamInfo(StreamInfo &streamInfo, const std::shared_ptr<StreamCustomer> &str… in SetStreamInfo()
91 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in CreateStream()
97 streamCustomerSnapshot_ = std::make_shared<StreamCustomer>(); in CreateStream()
102 streamCustomerVideo_ = std::make_shared<StreamCustomer>(); in CreateStream()
H A Dusb_camera_test.cpp515 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in TEST_F()
673 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in TEST_F()
689 cameraBase_->streamCustomerCapture_ = std::make_shared<StreamCustomer>(); in TEST_F()
828 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in TEST_F()
844 cameraBase_->streamCustomerVideo_ = std::make_shared<StreamCustomer>(); in TEST_F()
1056 cameraBase_->streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in TEST_F()
1072 cameraBase_->streamCustomerCapture_ = std::make_shared<StreamCustomer>(); in TEST_F()
/ohos5.0/drivers/peripheral/camera/test/demo/
H A Dstream_customer.cpp20 StreamCustomer::StreamCustomer() {} in StreamCustomer() function in OHOS::Camera::StreamCustomer
21 StreamCustomer::~StreamCustomer() {} in ~StreamCustomer()
23 void StreamCustomer::CamFrame(const std::function<void(void*, uint32_t)> callback) in CamFrame()
72 std::shared_ptr<OHOS::Surface> StreamCustomer::CreateProducer() in CreateProducer()
74 sptr<OHOS::IBufferProducer> StreamCustomer::CreateProducer() in CreateProducer()
101 RetCode StreamCustomer::ReceiveFrameOn(const std::function<void(void*, uint32_t)> callback) in ReceiveFrameOn()
107 … previewThreadId_ = new (std::nothrow) std::thread(&StreamCustomer::CamFrame, this, callback); in ReceiveFrameOn()
120 void StreamCustomer::ReceiveFrameOff() in ReceiveFrameOff()
H A Dstream_customer.h36 class StreamCustomer {
38 StreamCustomer();
39 ~StreamCustomer();
H A Dohos_camera_demo.h95 const std::shared_ptr<StreamCustomer>& streamCustomer,
99 RetCode CreateStream(const int streamId, std::shared_ptr<StreamCustomer> &streamCustomer,
135 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr;
136 std::shared_ptr<StreamCustomer> streamCustomerCapture_ = nullptr;
137 std::shared_ptr<StreamCustomer> streamCustomerVideo_ = nullptr;
H A Dohos_camera_demo.cpp32 const std::shared_ptr<StreamCustomer> &streamCustomer, in SetStreamInfo()
182 RetCode OhosCameraDemo::CreateStream(const int streamId, std::shared_ptr<StreamCustomer> &streamCus… in CreateStream()
502 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in StartDualStreams()
510 streamCustomerCapture_ = std::make_shared<StreamCustomer>(); in StartDualStreams()
523 streamCustomerVideo_ = std::make_shared<StreamCustomer>(); in StartDualStreams()
547 streamCustomerCapture_ = std::make_shared<StreamCustomer>(); in StartCaptureStream()
571 streamCustomerVideo_ = std::make_shared<StreamCustomer>(); in StartVideoStream()
596 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in StartPreviewStream()
/ohos5.0/drivers/peripheral/camera/test/demo_3A/
H A Dstream_customer.cpp20 StreamCustomer::StreamCustomer() {} in StreamCustomer() function in OHOS::Camera::StreamCustomer
21 StreamCustomer::~StreamCustomer() {} in ~StreamCustomer()
23 void StreamCustomer::CamFrame(const std::function<void(void*, uint32_t)> callback) in CamFrame()
72 std::shared_ptr<OHOS::Surface> StreamCustomer::CreateProducer() in CreateProducer()
74 sptr<OHOS::IBufferProducer> StreamCustomer::CreateProducer() in CreateProducer()
101 RetCode StreamCustomer::ReceiveFrameOn(const std::function<void(void*, uint32_t)> callback) in ReceiveFrameOn()
107 … previewThreadId_ = new (std::nothrow) std::thread(&StreamCustomer::CamFrame, this, callback); in ReceiveFrameOn()
120 void StreamCustomer::ReceiveFrameOff() in ReceiveFrameOff()
H A Dstream_customer.h36 class StreamCustomer {
38 StreamCustomer();
39 ~StreamCustomer();
H A Dohos_camera_demo_3a.h94 const std::shared_ptr<StreamCustomer>& streamCustomer,
98 RetCode CreateStream(const int streamId, std::shared_ptr<StreamCustomer> &streamCustomer,
139 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr;
140 std::shared_ptr<StreamCustomer> streamCustomerCapture_ = nullptr;
141 std::shared_ptr<StreamCustomer> streamCustomerVideo_ = nullptr;
H A Dohos_camera_demo_3a.cpp27 const std::shared_ptr<StreamCustomer> &streamCustomer, in SetStreamInfo()
177 RetCode OhosCameraDemo::CreateStream(const int streamId, std::shared_ptr<StreamCustomer> &streamCus… in CreateStream()
497 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in StartDualStreams()
505 streamCustomerCapture_ = std::make_shared<StreamCustomer>(); in StartDualStreams()
518 streamCustomerVideo_ = std::make_shared<StreamCustomer>(); in StartDualStreams()
542 streamCustomerCapture_ = std::make_shared<StreamCustomer>(); in StartCaptureStream()
566 streamCustomerVideo_ = std::make_shared<StreamCustomer>(); in StartVideoStream()
591 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in StartPreviewStream()
/ohos5.0/drivers/peripheral/distributed_camera/hdi_service/test/sample/
H A Dstream_customer.cpp22 StreamCustomer::StreamCustomer() {} in StreamCustomer() function in OHOS::DistributedHardware::StreamCustomer
23 StreamCustomer::~StreamCustomer() {} in ~StreamCustomer()
25 sptr<OHOS::IBufferProducer> StreamCustomer::CreateProducer(CaptureMode mode, in CreateProducer()
H A Ddcamera_hdf_demo.h121 const std::shared_ptr<StreamCustomer>& streamCustomer,
146 RetCode CreateStreamInfo(const int streamId, std::shared_ptr<StreamCustomer> &streamCustomer,
161 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr;
162 std::shared_ptr<StreamCustomer> streamCustomerCapture_ = nullptr;
163 std::shared_ptr<StreamCustomer> streamCustomerVideo_ = nullptr;
177 friend class StreamCustomer; variable
H A Dstream_customer.h75 class StreamCustomer {
77 StreamCustomer();
78 ~StreamCustomer();
H A Ddcamera_hdf_demo.cpp35 const std::shared_ptr<StreamCustomer> &streamCustomer, in SetStreamInfo()
173 RetCode DcameraHdfDemo::CreateStreamInfo(const int streamId, std::shared_ptr<StreamCustomer> &strea… in CreateStreamInfo()
463 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in StartDualStreams()
471 streamCustomerCapture_ = std::make_shared<StreamCustomer>(); in StartDualStreams()
484 streamCustomerVideo_ = std::make_shared<StreamCustomer>(); in StartDualStreams()
508 streamCustomerCapture_ = std::make_shared<StreamCustomer>(); in StartCaptureStream()
532 streamCustomerVideo_ = std::make_shared<StreamCustomer>(); in StartVideoStream()
557 streamCustomerPreview_ = std::make_shared<StreamCustomer>(); in StartPreviewStream()

12