Home
last modified time | relevance | path

Searched refs:focal_length (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/camera/libcameraservice/utils/
DExifUtils.h119 virtual bool setFocalLength(float focal_length) = 0;
123 virtual bool setFocalLengthIn35mmFilm(float focal_length,
DExifUtils.cpp109 virtual bool setFocalLength(float focal_length);
113 virtual bool setFocalLengthIn35mmFilm(float focal_length,
458 bool ExifUtilsImpl::setFocalLength(float focal_length) { in setFocalLength() argument
459 uint32_t numerator = static_cast<uint32_t>(std::round(focal_length * kRationalPrecision)); in setFocalLength()
465 float focal_length, float sensor_size_x, float sensor_size_y) { in setFocalLengthIn35mmFilm() argument
471 float focalLength35mmFilm = std::round(focal_length * filmDiagonal / sensorDiagonal); in setFocalLengthIn35mmFilm()
896 float focal_length; in setFromMetadata() local
899 focal_length = entry.data.f[0]; in setFromMetadata()
901 if (!setFocalLength(focal_length)) { in setFromMetadata()
910 focal_length, sensorSizeEntry.data.f[0], sensorSizeEntry.data.f[1])) { in setFromMetadata()