/ohos5.0/drivers/peripheral/camera/test/ut/v4l2/ |
H A D | stream_customer.cpp | 19 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 D | camera_video_test.h | 29 … 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 D | meta_data_test.h | 31 … 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 D | stream_customer.h | 37 class StreamCustomer { 39 StreamCustomer(); 40 ~StreamCustomer();
|
H A D | double_preview_test.h | 37 const std::shared_ptr<StreamCustomer> &streamCustomer, 44 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr; 45 std::shared_ptr<StreamCustomer> streamCustomerPreviewDouble_ = nullptr;
|
H A D | usb_camera_test_mult.h | 56 std::shared_ptr<StreamCustomer> streamCustomerPreview_ = nullptr; 57 std::shared_ptr<StreamCustomer> streamCustomerCapture_ = nullptr; 58 std::shared_ptr<StreamCustomer> streamCustomerVideo_ = nullptr;
|
H A D | test_camera_base.h | 103 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 D | camera_preview_test.cpp | 53 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 D | camera_video_test.cpp | 34 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 D | double_preview_test.cpp | 37 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 D | camera_capture_test.cpp | 282 std::shared_ptr<StreamCustomer> streamCustomer = std::make_shared<StreamCustomer>(); 336 std::shared_ptr<StreamCustomer> streamCustomer = std::make_shared<StreamCustomer>();
|
H A D | meta_data_test.cpp | 59 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 D | usb_camera_test.cpp | 515 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 D | stream_customer.cpp | 20 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 D | stream_customer.h | 36 class StreamCustomer { 38 StreamCustomer(); 39 ~StreamCustomer();
|
H A D | ohos_camera_demo.h | 95 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 D | ohos_camera_demo.cpp | 32 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 D | stream_customer.cpp | 20 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 D | stream_customer.h | 36 class StreamCustomer { 38 StreamCustomer(); 39 ~StreamCustomer();
|
H A D | ohos_camera_demo_3a.h | 94 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 D | ohos_camera_demo_3a.cpp | 27 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 D | stream_customer.cpp | 22 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 D | dcamera_hdf_demo.h | 121 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 D | stream_customer.h | 75 class StreamCustomer { 77 StreamCustomer(); 78 ~StreamCustomer();
|
H A D | dcamera_hdf_demo.cpp | 35 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()
|