nx_img_resample_gate.nx
buildroot/runtime/nx_img_resample_gate.nx
about
nx_img_resample_gate.nx -- KAT gate for the selectable-model resampler.
Proves (a) model SELECTION works and changes the output, (b) each model is
correct. Same input [0,100] 2->4 through three models gives three DIFFERENT
middle values: nearest=0, bilinear=25, bicubic=20 -- so the id genuinely
selects the algorithm. Bicubic KATs are hand-derived from Catmull-Rom,
exact on both axes; identity is byte-exact. Unknown model + bad args refuse.
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_img_scale.nxnx_img_resample.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
| 13 | func main() -> i64 |