summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:49:32 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:49:32 +0000
commitae1bdff87a2d0e93e4c99e3d0c57fa7ad4f93411 (patch)
tree7193771ec8656f1616b708e11d7cc59b1a3ae330
parent5781e83f3c09cee4dfcb758dbebc49af45b3bb1c (diff)
parentd6112515808f522cc3c4a10f3bdd549873054262 (diff)
downloadLegacyCamera-android14-mainline-appsearch-release.tar.gz
Snap for 10453563 from d6112515808f522cc3c4a10f3bdd549873054262 to mainline-appsearch-releaseaml_ase_341510000aml_ase_341410000aml_ase_341310010aml_ase_341113000aml_ase_340913000android14-mainline-appsearch-release
Change-Id: I8ffb9768d22039045e380e27c694b679e0e8950e
-rw-r--r--jni/feature_stab/src/dbreg/dbstabsmooth.cpp2
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))