diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-03 16:00:33 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-03 16:00:33 +0000 |
commit | 27088727cdd6af04611eb08a019e4ff2cef69406 (patch) | |
tree | 7193771ec8656f1616b708e11d7cc59b1a3ae330 | |
parent | ad6db6931bbb7544b2d21d4f91f244a44a88cfad (diff) | |
parent | d6112515808f522cc3c4a10f3bdd549873054262 (diff) | |
download | LegacyCamera-android14-mainline-adbd-release.tar.gz |
Snap for 10428683 from d6112515808f522cc3c4a10f3bdd549873054262 to mainline-adbd-releaseaml_adb_341520010aml_adb_341517070aml_adb_340912530aml_adb_340912350aml_adb_340912200aml_adb_340912000android14-mainline-adbd-release
Change-Id: Ia6dab962fa557bbb6e1229dfaa2dc001721a409c
-rw-r--r-- | jni/feature_stab/src/dbreg/dbstabsmooth.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jni/feature_stab/src/dbreg/dbstabsmooth.cpp b/jni/feature_stab/src/dbreg/dbstabsmooth.cpp index dffff8ab..d2e7a283 100644 --- a/jni/feature_stab/src/dbreg/dbstabsmooth.cpp +++ b/jni/feature_stab/src/dbreg/dbstabsmooth.cpp @@ -136,6 +136,8 @@ bool db_StabilizationSmoother::smoothMotionAdaptive(/*VP_BIMG *bimg,*/int hsize, smoothFactor = minSmoothFactor; // Find the amount of motion that must be compensated so that no "border" pixels are seen in the stable video + // FixLater: avoid floating point loop counters + // NOLINTNEXTLINE(clang-analyzer-security.FloatLoopCounter,cert-flp30-c) for (smoothFactor = smoothFactor; smoothFactor >= minSmoothFactor; smoothFactor -= 0.01) { // Compute the smoothed motion if(!smoothMotion(inmot, &tmpMotion, smoothFactor)) |