code wiki / _hdl_build / nx_vcodec_bgop_bench.nx
nx_vcodec_bgop_bench.nx
buildroot/runtime/_hdl_build/nx_vcodec_bgop_bench.nx
dependencies 6 imports · 0 importers
imports: nx_gate_base.nxnx_syscalls.nxnx_estate_path.nxnx_video_codec_wasm.nxnx_quality_metric.nxnx_gate_verdict.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_4096: i64 = 4096 |
| 16 | const K_MAGIC_2048: i64 = 2048 |
| 17 | const K_MAGIC_4194304: i64 = 4194304 |
| 18 | const K_MAGIC_2097152: i64 = 2097152 |
| 19 | const K_MAGIC_8192: i64 = 8192 |
| 21 | const NW: i64 = 576 |
| 22 | const NH: i64 = 1024 |
| 23 | const EMODE: i64 = 4005 |
functions
| 25 | 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 |
| 27 | func gn(v: i64) -> i64 |
| 31 | 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 } |
| 33 | func seedctxe(rctx: *i64, emode: i64, est: *i64, probs: *i64, rcbuf: *u8, t8c: *i64) -> i64 |
| 38 | func bcmp(a: *u8, b: *u8, n: i64) -> i64 |
| 43 | func zero(p: *u8, n: i64) -> i64 { var i: i64=0; while i<n { p[i]=0 as u8; i=i+1 } return 0 } |
| 46 | func arm_p(yuv: *u8, qp: i64, bufs: *i64, out: *i64) -> i64 |
| 81 | func arm_b(yuv: *u8, qp: i64, bufs: *i64, out: *i64) -> i64 |
| 152 | func arm_b3(yuv: *u8, qp: i64, bqoff: i64, bufs: *i64, out: *i64) -> i64 |
| 220 | func arm_ltr(yuv: *u8, qp: i64, bufs: *i64, out: *i64) -> i64 |
| 268 | func arm_lean(yuv: *u8, qp: i64, bufs: *i64, out: *i64) -> i64 |
| 272 | func arm_lean_t(yuv: *u8, qp: i64, thm: i64, bufs: *i64, out: *i64) -> i64 |
| 314 | func p_bytes_at(pP: *i64, bPp: *i64, n: i64, pt: i64) -> i64 |
| 323 | func main() -> i64 |