nx_transition.nx
buildroot/runtime/nx_transition.nx
about
nx_transition.nx -- frame transitions for the editor (R4: stitch+transitions).
Crossfade / dissolve / fade between two nx_image frames, reusing the eased
blend kernel nx_gradient_blend_q14 (LINEAR/SMOOTHSTEP/EASE_IN_OUT/SHARP) so
transitions are SMOOTH, not just linear -- the "s-class" quality the editor
wants. progress in [0, NX_GB_Q]: 0 = pure A, NX_GB_Q = pure B.
This is the per-frame transition PRIMITIVE. The timeline assembler (walk a
clip list, emit cut frames + a transition window between clips) is the next
rung and composes this. Pure i64 over nx_image.
genealogy_id: cross_dissolve_compositing + perlin_smoothstep_easing
lineage_id: per_pixel_eased_blend + fade
license_tier: ORIGINAL
dependencies 3 imports · 3 importers
imports: nx_syscalls.nxnx_image.nxnx_gradient_blend.nx
imported by: nx_timeline_demo.nxnx_transition_gate.nxnx_xfade_demo.nx
structs
| none |
consts
| none |
functions
| 20 | func nx_xfade_frame(a: *Image, b: *Image, progress_q14: i64, curve: i64, out: *Image) -> i64 |
| 45 | func nx_fade_frame(a: *Image, progress_q14: i64, curve: i64, out: *Image) -> i64 |