code wiki / _hdl_build / nx_face_vs_target.nx

nx_face_vs_target.nx

buildroot/runtime/_hdl_build/nx_face_vs_target.nx

6755 B125 linesdepth 9pulls 25 transitivereach 0 importersview sourcekind tooltopic face
docsdependenciesstructsconstsfunctions

about

nx_face_vs_target.nx -- THE HARD BENCHMARK (typography-workstream discipline: measure against the real target on the same ruler). Decodes the operator's synthetic Elara target (their own Z-Image asset, knowledge/elara_ref.jpg) to RGB via our sovereign JPEG decoder, runs the SAME critic axes on it AND on our SDF face render, and prints the gap. No flattery -- if we are clay, the numbers say clay. expect_exit: 0

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_jpeg_ascii.nx nx_critic_axes.nx nx_natstat.nx nx_sdfrender.nx nx_face_vs_target.nx

imports: nx_syscalls.nxnx_jpeg_ascii.nxnx_critic_axes.nxnx_natstat.nxnx_sdfrender.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main w sys_write sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close nx_jpeg_decode_rgb sys_mmap ↻ nx_jpeg_dec_ctx_init sys_mmap ↻ _jpeg_ascii_probe_sof sys_mmap ↻ nx_jpeg_seg_init nx_jpeg_seg_next nx_jpeg_classify_marker nx_jpeg_marker_is_lengthle nx_jpeg_sof_parse nx_jpeg_is_progressive prog_be16 nx_jpeg_prog_decode sys_mmap ↻ prog_be16 ↻ nx_jpeg_dqt_parse nx_jpeg_dht_parse nx_jpeg_dht_build_decode_t nx_jpeg_sos_parse prog_next_marker prog_scan sys_mmap ↻ nx_jpeg_huff_decode_symbol nx_jpeg_ent_extend nx_jpeg_ent_receive prog_refine_nz nx_jpeg_mcu_scratch_init sys_mmap ↻ nx_jpeg_idct_init_cos_tabl

structs

none

consts

10const K_MAGIC_65536: i64 = 65536

functions

12func w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 3: rowaxisrowmain calls 1: sys_write
13func pn(v: i64) -> i64
called by 3: rowaxisrowmain calls 2: sys_mmapsys_write
24func row(label: *u8, det: i64, str: i64, chr: i64, score: i64) -> i64
called by 1: main calls 3: wpnca_verdict
29func axisrow(label: *u8, tv: i64, ov: i64) -> i64
called by 1: main calls 2: wpn
37func main() -> i64