Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp1046 const std::array<float, 6>& distortion, in undistort() argument
1056 const float k0 = distortion[0]; in undistort()
1057 const float k1 = distortion[1]; in undistort()
1058 const float k2 = distortion[2]; in undistort()
1059 const float k3 = distortion[3]; in undistort()
1060 const float p1 = distortion[4]; in undistort()
1061 const float p2 = distortion[5]; in undistort()
1074 const std::array<float, 6>& distortion, in unDistortWithinPreCorrArray() argument
1077 undistort(x, y, distortion, cx, cy, f); in unDistortWithinPreCorrArray()
1089 const std::array<float, 6>& distortion, in boxWithinPrecorrectionArray() argument
[all …]
/frameworks/av/services/camera/libcameraservice/fuzzer/
DDistortionMapperFuzzer.cpp33 float distortion[5], float intrinsics[5], in setupTestMapper()
47 distortion, 5); in setupTestMapper()
/frameworks/av/services/camera/libcameraservice/tests/
DDistortionMapperTest.cpp50 float distortion[5], float intrinsics[5], in setupTestMapper()
64 distortion, 5); in setupTestMapper()
314 float distortion[] = {0.06875723, -0.13922249, 0.02818312, -0.00032781, -0.00025431}; in TEST() local
318 setupTestMapper(&m, distortion, intrinsics, activeArray, preCorrectionActiveArray); in TEST()
329 float distortion[] = {0.06875723, -0.13922249, 0.02818312, -0.00032781, -0.00025431}; in TEST() local
333 setupTestMapper(&m, distortion, intrinsics, activeArray, preCorrectionActiveArray); in TEST()
/frameworks/av/media/libeffects/hapticgenerator/aidl/
DHapticGeneratorContext.cpp81 for (auto& distortion : mProcessorsRecord.distortions) { in reset() local
82 distortion->clear(); in reset()
308 auto distortion = std::make_shared<::android::audio_effect::haptic_generator::Distortion>( in buildProcessingChain() local
311 mProcessorsRecord.distortions.push_back(distortion); in buildProcessingChain()
312 mProcessingChain.push_back([distortion](float* out, const float* in, size_t frameCount) { in buildProcessingChain()
313 distortion->process(out, in, frameCount); in buildProcessingChain()
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp215 camera_metadata_ro_entry_t calib, distortion; in updateCalibration() local
229 distortion = result.find(distortionKey); in updateCalibration()
232 if (distortion.count != 5) return BAD_VALUE; in updateCalibration()
242 for (size_t i = 0; i < distortion.count; i++) { in updateCalibration()
243 if (mapperInfo->mK[i] != distortion.data.f[i]) { in updateCalibration()
260 for (size_t i = 0; i < distortion.count; i++) { in updateCalibration()
261 mapperInfo->mK[i] = distortion.data.f[i]; in updateCalibration()
/frameworks/av/media/libeffects/hapticgenerator/
DEffectHapticGenerator.cpp251 auto distortion = std::make_shared<Distortion>( in HapticGenerator_buildProcessingChain() local
254 processorsRecord.distortions.push_back(distortion); in HapticGenerator_buildProcessingChain()
255 processingChain.push_back([distortion](float *out, const float *in, size_t frameCount) { in HapticGenerator_buildProcessingChain()
256 distortion->process(out, in, frameCount); in HapticGenerator_buildProcessingChain()
304 for (auto& distortion : context->processorsRecord.distortions) { in HapticGenerator_Reset() local
305 distortion->clear(); in HapticGenerator_Reset()
/frameworks/av/services/camera/libcameraservice/common/
DDepthPhotoProcessor.cpp471 imagingParams.distortion.reserve(distortionDataLength); in processDepthPhotoFrame()
472 imagingParams.distortion.insert(imagingParams.distortion.end(), distortionData, in processDepthPhotoFrame()