/hardware/interfaces/camera/provider/2.4/default/ |
D | LegacyCameraProviderImpl_2_4.cpp | 50 std::string* cameraId) { in matchDeviceName() argument 57 if (cameraId != nullptr) { in matchDeviceName() 58 *cameraId = sm[2]; in matchDeviceName() 72 char cameraId[kMaxCameraIdLen]; in addDeviceNames() local 73 snprintf(cameraId, sizeof(cameraId), "%d", camera_id); in addDeviceNames() 74 std::string cameraIdStr(cameraId); in addDeviceNames() 91 int ret = mModule->openLegacy(cameraId, CAMERA_DEVICE_API_VERSION_1_0, &halDev); in addDeviceNames() 149 char cameraId[kMaxCameraIdLen]; in sCameraDeviceStatusChange() local 150 snprintf(cameraId, sizeof(cameraId), "%d", camera_id); in sCameraDeviceStatusChange() 151 std::string cameraIdStr(cameraId); in sCameraDeviceStatusChange() [all …]
|
D | ExternalCameraProviderImpl_2_4.cpp | 48 std::string* cameraId) { in matchDeviceName() argument 55 if (cameraId != nullptr) { in matchDeviceName() 56 *cameraId = sm[2]; in matchDeviceName() 147 std::string cameraId, deviceVersion; in getCameraDeviceInterface_V3_x() local 148 bool match = matchDeviceName(cameraDeviceName, &deviceVersion, &cameraId); in getCameraDeviceInterface_V3_x() 165 cameraId, mCfg); in getCameraDeviceInterface_V3_x() 171 cameraId, mCfg); in getCameraDeviceInterface_V3_x() 181 ALOGE("%s: camera device %s init failed!", __FUNCTION__, cameraId.c_str()); in getCameraDeviceInterface_V3_x()
|
/hardware/interfaces/automotive/evs/1.0/default/ |
D | EvsEnumerator.cpp | 75 Return<sp<IEvsCamera>> EvsEnumerator::openCamera(const hidl_string& cameraId) { in openCamera() argument 81 if (cam.desc.cameraId == cameraId) { in openCamera() 90 ALOGE("Requested camera %s not found", cameraId.c_str()); in openCamera() 102 pActiveCamera = new EvsCamera(cameraId.c_str()); in openCamera() 105 ALOGE("Failed to allocate new EvsCamera object for %s\n", cameraId.c_str()); in openCamera() 121 std::string cameraId; in closeCamera() local 122 pCamera->getCameraInfo([&cameraId](CameraDesc desc) { in closeCamera() 125 cameraId.assign(desc.cameraId.c_str()); in closeCamera() 132 if (cam.desc.cameraId == cameraId) { in closeCamera()
|
D | EvsEnumerator.h | 42 Return<sp<IEvsCamera>> openCamera(const hidl_string& cameraId) override; 59 CameraRecord(const char *cameraId) : desc() { desc.cameraId = cameraId; } in CameraRecord()
|
/hardware/interfaces/automotive/evs/1.0/vts/functional/ |
D | VtsHalEvsV1_0TargetTest.cpp | 87 ALOGI("Found camera %s", cam.cameraId.c_str()); in loadCameraList() 121 sp<IEvsCamera> pCam = pEnumerator->openCamera(cam.cameraId); in TEST_P() 126 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_P() 127 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_P() 152 sp<IEvsCamera> pCam = pEnumerator->openCamera(cam.cameraId); in TEST_P() 157 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_P() 158 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_P() 162 sp<IEvsCamera> pCam2 = pEnumerator->openCamera(cam.cameraId); in TEST_P() 180 ALOGD("Found camera %s", desc.cameraId.c_str()); in TEST_P() 181 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_P() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/ |
D | QCamera2Factory.cpp | 120 uint32_t cameraId = 0; in QCamera2Factory() local 122 for (int i = 0; i < mNumOfCameras ; i++, cameraId++) { in QCamera2Factory() 123 mHalDescriptors[i].cameraId = cameraId; in QCamera2Factory() 125 if (isHAL3Enabled && !(is_yuv_sensor(cameraId))) { in QCamera2Factory() 412 mHalDescriptors[camera_id].cameraId, info); in QCamera2Factory() 476 … QCamera3HardwareInterface *hw = new QCamera3HardwareInterface(mHalDescriptors[camera_id].cameraId, in QCamera2Factory() 564 int32_t cameraId, uint32_t halVersion, struct hw_device_t** hw_device) in QCamera2Factory() argument 568 LOGI("openLegacy halVersion: %d cameraId = %d", halVersion, cameraId); in QCamera2Factory() 570 if (cameraId < 0 || cameraId >= gQCamera2Factory->getNumberOfCameras()) in QCamera2Factory() 580 new QCamera2HardwareInterface((uint32_t)cameraId); in QCamera2Factory() [all …]
|
D | QCamera2Factory.h | 39 uint32_t cameraId; member 71 int32_t cameraId, uint32_t halVersion, struct hw_device_t** hw_device);
|
/hardware/interfaces/camera/common/1.0/default/include/ |
D | CameraModule.h | 52 int getCameraInfo(int cameraId, struct camera_info *info); 53 int getDeviceVersion(int cameraId); 70 void removeCamera(int cameraId); 72 int isStreamCombinationSupported(int cameraId, camera_stream_combination_t *streams);
|
/hardware/interfaces/camera/common/1.0/default/ |
D | CameraModule.cpp | 280 int CameraModule::getCameraInfo(int cameraId, struct camera_info *info) { in getCameraInfo() argument 283 if (cameraId < 0) { in getCameraInfo() 284 ALOGE("%s: Invalid camera ID %d", __FUNCTION__, cameraId); in getCameraInfo() 293 ret = mModule->get_camera_info(cameraId, info); in getCameraInfo() 301 ssize_t index = mCameraInfoMap.indexOfKey(cameraId); in getCameraInfo() 306 int ret = mModule->get_camera_info(cameraId, &rawInfo); in getCameraInfo() 322 index = mCameraInfoMap.add(cameraId, cameraInfo); in getCameraInfo() 377 int CameraModule::getDeviceVersion(int cameraId) { in getDeviceVersion() argument 378 ssize_t index = mDeviceVersionMap.indexOfKey(cameraId); in getDeviceVersion() 383 getCameraInfo(cameraId, &info); in getDeviceVersion() [all …]
|
/hardware/interfaces/camera/device/3.5/default/ |
D | ExternalCameraDevice.cpp | 31 const std::string& cameraId, const ExternalCameraConfig& cfg) : in ExternalCameraDevice() argument 32 V3_4::implementation::ExternalCameraDevice(cameraId, cfg) {} in ExternalCameraDevice() 50 const std::string& cameraId, in createSession() argument 53 cb, cfg, sortedFormats, croppingType, chars, cameraId, std::move(v4l2Fd)); in createSession()
|
D | CameraDevice.cpp | 34 CameraDevice::CameraDevice(sp<CameraModule> module, const std::string& cameraId, in CameraDevice() argument 36 V3_4::implementation::CameraDevice(module, cameraId, cameraDeviceNames) { in CameraDevice()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 473 QCamera3HardwareInterface::QCamera3HardwareInterface(uint32_t cameraId, in QCamera3HardwareInterface() argument 475 : mCameraId(cameraId), in QCamera3HardwareInterface() 562 mCommon.init(gCamCapability[cameraId]); in QCamera3HardwareInterface() 572 gCamCapability[cameraId]->version = CAM_HAL_V3; in QCamera3HardwareInterface() 575 gCamCapability[cameraId]->min_num_pp_bufs = 3; in QCamera3HardwareInterface() 643 mPDIndex = getPDStatIndex(gCamCapability[cameraId]); in QCamera3HardwareInterface() 1261 int QCamera3HardwareInterface::validateStreamDimensions(uint32_t cameraId, in validateStreamDimensions() argument 1268 auto pDIndex = getPDStatIndex(gCamCapability[cameraId]); in validateStreamDimensions() 1271 depthWidth = gCamCapability[cameraId]->raw_meta_dim[pDIndex].width; in validateStreamDimensions() 1272 depthHeight = gCamCapability[cameraId]->raw_meta_dim[pDIndex].height; in validateStreamDimensions() [all …]
|
D | QCamera3HWI.h | 258 QCamera3HardwareInterface(uint32_t cameraId, 272 static int getCamInfo(uint32_t cameraId, struct camera_info *info); 273 static int isStreamCombinationSupported(uint32_t cameraId, 277 static int initCapabilities(uint32_t cameraId); 278 static int initStaticMetadata(uint32_t cameraId); 348 static void getFlashInfo(const int cameraId, 434 static int32_t validateStreamCombination(uint32_t cameraId, 440 static int validateStreamDimensions(uint32_t cameraId, 443 static int validateUsageFlags(uint32_t cameraId, 524 static bool supportBurstCapture(uint32_t cameraId);
|
/hardware/interfaces/camera/device/3.4/default/ |
D | CameraDevice.cpp | 36 sp<CameraModule> module, const std::string& cameraId, in CameraDevice() argument 38 V3_2::implementation::CameraDevice(module, cameraId, cameraDeviceNames) { in CameraDevice()
|
/hardware/interfaces/camera/device/3.3/default/ |
D | CameraDevice.cpp | 36 sp<CameraModule> module, const std::string& cameraId, in CameraDevice() argument 38 V3_2::implementation::CameraDevice(module, cameraId, cameraDeviceNames) { in CameraDevice()
|
D | CameraDevice_3_3.h | 57 const std::string& cameraId,
|
/hardware/google/easel/amber/camera/libhdrplusclient/include/ |
D | EaselManagerClient.h | 86 virtual status_t startMipi(uint32_t cameraId, uint32_t outputPixelClkHz, 94 virtual status_t stopMipi(uint32_t cameraId) = 0;
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/wrapper/ |
D | QualcommCamera.cpp | 83 int cameraId; member 135 int cameraId = atoi(id); in camera_device_open() local 146 camHal->hardware = new QCamera2HardwareInterface((uint32_t)cameraId); in camera_device_open() 148 camHal->cameraId = cameraId; in camera_device_open()
|
D | QualcommCamera.h | 44 hw_device_t * open_camera_device(int cameraId);
|
/hardware/interfaces/camera/device/3.2/default/ |
D | CameraDevice.cpp | 35 sp<CameraModule> module, const std::string& cameraId, in CameraDevice() argument 38 mCameraId(cameraId), in CameraDevice() 118 std::string cameraId(info.conflicting_devices[i]); in getResourceCost() local 120 if (cameraId == pair.first) { in getResourceCost()
|
/hardware/interfaces/automotive/evs/1.0/ |
D | IEvsEnumerator.hal | 35 * Get the IEvsCamera associated with a cameraId from a CameraDesc 37 * Given a camera's unique cameraId from CameraDesc, returns the 44 openCamera(string cameraId) generates (IEvsCamera carCamera);
|
/hardware/interfaces/camera/device/3.5/default/include/ext_device_v3_5_impl/ |
D | ExternalCameraDevice_3_5.h | 60 ExternalCameraDevice(const std::string& cameraId, const ExternalCameraConfig& cfg); 81 const std::string& cameraId,
|
/hardware/interfaces/camera/device/3.4/default/include/device_v3_4_impl/ |
D | CameraDevice_3_4.h | 57 const std::string& cameraId,
|
/hardware/qcom/camera/msm8998/usbcamcore/inc/ |
D | QualcommUsbCamera.h | 48 hw_device_t * usbcam_open_camera_device(int cameraId);
|
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/ |
D | ExternalCameraDevice_3_4.h | 61 ExternalCameraDevice(const std::string& cameraId, const ExternalCameraConfig& cfg); 99 const std::string& cameraId,
|