code wiki / _hdl_build / nx_vtransform_dct_gate.nx
nx_vtransform_dct_gate.nx
buildroot/runtime/_hdl_build/nx_vtransform_dct_gate.nx
about
nx_vtransform_dct_gate.nx -- verifies the sovereign H.264 integer DCT (nx_vtransform_dct) IN ISOLATION before it
touches the codec: (1) the full pipeline fwd->quant->dequant->inv->inv_scale reconstructs real 4x4 blocks faithfully
(a wrong table/shift would blow this up), and (2) the DCT compacts natural-image energy into the low-frequency
coefficients BETTER than the current Walsh-Hadamard transform (the reason to swap). Blocks come from the real
768x768 H.264-decoded luma frame (ref_frame0.yuv), centered to signed residual-like values.
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_gate_emit_lib.nxnx_vtransform_dct.nxnx_vtransform.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
| 11 | func g_abs(v: i64) -> i64 { if v < 0 { return 0 - v } return v } called by 1: main |
| 14 | func load_block(src: *u8, W: i64, px: i64, py: i64, blk: *i64) -> i64 called by 1: main |
| 23 | func top4_frac1000(c: *i64) -> i64 called by 1: main |
| 37 | func main() -> i64 |