code wiki / _hdl_build / nx_imgproof.nx
nx_imgproof.nx
buildroot/runtime/_hdl_build/nx_imgproof.nx
about
nx_imgproof.nx -- prove the sovereign image DECODE path end-to-end: decode a real JPEG + PNG (in-memory
bytes) via nx_img_to_rgb, re-emit as PNG so we can SEE them. Isolates decode (the riskiest piece) from
fetch/layout/blit. Riskiest per recon: JPEG=baseline-only, PNG=truecolor-only (no palette/interlace).
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_img_to_rgb.nxnx_png_write.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
| 8 | func ip(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 9 | func ipn(v: i64) -> i64 |
| 19 | func do_one(inpath: *u8, outpath: *u8, label: *u8) -> i64 |
| 30 | func main() -> i64 calls 1: do_one |