nx_h264_mb_pred_gate.nx
buildroot/runtime/nx_h264_mb_pred_gate.nx
about
nx_h264_mb_pred_gate.nx -- REFEREE for the I_NxN prediction layer (rung 4e).
(a) CBP BIJECTION (strong self-check): map all 48 codeNums -> cbp; every cbp in
0..47 hit exactly once; unmap(map(c))==c for all. A bad table entry breaks this.
(b) CBP anchors: map(0)=47, map(3)=0, map(2)=15.
(c) CBP round-trip: encode(cbp)->decode->recover for several cbp.
(d) I_NxN pred-mode round-trip: modes[16] (mix of -1 and 0..7) + chroma -> enc -> dec -> recover.
Every value PRINTED. stdout + knowledge/status/h264_mb_pred_gate.log. Exit 0/1.
Sovereign: nx_syscalls + nx_h264_bits + nx_h264_bitwriter + nx_h264_mb_pred.
license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_h264_bits.nxnx_h264_bitwriter.nxnx_h264_mb_pred.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
| 15 | func gp(logfd: i64, s: *u8) -> i64 |
| 22 | func gn(logfd: i64, v: i64) -> i64 |
| 37 | func main() -> i64 |