code wiki / _hdl_build / nx_intra_gate.nx
nx_intra_gate.nx
buildroot/runtime/_hdl_build/nx_intra_gate.nx
about
nx_intra_gate.nx -- proves + MEASURES sovereign intra prediction (nx_intra): the right mode predicts structure
with ~0 residual, and beats naive pixels-128 coding (the q/bit gain). Native, fast.
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_gate_emit_lib.nxnx_intra.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 7 | func naive_sad(block: *i64) -> i64 { var s: i64=0; var i: i64=0; while i<16 { let d: i64=block[i]-128; if d<0 {s=s-d} else {s=s+d} i=i+1 } return s } called by 1: main |
| 9 | func main() -> i64 |