code wiki / (root) / nx_img_scale_gate.nx

nx_img_scale_gate.nx

buildroot/runtime/nx_img_scale_gate.nx

2630 B80 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic img
docsdependenciesstructsconstsfunctions

about

nx_img_scale_gate.nx -- KAT gate for the sovereign bilinear resampler. Known-answer tests hand-computed from the standard half-pixel bilinear formula (the independent oracle): identity, 1D down, 1D up, 2D down, bad-args, and N-channel + 1x1 broadcast. Returns 0 iff every pixel matches; a nonzero code pinpoints the first failure.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_img_scale.nx nx_img_scale_gate.nx

imports: nx_syscalls.nxnx_img_scale.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 nx_img_scale_bilinear _img_srccoord _img_clamp _img_clamp ↻

structs

none

consts

none

functions

11func main() -> i64