diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:19:28 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:19:28 +0000 |
commit | f8d8a4bcd77bdd034de476521e5a7f5eb70c42f8 (patch) | |
tree | 7193771ec8656f1616b708e11d7cc59b1a3ae330 | |
parent | 0de78fdc5f7187d28f24fa89fc2f070d66b9aa72 (diff) | |
parent | d6112515808f522cc3c4a10f3bdd549873054262 (diff) | |
download | LegacyCamera-android14-mainline-sdkext-release.tar.gz |
Snap for 10453563 from d6112515808f522cc3c4a10f3bdd549873054262 to mainline-sdkext-releaseaml_sdk_341510000aml_sdk_341410000aml_sdk_341110080aml_sdk_341110000aml_sdk_341010000aml_sdk_340912010android14-mainline-sdkext-release
Change-Id: I6617c03484428bc21fca1fa2042696fa3e06abe5
-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)) |