code wiki / _hdl_build / nx_vcodec_live_noise_probe.nx
nx_vcodec_live_noise_probe.nx
buildroot/runtime/_hdl_build/nx_vcodec_live_noise_probe.nx
dependencies 5 imports · 0 importers
imports: nx_gate_base.nxnx_syscalls.nxnx_gate_verdict.nxnx_video_codec_wasm.nxnx_quality_metric.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
| 15 | const K_MAGIC_7919: i64 = 7919 |
| 16 | const K_MAGIC_104729: i64 = 104729 |
| 17 | const K_MAGIC_1103515245: i64 = 1103515245 |
| 18 | const K_MAGIC_12345: i64 = 12345 |
| 19 | const K_MAGIC_4194304: i64 = 4194304 |
| 20 | const K_MAGIC_1000000: i64 = 1000000 |
| 21 | const K_MAGIC_4096: i64 = 4096 |
| 22 | const K_MAGIC_2097152: i64 = 2097152 |
| 23 | const K_MAGIC_8192: i64 = 8192 |
| 24 | const K_MAGIC_2721: i64 = 2721 |
| 25 | const K_MAGIC_21000: i64 = 21000 |
| 27 | const LW: i64 = 416 |
| 28 | const LH: i64 = 320 |
| 29 | const LQP: i64 = 32 |
| 30 | const LPF: i64 = 30 |
functions
| 32 | func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw(" calls 1: gw |
| 34 | func gn(v: i64) -> i64 |
| 38 | func g2(v: i64) -> i64 { gn(v/100); gw("." as *u8); let f: i64=v%100; if f<10 { gw("0" as *u8) } gn(f); return 0 } |
| 40 | func seedctxe(rctx: *i64, emode: i64, est: *i64, probs: *i64, rcbuf: *u8, t8c: *i64) -> i64 |
| 45 | func lp_frame(y: *u8, W: i64, H: i64, fi: i64) -> i64 |
| 70 | func lp_noise(p: *u8, n: i64, fi: i64, amp: i64, salt: i64) -> i64 |
| 85 | func pass(emode: i64, bufs: *i64, out: *i64) -> i64 |
| 130 | func report(tag: *u8, o: *i64) -> i64 |
| 138 | func main() -> i64 |