nx_timeline.nx
buildroot/runtime/nx_timeline.nx
about
nx_timeline.nx -- editor timeline assembler (R4b): turn a clip list + per-gap
transition windows into a single output frame SCHEDULE. Crossfade-overlap
model (standard NLE): between clip k and k+1, the last W frames of k overlap-
blend with the first W frames of k+1, so total = sum(len) - sum(window).
W=0 = hard cut. This is the stitch logic ("put recordings together with
smooth transitions"); it composes nx_transition for the actual pixels.
Output: one record per output frame, 6 i64:
[mode, srcA, frmA, srcB, frmB, progress_q14]
mode 0 = straight (show clip srcA frame frmA)
mode 1 = blend (crossfade srcA/frmA with srcB/frmB at progress_q14)
Pure integer scheduling -- no pixels -> exactly gateable.
genealogy_id: nle_crossfade_overlap_edit + edit_decision_list
lineage_id: clip_schedule + overlap_transition_window
license_tier: ORIGINAL
dependencies 1 imports · 2 importers
imports: nx_syscalls.nx
imported by: nx_timeline_demo.nxnx_timeline_gate.nx
structs
| none |
consts
| 19 | const NX_TL_REC: i64 = 6 |
functions
| 21 | func nx_timeline_plan(lens: *i64, nclips: i64, wins: *i64, q: i64, recs: *i64, maxr: i64) -> i64 |