Home
last modified time | relevance | path

Searched refs:focalLength (Results 1 - 6 of 6) sorted by relevance

/drivers/peripheral/camera/vdi_base/v4l2/src/camera_host/
H A Dhcs_deal.cpp543 float focalLength; in DealFocalLength() local
545 int32_t rc = pDevResIns->GetString(&metadataNode, "focalLength", &pNodeValue, nullptr); in DealFocalLength()
547 CAMERA_LOGE("get focalLength failed"); in DealFocalLength()
551 focalLength = (float)strtol(pNodeValue, NULL, STRTOL_BASE); in DealFocalLength()
552 CAMERA_LOGD("focalLength = %{public}f", focalLength); in DealFocalLength()
554 bool ret = metadata->addEntry(OHOS_ABILITY_FOCAL_LENGTH, static_cast<const void *>(&focalLength), 1); in DealFocalLength()
556 CAMERA_LOGE("focalLength add failed"); in DealFocalLength()
559 CAMERA_LOGD("focalLength add success"); in DealFocalLength()
/drivers/peripheral/camera/test/demo_3A/
H A Dohos_camera_demo_3a.cpp861 float focalLength = 0.0; in GetFocalLength() local
868 focalLength = *(entry.data.f); in GetFocalLength()
869 CAMERA_LOGD("demo test: focalLength %{public}f\n", focalLength); in GetFocalLength()
/drivers/peripheral/camera/test/demo/
H A Dohos_camera_demo.cpp853 float focalLength = 0.0; in GetFocalLength() local
860 focalLength = *(entry.data.f); in GetFocalLength()
861 CAMERA_LOGD("demo test: focalLength %{public}f\n", focalLength); in GetFocalLength()
/drivers/peripheral/distributed_camera/hdi_service/test/sample/
H A Ddcamera_hdf_demo.cpp802 float focalLength = 0.0; in GetFocalLength() local
809 focalLength = *(entry.data.f); in GetFocalLength()
810 DHLOGI("demo test: focalLength %{public}f", focalLength); in GetFocalLength()
/drivers/peripheral/camera/vdi_base/usb_camera/adapter/platform/v4l2/src/device_manager/
H A Dv4l2_device_manager.cpp777 const float focalLength = 24.0; in AddDefaultFocalLength() local
778 cameraFocalLength.push_back(focalLength); in AddDefaultFocalLength()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/
H A Dv4l2_device_manager.cpp860 const float focalLength = 24.0; in AddDefaultFocalLength() local
861 cameraFocalLength.push_back(focalLength); in AddDefaultFocalLength()

Completed in 14 milliseconds