nx_h264_block_e2e_gate.nx
buildroot/runtime/nx_h264_block_e2e_gate.nx
about
nx_h264_block_e2e_gate.nx -- SINGLE 4x4 BLOCK end-to-end micro-decode.
A real coefficient block pushed through the ENTIRE sovereign pipeline:
scan coeff[0]=5 --CAVLC encode--> bits --CAVLC decode--> scan' (round-trip)
--inverse zigzag--> raster --dequant(QP0)--> coeffs --IDCT--> residual
--(+ intra DC pred)--> --clip--> reconstructed pixels.
Hand-computed expected values (every step):
decode scan[0]=5 ; raster[0]=5 ; dequant DC = (5*160+8)>>4 = 50 ;
IDCT(DC=50) -> residual 1 everywhere ; intra DC pred(top sum100,left sum260)=45 ;
pixel = clip(45+1) = 46 (all 16).
Every value PRINTED. stdout + knowledge/status/h264_block_e2e_gate.log. Exit 0/1.
Sovereign: nx_syscalls + bits + bitwriter + residual + zigzag + dequant + idct + intra.
license_tier: ORIGINAL
dependencies 8 imports · 0 importers
imports: nx_syscalls.nxnx_h264_bits.nxnx_h264_bitwriter.nxnx_h264_residual.nxnx_h264_zigzag.nxnx_h264_dequant.nxnx_h264_idct.nxnx_h264_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
| 22 | func gp(logfd: i64, s: *u8) -> i64 |
| 29 | func gn(logfd: i64, v: i64) -> i64 |
| 44 | func main() -> i64 |