code wiki / (root) / nx_fec_stripe.nx

nx_fec_stripe.nx

buildroot/runtime/nx_fec_stripe.nx

1653 B34 linesdepth 3pulls 3 transitivereach 1 importersview sourcekind librarytopic fec
docsdependenciesstructsconstsfunctions

about

nx_fec_stripe.nx -- FEC-COMPLEMENTARY striping: the exceed beyond plain multi-path duplication. Combines nx_fec_xor (parity repair) with nx_pathstripe (multi-path): source packets travel on one path, FEC REPAIR symbols on a complementary path. A source packet lost on its path -- with NO duplicate anywhere -- is reconstructed by the parity on a surviving path. This recovers CORRELATED / all-path loss (which plain seq-dedup striping cannot: it needs the packet to survive on >=1 path) AND does so at SUB-100% bandwidth overhead (repairs/source < 1), vs the 100% overhead of 1+1 duplication. Pure-XOR -> integer-only, sovereign. license_tier: ORIGINAL

dependencies 1 imports · 1 importers

nx_fec_xor.nx nx_fec_stripe.nx nx_fec_stripe_test.nx

imports: nx_fec_xor.nx

imported by: nx_fec_stripe_test.nx

structs

none

consts

none

functions

18func fec_stripe_path_of(idx: i64, k: i64) -> i64
called by 1: main
26func fec_stripe_recover(src: *u8, L: i64, D: i64, S: i64, present_src: *i64,
called by 1: main calls 1: fec_decode_2d
32func fec_stripe_overhead_pct(scheme: i64, L: i64, D: i64) -> i64
called by 1: main calls 1: fec_overhead_pct