nx_h264_idct_gate.nx
buildroot/runtime/nx_h264_idct_gate.nx
about
nx_h264_idct_gate.nx -- REFEREE for the H.264 4x4 inverse transform (rung 5-core).
Hand-computed exact vectors (verified against spec 8.5.12.2):
DC only: coeff[0]=256, rest 0 -> every output sample = (256+32)>>6 = 4.
AC [0][1]=64, rest 0 -> every row = [1,1,0,-1] (exercises butterfly + the
NEGATIVE arithmetic-shift: -64+32=-32, asr(-32,6) = -1).
zero block -> all 0.
add_clip: pred[100,100,100,100] + res[50,-200,300,0] -> [150,0,255,100].
Every value PRINTED. stdout + knowledge/status/h264_idct_gate.log. Exit 0/1.
Sovereign: nx_syscalls + nx_h264_idct. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.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
| 13 | func gp(logfd: i64, s: *u8) -> i64 |
| 20 | func gn(logfd: i64, v: i64) -> i64 |
| 34 | func zero16(d: *i64) -> i64 { var i: i64 = 0; while i < 16 { d[i] = 0; i = i + 1 } return 0 } called by 1: main |
| 35 | func dump16(logfd: i64, d: *i64) -> i64 |
| 42 | func main() -> i64 |