feat: finalize FL2VA terminal merge

This commit is contained in:
ukr8b3g-cmyk
2026-08-22 21:25:34 +09:00
parent 498c467b55
commit d77a467796
23 changed files with 2921 additions and 21 deletions
+6 -2
View File
@@ -390,7 +390,9 @@ def analyze_decoded_boundaries(
"""Analyze every decoded chunk boundary without changing decoded content."""
plan = validate_assembly_plan(assembly_plan)
chunks = list(plan["chunks"])
chunks = list(
plan["decode_groups"] if "decode_groups" in plan else plan["chunks"]
)
if len(images) != len(chunks):
raise ValueError("decoded image count does not match the assembly plan")
analyses: list[VideoBoundaryAnalysis] = []
@@ -428,7 +430,9 @@ def correct_decoded_boundaries(
"""Normalize qualified transient exposure shifts without changing motion."""
plan = validate_assembly_plan(assembly_plan)
chunks = list(plan["chunks"])
chunks = list(
plan["decode_groups"] if "decode_groups" in plan else plan["chunks"]
)
if len(images) != len(chunks):
raise ValueError("decoded image count does not match the assembly plan")
corrected = list(images)