code wiki / (root) / nx_svc.nx

nx_svc.nx

buildroot/runtime/nx_svc.nx

2102 B36 linesdepth 0pulls 0 transitivereach 1 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_svc.nx -- sovereign SCALABLE VIDEO CODING: dyadic TEMPORAL LAYERS (the VP9/AV1 SVC technique). One encode produces a layered stream; a weak link (the girl on bad mobile) decodes only the BASE layer (lower fps), a good link decodes all layers (full fps) -- no re-encode, no separate streams. The invariant that makes it work: a frame only REFERENCES frames in its own layer or below, so dropping higher layers leaves a valid lower-fps stream. Research: VP9/AV1 SVC, scalable conferencing (arXiv 2503.11649). Pure index logic. license_tier: ORIGINAL

dependencies 0 imports · 1 importers

nx_svc.nx nx_svc_gate.nx

imports: none

imported by: nx_svc_gate.nx

structs

none

consts

none

functions

8func svc_tz(n: i64) -> i64
called by 1: svc_temporal_id
16func svc_temporal_id(n: i64, nlayers: i64) -> i64
23func svc_can_decode(n: i64, nlayers: i64, max_layer: i64) -> i64
called by 1: main calls 1: svc_temporal_id
28func svc_frames_per_period(max_layer: i64) -> i64 { var f: i64 = 1; var i: i64 = 0; while i < max_layer { f = f * 2; i = i + 1 } return f }
called by 2: svc_periodmain
29func svc_period(nlayers: i64) -> i64 { return svc_frames_per_period(nlayers - 1) }
called by 1: main calls 1: svc_frames_per_period
32func svc_valid_ref(ref_n: i64, n: i64, nlayers: i64) -> i64
called by 1: main calls 1: svc_temporal_id