Home
last modified time | relevance | path

Searched refs:streamInfos (Results 1 - 25 of 31) sorted by relevance

12

/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhcamera_restore_param.cpp23 std::vector<StreamInfo_V1_1> streamInfos, in HCameraRestoreParam()
30 mStreamInfos = streamInfos; in HCameraRestoreParam()
96 void HCameraRestoreParam::SetStreamInfo(std::vector<StreamInfo_V1_1> &streamInfos) in SetStreamInfo() argument
98 mStreamInfos = streamInfos; in SetStreamInfo()
22 HCameraRestoreParam(std::string clientName, std::string cameraId, std::vector<StreamInfo_V1_1> streamInfos, std::shared_ptr<OHOS::Camera::CameraMetadata> settings, RestoreParamTypeOhos restoreParamType, int startActiveTime) HCameraRestoreParam() argument
H A Dhcamera_device.cpp1068 int32_t HCameraDevice::CreateStreams(std::vector<HDI::Camera::V1_1::StreamInfo_V1_1>& streamInfos) in CreateStreams() argument
1073 CHECK_ERROR_RETURN_RET_LOG(streamInfos.empty(), CAMERA_OK, "HCameraDevice::CreateStreams streamInfos is empty!"); in CreateStreams()
1091 for (auto streamInfo : streamInfos) { in CreateStreams()
1097 hdiRc = (CamRetCode)(streamOperatorV1_1->CreateStreams_V1_1(streamInfos)); in CreateStreams()
1101 for (auto streamInfo : streamInfos) { in CreateStreams()
1111 for (auto& streamInfo : streamInfos) { in CreateStreams()
1118 for (auto& info : streamInfos) { in CreateStreams()
1170 int32_t HCameraDevice::CreateAndCommitStreams(std::vector<HDI::Camera::V1_1::StreamInfo_V1_1>& streamInfos, in CreateAndCommitStreams() argument
1173 int retCode = CreateStreams(streamInfos); in CreateAndCommitStreams()
1225 UpdateStreams(std::vector<StreamInfo_V1_1>& streamInfos) UpdateStreams() argument
[all...]
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcameramgr/
H A Ddcamera_source_dev_test.cpp207 std::vector<std::shared_ptr<DCStreamInfo>> streamInfos; in HWTEST_F() local
217 streamInfos.push_back(streamInfo); in HWTEST_F()
219 int32_t ret = camDev_->ConfigCameraStreams(streamInfos); in HWTEST_F()
231 std::vector<std::shared_ptr<DCStreamInfo>> streamInfos; in HWTEST_F() local
244 streamInfos.push_back(streamInfo); in HWTEST_F()
246 int32_t ret = camDev_->ConfigCameraStreams(streamInfos); in HWTEST_F()
442 std::vector<std::shared_ptr<DCStreamInfo>> streamInfos; in HWTEST_F() local
452 streamInfos.push_back(streamInfo); in HWTEST_F()
453 int32_t ret = camDev_->ConfigStreams(streamInfos); in HWTEST_F()
475 std::vector<std::shared_ptr<DCStreamInfo>> streamInfos; in HWTEST_F() local
[all...]
H A Ddcamera_provider_callback_impl_test.cpp197 std::vector<DCStreamInfo> streamInfos; in HWTEST_F() local
198 int32_t ret = testProviderCallback_->ConfigureStreams(dhBase, streamInfos); in HWTEST_F()
348 std::vector<DCStreamInfo> streamInfos; in HWTEST_F() local
358 streamInfos.push_back(streamInfo11); in HWTEST_F()
359 int32_t ret = testProviderCallback->ConfigureStreams(dhBase, streamInfos); in HWTEST_F()
H A Dmock_dcamera_source_dev.h48 int32_t ConfigStreams(std::vector<std::shared_ptr<DCStreamInfo>>& streamInfos) in ConfigStreams() argument
/foundation/multimedia/camera_framework/services/camera_service/include/
H A Dhcamera_restore_param.h33 HCameraRestoreParam(std::string clientName, std::string cameraId, std::vector<StreamInfo_V1_1> streamInfos,
48 void SetStreamInfo(std::vector<StreamInfo_V1_1> &streamInfos);
H A Dhcamera_device.h76 int32_t CreateAndCommitStreams(std::vector<HDI::Camera::V1_1::StreamInfo_V1_1>& streamInfos,
78 int32_t UpdateStreams(std::vector<StreamInfo_V1_1>& streamInfos);
200 int32_t CreateStreams(std::vector<HDI::Camera::V1_1::StreamInfo_V1_1>& streamInfos);
H A Dhcapture_session.h242 int32_t GetCurrentStreamInfos(std::vector<StreamInfo_V1_1>& streamInfos);
304 void CancelStreamsAndGetStreamInfos(std::vector<StreamInfo_V1_1>& streamInfos);
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/
H A Ddcamera_source_event.h77 const std::vector<std::shared_ptr<DCStreamInfo>>& streamInfos) : eventType_(eventType) in DCameraSourceEvent()
79 eventParam_ = std::move(streamInfos); in DCameraSourceEvent()
108 int32_t GetStreamInfos(std::vector<std::shared_ptr<DCStreamInfo>>& streamInfos);
76 DCameraSourceEvent(DCAMERA_EVENT eventType, const std::vector<std::shared_ptr<DCStreamInfo>>& streamInfos) DCameraSourceEvent() argument
H A Ddcamera_source_dev.h57 int32_t ConfigCameraStreams(const std::vector<std::shared_ptr<DCStreamInfo>>& streamInfos);
88 virtual int32_t ConfigStreams(std::vector<std::shared_ptr<DCStreamInfo>>& streamInfos);
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/
H A Ddcamera_source_data_process.cpp67 int32_t DCameraSourceDataProcess::ConfigStreams(std::vector<std::shared_ptr<DCStreamInfo>>& streamInfos) in ConfigStreams() argument
69 uint64_t infoSize = static_cast<uint64_t>(streamInfos.size()); in ConfigStreams()
72 if (streamInfos.empty()) { in ConfigStreams()
77 for (auto iter = streamInfos.begin(); iter != streamInfos.end(); iter++) { in ConfigStreams()
H A Ddcamera_source_input.cpp47 int32_t DCameraSourceInput::ConfigStreams(std::vector<std::shared_ptr<DCStreamInfo>>& streamInfos) in ConfigStreams() argument
49 uint64_t infoSize = static_cast<uint64_t>(streamInfos.size()); in ConfigStreams()
59 if (streamInfos.empty()) { in ConfigStreams()
65 for (auto iter = streamInfos.begin(); iter != streamInfos.end(); iter++) { in ConfigStreams()
/foundation/multimedia/camera_framework/test/fuzztest/camerarestoreparam_fuzzer/
H A Dcamera_restore_param_fuzzer.cpp95 std::vector<StreamInfo_V1_1> streamInfos; in Test() local
96 fuzz->SetStreamInfo(streamInfos); in Test()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/
H A Ddcamera_source_event.cpp46 int32_t DCameraSourceEvent::GetStreamInfos(std::vector<std::shared_ptr<DCStreamInfo>>& streamInfos) in GetStreamInfos() argument
53 streamInfos = std::move(*streamInfosPtr); in GetStreamInfos()
H A Ddcamera_source_dev.cpp186 int32_t DCameraSourceDev::ConfigCameraStreams(const std::vector<std::shared_ptr<DCStreamInfo>>& streamInfos) in ConfigCameraStreams() argument
190 DCameraSourceEvent event(DCAMERA_EVENT_CONFIG_STREAMS, streamInfos); in ConfigCameraStreams()
505 int32_t DCameraSourceDev::ConfigStreams(std::vector<std::shared_ptr<DCStreamInfo>>& streamInfos) in ConfigStreams() argument
509 for (auto info : streamInfos) { in ConfigStreams()
513 int32_t ret = input_->ConfigStreams(streamInfos); in ConfigStreams()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcamerastate/
H A Ddcamera_source_opened_state.cpp130 std::vector<std::shared_ptr<DCStreamInfo>> streamInfos; in DoConfigStreamsTask() local
131 int32_t ret = event.GetStreamInfos(streamInfos); in DoConfigStreamsTask()
136 ret = camDev->ConfigStreams(streamInfos); in DoConfigStreamsTask()
H A Ddcamera_source_config_stream_state.cpp173 std::vector<std::shared_ptr<DCStreamInfo>> streamInfos; in DoConfigStreamsTask() local
174 int32_t ret = event.GetStreamInfos(streamInfos); in DoConfigStreamsTask()
179 ret = camDev->ConfigStreams(streamInfos); in DoConfigStreamsTask()
185 if (streamInfos.empty()) { in DoConfigStreamsTask()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcamerainterface/
H A Dicamera_input.h28 virtual int32_t ConfigStreams(std::vector<std::shared_ptr<DCStreamInfo>>& streamInfos) = 0;
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcamerahdf/
H A Ddcamera_provider_callback_impl.cpp101 const std::vector<DCStreamInfo>& streamInfos) in ConfigureStreams()
105 if (!CheckDHBase(dhBase) || streamInfos.empty() || streamInfos.size() > PARAM_MAX_SIZE) { in ConfigureStreams()
116 for (auto iter = streamInfos.begin(); iter != streamInfos.end(); iter++) { in ConfigureStreams()
100 ConfigureStreams(const DHBase& dhBase, const std::vector<DCStreamInfo>& streamInfos) ConfigureStreams() argument
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcameradata/
H A Ddcamera_source_data_process.h37 int32_t ConfigStreams(std::vector<std::shared_ptr<DCStreamInfo>>& streamInfos) override;
H A Ddcamera_source_input.h34 int32_t ConfigStreams(std::vector<std::shared_ptr<DCStreamInfo>>& streamInfos) override;
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcamerahdf/
H A Ddcamera_provider_callback_impl.h32 int32_t ConfigureStreams(const DHBase& dhBase, const std::vector<DCStreamInfo>& streamInfos) override;
/foundation/multimedia/camera_framework/test/fuzztest/cameradevice_fuzzer/
H A Dcamera_device_fuzzer.cpp154 std::vector<HDI::Camera::V1_1::StreamInfo_V1_1> streamInfos; in CameraDeviceFuzzTestUpdateSetting() local
155 fuzzCameraDevice->UpdateStreams(streamInfos); in CameraDeviceFuzzTestUpdateSetting()
158 fuzzCameraDevice->CreateAndCommitStreams(streamInfos, ability, data.ReadInt32()); in CameraDeviceFuzzTestUpdateSetting()
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/ability/
H A Dcamera_ability_parse_util.h51 std::vector<StreamInfo> streamInfos; member
/foundation/multimedia/camera_framework/frameworks/native/camera/src/ability/
H A Dcamera_ability_parse_util.cpp238 specInfo.streamInfos.resize(streamTypeCount); in GetStreamInfo()
241 StreamInfo& streamInfo = specInfo.streamInfos[k]; in GetStreamInfo()

Completed in 21 milliseconds

12