Home
last modified time | relevance | path

Searched refs:camInfo (Results 1 – 8 of 8) sorted by relevance

/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DEvsMockCamera.cpp55 std::unique_ptr<ConfigManager::CameraInfo>& camInfo) in EvsMockCamera() argument
56 : mCameraInfo(camInfo) { in EvsMockCamera()
63 if (camInfo) { in EvsMockCamera()
64 uint8_t* ptr = reinterpret_cast<uint8_t*>(camInfo->characteristics); in EvsMockCamera()
65 const size_t len = get_camera_metadata_size(camInfo->characteristics); in EvsMockCamera()
355 const char* deviceName, std::unique_ptr<ConfigManager::CameraInfo>& camInfo, in Create() argument
358 ndk::SharedRefBase::make<EvsMockCamera>(Sigil{}, deviceName, camInfo); in Create()
367 auto it = camInfo->streamConfigurations.begin(); in Create()
DConfigManager.cpp788 for (auto&& [camId, camInfo] : mCameraGroups) { in writeConfigDataToBinary()
795 sz = camInfo->controls.size(); in writeConfigDataToBinary()
797 for (auto&& [ctrl, range] : camInfo->controls) { in writeConfigDataToBinary()
805 sz = camInfo->streamConfigurations.size(); in writeConfigDataToBinary()
807 for (auto&& [sid, cfg] : camInfo->streamConfigurations) { in writeConfigDataToBinary()
813 outFile.write(reinterpret_cast<const char*>(&camInfo->synchronized), sizeof(int32_t)); in writeConfigDataToBinary()
818 if (camInfo->characteristics != nullptr) { in writeConfigDataToBinary()
819 num_entry = get_camera_metadata_entry_count(camInfo->characteristics); in writeConfigDataToBinary()
820 num_data = get_camera_metadata_data_count(camInfo->characteristics); in writeConfigDataToBinary()
829 if (get_camera_metadata_entry(camInfo->characteristics, idx, &entry)) { in writeConfigDataToBinary()
[all …]
DEvsVideoEmulatedCamera.cpp47 std::unique_ptr<ConfigManager::CameraInfo>& camInfo) in EvsVideoEmulatedCamera() argument
48 : mVideoFileName(deviceName), mCameraInfo(camInfo) { in EvsVideoEmulatedCamera()
52 if (camInfo) { in EvsVideoEmulatedCamera()
53 uint8_t* ptr = reinterpret_cast<uint8_t*>(camInfo->characteristics); in EvsVideoEmulatedCamera()
54 const size_t len = get_camera_metadata_size(camInfo->characteristics); in EvsVideoEmulatedCamera()
512 const char* deviceName, std::unique_ptr<ConfigManager::CameraInfo>& camInfo, in Create() argument
515 ndk::SharedRefBase::make<EvsVideoEmulatedCamera>(Sigil{}, deviceName, camInfo); in Create()
/hardware/interfaces/automotive/evs/1.1/default/
DEvsCamera.cpp53 EvsCamera::EvsCamera(const char* id, std::unique_ptr<ConfigManager::CameraInfo>& camInfo) in EvsCamera() argument
54 : mFramesAllowed(0), mFramesInUse(0), mStreamState(STOPPED), mCameraInfo(camInfo) { in EvsCamera()
61 mDescription.metadata.setToExternal((uint8_t*)camInfo->characteristics, in EvsCamera()
62 get_camera_metadata_size(camInfo->characteristics)); in EvsCamera()
729 std::unique_ptr<ConfigManager::CameraInfo>& camInfo, in Create() argument
731 sp<EvsCamera> evsCamera = new EvsCamera(deviceName, camInfo); in Create()
739 auto it = camInfo->streamConfigurations.begin(); in Create()
DEvsCamera.h72 std::unique_ptr<ConfigManager::CameraInfo>& camInfo,
83 EvsCamera(const char* id, std::unique_ptr<ConfigManager::CameraInfo>& camInfo);
/hardware/interfaces/automotive/evs/aidl/impl/default/include/
DEvsMockCamera.h45 std::unique_ptr<ConfigManager::CameraInfo>& camInfo);
72 const char* deviceName, std::unique_ptr<ConfigManager::CameraInfo>& camInfo,
DEvsVideoEmulatedCamera.h47 std::unique_ptr<ConfigManager::CameraInfo>& camInfo);
77 const char* deviceName, std::unique_ptr<ConfigManager::CameraInfo>& camInfo,
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQualcommUsbCamera.cpp162 struct CameraInfo camInfo; in usbcam_get_camera_info() local
163 memset(&camInfo, -1, sizeof (struct CameraInfo)); in usbcam_get_camera_info()