Video stabilization using gyroscope data
This report summarizes scanner evidence for gyroflow/gyroflow, a Rust project with 9,660 GitHub stars. SynthScan examined 171,042 lines of code across 221 source files, recording 117 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 0.9 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 114 finding(s).
Are imports declared and package/API names verified? 3 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 117 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 117 distinct pattern matches across 3 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/controller.rs | 3061 | #[cfg(not(any(target_os = "android", target_os = "ios")))] | COMMENT |
| LOW | src/ui/ui_tools.rs | 301 | #[test_case(("0", 1, true), ("1", 1))] | COMMENT |
| LOW | src/ui/ui_tools.rs | 321 | #[test_case(("10", 0, true), ("20", 0))] | COMMENT |
| LOW | src/ui/ui_tools.rs | 341 | #[test_case(("-11", 2, true), ("-10", 2))] | COMMENT |
| LOW | src/ui/ui_tools.rs | 361 | #[test_case(("0.0", 3, true), ("0.1", 3))] | COMMENT |
| LOW | src/ui/ui_tools.rs | 381 | #[test_case(("-1.0", 3, true), ("-0.9", 3))] | COMMENT |
| LOW | src/ui/components/Settings.rs | 161 | // 51 | QMetaType::Nullptr | std::nullptr_t | COMMENT |
| LOW | src/core/lib.rs | 1901 | optical_settings: Arc::new(RwLock::new(*self.optical_settings.read())), | COMMENT |
| LOW | src/core/frame_times.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | src/core/stabilization/frame_transform.rs | 121 | /// | COMMENT |
| LOW | src/core/stabilization/frame_transform.rs | 201 | radial_distortion_limit = params.distortion_model.radial_distortion_limit(&distortion_coeffs).unwrap | COMMENT |
| LOW | src/core/stabilization/pixel_formats.rs | 41 | ); | COMMENT |
| LOW | src/core/stabilization/cpu_undistort.rs | 81 | 0.0, 200.0, 200.0, 255.0, // Blue3 | COMMENT |
| LOW | src/core/stabilization/cpu_undistort.rs | 541 | // let color = (data & 0xF8) >> 3; | COMMENT |
| LOW | src/core/stabilization/cpu_undistort.rs | 841 | } | COMMENT |
| LOW | src/core/stabilization/projection.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | src/core/stabilization/projection.rs | 21 | //! | COMMENT |
| LOW | src/core/stabilization/projection.rs | 41 | //! (`ρ = tan θ`) is what Gyroflow has always rendered and stays the default; the others exist because a | COMMENT |
| LOW | src/core/stabilization/projection.rs | 61 | Rectilinear = 0, | COMMENT |
| LOW | …re/stabilization/distortion_models/gopro6_superview.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | src/core/stabilization/distortion_models/sony.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | src/core/stabilization/distortion_models/gopro_warp.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | src/core/stabilization/distortion_models/gopro.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | …ore/stabilization/distortion_models/gopro_hyperview.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | …/stabilization/distortion_models/generic_polynomial.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | src/core/stabilization/distortion_models/poly3.rs | 81 | pub fn id() -> &'static str { "poly3" } | COMMENT |
| LOW | src/core/stabilization/distortion_models/insta360.rs | 21 | /// it never folds but runs to infinity at `acos(-ξ)`, which [`Self::field_limit`] puts an epsilon short | COMMENT |
| LOW | src/core/stabilization/distortion_models/insta360.rs | 41 | /// | COMMENT |
| LOW | …ore/stabilization/distortion_models/gopro_superview.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | src/core/gpu/stabilize_spirv/src/lib.rs | 21 | COMMENT | |
| LOW | src/core/gpu/stabilize_spirv/src/lib.rs | 41 | #[spirv(fragment)] | COMMENT |
| LOW | …ore/gpu/stabilize_spirv/src/distortion_models/poly3.rs | 81 | // let crop_factor = 1.0; | COMMENT |
| LOW | src/core/gyro_source/per_frame.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | src/core/gyro_source/per_frame.rs | 21 | use std::ops::Range; | COMMENT |
| LOW | src/core/gyro_source/per_frame.rs | 221 | /// One value for every frame up to the last one with a value: a frame without one of its own takes the previous | COMMENT |
| LOW | src/core/gyro_source/segments.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | src/core/gyro_source/segments.rs | 21 | //! timeline. gyroflow puts a video's time `t` at `t / fps_scale` of the motion data (`StabilizationParams::fps_scale`: | COMMENT |
| LOW | src/core/gyro_source/segments.rs | 41 | use std::sync::atomic::AtomicBool; | COMMENT |
| LOW | src/core/gyro_source/segments.rs | 101 | #[derive(Default, Clone, Debug, serde::Serialize, serde::Deserialize)] | COMMENT |
| LOW | src/core/gyro_source/segments.rs | 261 | /// the next part's first one (the last part's to the end) | COMMENT |
| LOW | src/core/gyro_source/sony.rs | 701 | /// (`MeshTable::refinement`), two more spline evaluations per pixel; below it the 9x9 inverse is taken as it is. A | COMMENT |
| LOW | src/core/gyro_source/optical_correction.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | src/core/gyro_source/optical_correction.rs | 41 | } | COMMENT |
| LOW | src/core/gyro_source/optical_correction.rs | 81 | /// Motion data timestamp of the first control point, microseconds | COMMENT |
| LOW | src/core/gyro_source/file_metadata.rs | 301 | /// (`splines::BivariateSpline`, a, b, c, d per row, for x then for y). The kernels read `[0]` as the offset of the | COMMENT |
| LOW | src/core/gyro_source/file_metadata.rs | 321 | #[serde(default)] | COMMENT |
| LOW | src/core/gyro_source/mod.rs | 41 | pub type TimeQuat = BTreeMap<i64, Quat64>; // key is timestamp_us | COMMENT |
| LOW | src/core/gyro_source/mod.rs | 101 | /// The file was loaded with all of its metadata, as the video's own (it's the video, or "Load all metadata" was | COMMENT |
| LOW | src/core/gyro_source/mod.rs | 121 | /// motion data, or with its own set aside | COMMENT |
| LOW | src/core/gyro_source/mod.rs | 1621 | /// time the frame's rows are read at | COMMENT |
| LOW | src/core/gyro_source/mod.rs | 2001 | /// The video frame a sample of per-frame metadata describes, which its entry in the per-frame tables belongs to. The | COMMENT |
| LOW | src/core/gyro_source/sony/breathing.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | src/core/synchronization/optimsync.rs | 201 | } | COMMENT |
| LOW | src/core/synchronization/lens_delay.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | src/core/synchronization/lens_delay.rs | 161 | } | COMMENT |
| LOW | src/core/synchronization/optical_motion/odometry.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | src/core/synchronization/optical_motion/solver.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | src/core/synchronization/optical_motion/pair_klt.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | src/core/synchronization/optical_motion/mod.rs | 1 | // SPDX-License-Identifier: GPL-3.0-or-later | COMMENT |
| LOW | src/core/synchronization/optical_motion/mod.rs | 41 | /// Tracks kept alive per frame | COMMENT |
| 50 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | src/core/synchronization/optical_motion/mod.rs | 737 | pub fn motion(&self) -> GyroSource { self.tracks.setup.params.gyro.read().clone() } | CODE |
| CRITICAL | src/core/synchronization/optical_motion/mod.rs | 740 | pub fn motion_for_lookups(&self, orientations: bool) -> GyroSource { self.tracks.setup.params.gyro.read().clone_for_ | CODE |
| CRITICAL | src/core/synchronization/optical_motion/mod.rs | 995 | let continuous = self.last.map(|l| index == l.index + 1 && self.measuring.setup.params.gyro.read().frames_of_one | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/core/synchronization/optical_motion/mod.rs | 19 | //! moves on its own and that the robust fit took for the scene, and the rest is measured again without going over the | COMMENT |
| MEDIUM | src/core/synchronization/optical_motion/mod.rs | 182 | /// From its weight in the robust fit of its band (Cauchy: 0.5 at 2.5 σ, 0.1 at 7.5 σ) | COMMENT |
| MEDIUM | src/core/synchronization/optical_motion/mod.rs | 212 | /// the tracks the user took out. The robust fit of each band of rows tells the scene from what moves on its own as long | COMMENT |
| MEDIUM | src/core/synchronization/optical_motion/tracker.rs | 27 | /// 960 px wide - glints on water are smaller, and the robust fit takes care of them among everything else | COMMENT |