Home
last modified time | relevance | path

Searched refs:focalLength (Results 1 – 11 of 11) sorted by relevance

/device/generic/goldfish/camera/
DExif.cpp352 float focalLength; in createExifDataCommon() local
375 focalLength = (entry.count > 0) ? entry.data.f[0] : 5.0f; in createExifDataCommon()
376 createEntry(exifData, EXIF_IFD_EXIF, EXIF_TAG_FOCAL_LENGTH, focalLength); in createExifDataCommon()
379 ALOGV("degrees %d focalLength %f", degrees, focalLength); in createExifDataCommon()
DEmulatedFakeCamera2.cpp2092 static const float focalLength = 3.30f; // mm in constructStaticInfo() local
2094 &focalLength, 1); in constructStaticInfo()
2401 static const float focalLength = 5.0f; in constructDefaultRequest() local
2402 ADD_OR_SIZE(ANDROID_LENS_FOCAL_LENGTH, &focalLength, 1); in constructDefaultRequest()
DEmulatedQemuCamera3.cpp500 static const float focalLength = 5.0f; in constructDefaultRequestSettings() local
501 settings.update(ANDROID_LENS_FOCAL_LENGTH, &focalLength, 1); in constructDefaultRequestSettings()
DEmulatedFakeCamera3.cpp452 static const float focalLength = 5.0f; in constructDefaultRequestSettings() local
453 settings.update(ANDROID_LENS_FOCAL_LENGTH, &focalLength, 1); in constructDefaultRequestSettings()
/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedFakeCamera3.cpp415 static const float focalLength = 5.0f; in constructDefaultRequestSettings() local
416 settings.update(ANDROID_LENS_FOCAL_LENGTH, &focalLength, 1); in constructDefaultRequestSettings()
1161 static const float focalLength = 3.30f; // mm in constructStaticInfo() local
1162 ADD_STATIC_ENTRY(ANDROID_LENS_INFO_AVAILABLE_FOCAL_LENGTHS, &focalLength, 1); in constructStaticInfo()
1227 float f_x = focalLength * mSensorWidth / sensorPhysicalSize[0]; in constructStaticInfo()
1228 float f_y = focalLength * mSensorHeight / sensorPhysicalSize[1]; in constructStaticInfo()
DEmulatedFakeCamera2.cpp2054 static const float focalLength = 3.30f; // mm in constructStaticInfo() local
2055 ADD_OR_SIZE(ANDROID_LENS_INFO_AVAILABLE_FOCAL_LENGTHS, &focalLength, 1); in constructStaticInfo()
2317 static const float focalLength = 5.0f; in constructDefaultRequest() local
2318 ADD_OR_SIZE(ANDROID_LENS_FOCAL_LENGTH, &focalLength, 1); in constructDefaultRequest()
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp2124 int32_t getExifFocalLength(rat_t *focalLength, float value) in getExifFocalLength() argument
2128 return getRational(focalLength, focalLengthValue, FOCAL_LENGTH_DECIMAL_PRECISION); in getExifFocalLength()
2404 rat_t focalLength; in getExifData() local
2405 rc = getExifFocalLength(&focalLength, *focal_length); in getExifData()
2410 (void *)&(focalLength)); in getExifData()
DQCamera3HWI.cpp5533 IF_META_AVAILABLE(float, focalLength, CAM_INTF_META_LENS_FOCAL_LENGTH, metadata) { in translateFromHalMetadata()
5534 camMetadata.update(ANDROID_LENS_FOCAL_LENGTH, focalLength, 1); in translateFromHalMetadata()
10011 float focalLength = frame_settings.find(ANDROID_LENS_FOCAL_LENGTH).data.f[0]; in translateToHalMetadata() local
10013 focalLength)) { in translateToHalMetadata()
/device/google/marlin/camera/QCamera2/HAL/
DQCameraParametersIntf.cpp381 int32_t QCameraParametersIntf::getExifFocalLength(rat_t *focalLength) in getExifFocalLength() argument
385 return mImpl->getExifFocalLength(focalLength); in getExifFocalLength()
DQCamera2HWI.cpp9100 rat_t focalLength; in getExifData() local
9101 rc = mParameters.getExifFocalLength(&focalLength); in getExifData()
9106 (void *)&(focalLength)); in getExifData()
DQCameraParameters.cpp10905 int32_t QCameraParameters::getExifFocalLength(rat_t *focalLength) in getExifFocalLength() argument
10909 return getRational(focalLength, focalLengthValue, FOCAL_LENGTH_DECIMAL_PRECISION); in getExifFocalLength()