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 27 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 nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close nx_jpeg_decode_rgb sys_mmap ↻ nx_jpeg_dec_ctx_init sys_mmap ↻ nx_jpeg_ctx_tables_reset nx_jpeg_ctx_htable_at nx_jpeg_ctx_htable_bind nx_jpeg_ctx_htable_at ↻ nx_jpeg_ctx_qtable_at _jpeg_ascii_probe_sof sys_mmap ↻ nx_jpeg_seg_init nx_jpeg_seg_next nx_jpeg_classify_marker nx_jpeg_marker_is_lengthle

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