code wiki / (root) / nx_img_scale_emit.nx

nx_img_scale_emit.nx

buildroot/runtime/nx_img_scale_emit.nx

1256 B36 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind tooltopic img
docsdependenciesstructsconstsfunctions

about

nx_img_scale_emit.nx -- measured-exceed harness, step 1 (emit). Writes a deterministic 64x64 gray gradient to /tmp/sv_in.raw, then my sovereign bilinear 64x64 -> 100x100 upscale to /tmp/sv_mine.raw. The shell then runs ffmpeg swscale bilinear on /tmp/sv_in.raw to produce the reference /tmp/sv_ref.raw, and nx_img_scale_diff measures the deviation. ffmpeg is a MEASURING STICK in the harness only -- never in the product. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_img_scale.nx nx_seg_store.nx nx_img_scale_emit.nx

imports: nx_syscalls.nxnx_img_scale.nxnx_seg_store.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap ss_writefile sys_openat_wr sys_write sys_close sys_fsync nx_img_scale_bilinear _img_srccoord _img_clamp _img_clamp ↻

structs

none

consts

none

functions

14func main() -> i64