Home
last modified time | relevance | path

Searched refs:distortion (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp981 const std::array<float, 6>& distortion, in undistort() argument
991 const float k0 = distortion[0]; in undistort()
992 const float k1 = distortion[1]; in undistort()
993 const float k2 = distortion[2]; in undistort()
994 const float k3 = distortion[3]; in undistort()
995 const float p1 = distortion[4]; in undistort()
996 const float p2 = distortion[5]; in undistort()
1009 const std::array<float, 6>& distortion, in unDistortWithinPreCorrArray() argument
1012 undistort(x, y, distortion, cx, cy, f); in unDistortWithinPreCorrArray()
1024 const std::array<float, 6>& distortion, in boxWithinPrecorrectionArray() argument
[all …]
/frameworks/av/services/camera/libcameraservice/tests/
DDistortionMapperTest.cpp50 float distortion[5], float intrinsics[5], in setupTestMapper()
64 distortion, 5); in setupTestMapper()
308 float distortion[] = {0.06875723, -0.13922249, 0.02818312, -0.00032781, -0.00025431}; in TEST() local
312 setupTestMapper(&m, distortion, intrinsics, activeArray, preCorrectionActiveArray); in TEST()
323 float distortion[] = {0.06875723, -0.13922249, 0.02818312, -0.00032781, -0.00025431}; in TEST() local
327 setupTestMapper(&m, distortion, intrinsics, activeArray, preCorrectionActiveArray); in TEST()
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp181 camera_metadata_ro_entry_t calib, distortion; in updateCalibration() local
184 distortion = result.find(ANDROID_LENS_DISTORTION); in updateCalibration()
187 if (distortion.count != 5) return BAD_VALUE; in updateCalibration()
197 for (size_t i = 0; i < distortion.count; i++) { in updateCalibration()
198 if (mK[i] != distortion.data.f[i]) { in updateCalibration()
215 for (size_t i = 0; i < distortion.count; i++) { in updateCalibration()
216 mK[i] = distortion.data.f[i]; in updateCalibration()
/frameworks/av/services/camera/libcameraservice/common/
DDepthPhotoProcessor.cpp467 imagingParams.distortion.reserve(distortionDataLength); in processDepthPhotoFrame()
468 imagingParams.distortion.insert(imagingParams.distortion.end(), distortionData, in processDepthPhotoFrame()