code wiki / _hdl_build / nx_imgdecode_test.nx
nx_imgdecode_test.nx
buildroot/runtime/_hdl_build/nx_imgdecode_test.nx
about
nx_imgdecode_test.nx -- isolate the shared image decoder: read an encoded image file and run it
through nx_img_bytes_to_rgb (the EXACT decode the GUI uses), report success + dimensions + first pixels.
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_img_bytes_to_rgb.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
| 6 | func pw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 7 | func pn(v: i64) -> i64 |
| 16 | func main(argc: i64, argv: *i64) -> i64 |