diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-01-13 05:26:41 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-01-13 05:26:41 +0000 |
commit | 3a5be87cfae3b8eab455029e6c2170378be27cd9 (patch) | |
tree | 7193771ec8656f1616b708e11d7cc59b1a3ae330 | |
parent | fc65631c5fdeed14372263e0b03b68f65789680d (diff) | |
parent | c8f318f6e7c88a157e4ce7d4ffee3e15f00126ff (diff) | |
download | LegacyCamera-android14-d1-s3-release.tar.gz |
Snap for 9486206 from c8f318f6e7c88a157e4ce7d4ffee3e15f00126ff to udc-d1-releaseandroid-14.0.0_r9android-14.0.0_r8android-14.0.0_r7android-14.0.0_r6android-14.0.0_r5android-14.0.0_r4android-14.0.0_r3android-14.0.0_r12android-14.0.0_r11android-14.0.0_r10android14-d1-s7-releaseandroid14-d1-s6-releaseandroid14-d1-s5-releaseandroid14-d1-s4-releaseandroid14-d1-s3-releaseandroid14-d1-s2-releaseandroid14-d1-s1-releaseandroid14-d1-release
Change-Id: I33659f822847589acc0f481e4b3a68751aac0015
-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)) |