nx_h264_intra_gate.nx
buildroot/runtime/nx_h264_intra_gate.nx
about
nx_h264_intra_gate.nx -- REFEREE for Intra_4x4 prediction + the FULL
reconstruction math chain. Hand-computed exact vectors:
Vertical: top=[10,20,30,40] -> every row [10,20,30,40]
Horizontal:left=[50,60,70,80] -> row y all = left[y]
DC both: top sum100 + left sum260 -> (360+4)>>3 = 45
DC top: (100+2)>>2 = 25 ; DC neither = 128
CAPSTONE: pred=DC45 + residual(level16 DC -> dequant160 -> idct = 3)
-> clip(45+3) = 48 for all 16 samples. This is the WHOLE
reconstruction math chain minus the entropy decode.
Every value PRINTED. stdout + knowledge/status/h264_intra_gate.log. Exit 0/1.
Sovereign: nx_syscalls + nx_h264_intra + nx_h264_dequant + nx_h264_idct.
license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_h264_intra.nxnx_h264_dequant.nxnx_h264_idct.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
| 18 | func gp(logfd: i64, s: *u8) -> i64 |
| 25 | func gn(logfd: i64, v: i64) -> i64 |
| 39 | func zero16(d: *i64) -> i64 { var i: i64 = 0; while i < 16 { d[i] = 0; i = i + 1 } return 0 } called by 1: main |
| 41 | func main() -> i64 |