code wiki / _hdl_build / nx_vcodec_sigcoder_gate.nx
nx_vcodec_sigcoder_gate.nx
buildroot/runtime/_hdl_build/nx_vcodec_sigcoder_gate.nx
dependencies 6 imports · 0 importers
imports: nx_gate_base.nxnx_syscalls.nxnx_dct8.nxnx_vcodec.nxnx_rangecoder.nxnx_rangecoder_sig.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
| 16 | const NW: i64 = 576 |
| 17 | const NH: i64 = 1024 |
| 18 | const BPF: i64 = 9216 // 8x8 luma blocks per frame = (576/8)*(1024/8) |
functions
| 20 | 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 |
| 22 | func gn(v: i64) -> i64 |
| 28 | func fill_frame(yuv: *u8, f: i64, qp: i64, M: *i64, scr: *i64, ti: *i64, to: *i64, dst: *i64) -> i64 |
| 47 | func tally_rl(blocks: *i64, nb: i64, zz8: *i64, h: *i64) -> i64 |
| 68 | func tally_sig(blocks: *i64, nb: i64, sigmap: *i64, h: *i64) -> i64 |
| 98 | func mk_priors(h: *i64, nctx: i64, pr: *i64) -> i64 |
| 112 | func enc_frame(blocks: *i64, nb: i64, mode: i64, priors: *i64, nctx: i64, zz8: *i64, sigmap: *i64, |
| 125 | func main() -> i64 |