Home
last modified time | relevance | path

Searched refs:kRationalPrecision (Results 1 – 3 of 3) sorted by relevance

/hardware/google/camera/devices/EmulatedCamera/hwl/utils/
DExifUtils.cpp247 const static int kRationalPrecision = 10000; member in android::ExifUtilsImpl
337 static_cast<uint32_t>(std::round(apex_value * kRationalPrecision)), in SetAperture()
338 kRationalPrecision); in SetAperture()
381 static_cast<uint32_t>(std::round(zoom_ratio * kRationalPrecision)), in SetDigitalZoomRatio()
382 kRationalPrecision); in SetDigitalZoomRatio()
396 static_cast<uint32_t>(std::round(exposure_time * kRationalPrecision)), in SetExposureTime()
397 kRationalPrecision); in SetExposureTime()
453 static_cast<uint32_t>(std::round(f_number * kRationalPrecision)), in SetFNumber()
454 kRationalPrecision); in SetFNumber()
460 static_cast<uint32_t>(std::round(focal_length * kRationalPrecision)); in SetFocalLength()
[all …]
/hardware/libhardware/modules/camera/3_4/arc/
Dimage_processor.cpp63 static const int kRationalPrecision = 10000; variable
420 static_cast<uint32_t>(focal_length * kRationalPrecision), in SetExifTags()
421 kRationalPrecision)) { in SetExifTags()
/hardware/interfaces/camera/common/1.0/default/
DExif.cpp966 constexpr int kRationalPrecision = 10000; in setFromMetadata() local
988 static_cast<uint32_t>(focal_length * kRationalPrecision), in setFromMetadata()
989 kRationalPrecision)) { in setFromMetadata()