code wiki / _hdl_build / nx_vcodec_t8_gate.nx
nx_vcodec_t8_gate.nx
buildroot/runtime/_hdl_build/nx_vcodec_t8_gate.nx
dependencies 3 imports · 0 importers
imports: nx_gate_base.nxnx_syscalls.nxnx_video_codec_wasm.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
| 14 | 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 |
| 16 | func gn(v: i64) -> i64 |
| 20 | func eqb(a: *u8, b: *u8, n: i64) -> i64 { var i: i64=0; while i<n { if (a[i]&0xff)!=(b[i]&0xff) { return 0 } i=i+1 } return 1 } called by 1: run_chain |
| 21 | func cpb(d: *u8, s: *u8, n: i64) -> i64 { var i: i64=0; while i<n { d[i]=s[i]; i=i+1 } return 0 } called by 1: run_key |
| 22 | func sseL(a: *u8, b: *u8, n: i64) -> i64 { var s: i64=0; var i: i64=0; while i<n { let d: i64=(a[i]&0xff)-(b[i]&0xff); s=s+d*d; i=i+1 } return s } |
| 24 | func psnrdb(sse: i64, npix: i64) -> i64 |
| 37 | func fill_flat(yuv: *u8, W: i64, H: i64) -> i64 |
| 47 | func fill_tex(yuv: *u8, W: i64, H: i64) -> i64 |
| 58 | func fill_mix(yuv: *u8, W: i64, H: i64, sh: i64) -> i64 |
| 76 | func seedctx(rctx: *i64, emode: i64, est: *i64, probs: *i64, rcbuf: *u8, t8c: *i64) -> i64 |
| 82 | func run_chain(W: i64, H: i64, qp: i64, emode: i64, p: *i64, t: *i64, sums: *i64) -> i64 |
| 128 | func run_key(W: i64, H: i64, qp: i64, emode: i64, kind: i64, pr: *i64) -> i64 |
| 155 | func main() -> i64 |