Class SyncRepairResult#
Defined in File sync_repair_result.hpp
Class Documentation#
-
class SyncRepairResult#
Parses a “synced/sync_repair.json” summary written by analysis/run_sync_repair.py into a queryable in-memory structure, for the Analysis tab’s Frame Sync Repair plugin. Deliberately does NOT parse the (much larger) per-camera “synced/video_N.repair_map.csv” audit files — nothing in the UI needs frame-level detail, only this small per-camera summary; the CSVs are for external/advanced use.
Usage:
auto result = SyncRepairResult::load(jsonPath); if (result.is_valid()) { ... }
Public Functions
-
SyncRepairResult() = default#
-
inline bool is_valid() const#
-
inline double master_fps() const#
-
inline int total_ticks() const#
-
inline int64_t duration_ms() const#
-
inline const QVector<SyncRepairCamera> &cameras() const#
-
int total_duplicated_frames() const#
Sum of duplicatedFrameCount across every non-skipped camera.
-
int skipped_camera_count() const#
Count of cameras with skipped == true.
Public Static Functions
-
static SyncRepairResult load(const QString &jsonPath)#
Parses jsonPath. Returns a default-constructed (is_valid() == false) result if the file is missing or malformed.
-
SyncRepairResult() = default#