code wiki / _hdl_build / nx_vcodec_msu_hp2.nx
nx_vcodec_msu_hp2.nx
buildroot/runtime/_hdl_build/nx_vcodec_msu_hp2.nx
about
nx_vcodec_msu_hp2.nx -- Implements hierarchical-P quality pumping with linear-chain half for rate-distortion optimization in video encoding.
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
| 12 | const HP_MAGIC_4194304: i64 = 4194304 |
| 13 | const HP_MAGIC_5120: i64 = 5120 |
| 14 | const HP_MAGIC_2729: i64 = 2729 |
| 16 | const SW: i64 = 352 |
| 17 | const SH: i64 = 288 |
| 18 | const NF: i64 = 48 |
| 19 | const SKIPMUL: i64 = 30 |
| 20 | const HP_DLT: i64 = 2 |
functions
| 22 | 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 |
| 24 | func gn(v: i64) -> i64 |
| 28 | 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 } |
| 30 | func frames(yuv: *u8, hi: i64, total: i64, fp: *i64, fdata: i64) -> i64 |
| 37 | func run(fp: *i64, qp: i64, emode: i64, sz: i64, allkey: i64) -> i64 |
| 74 | func main() -> i64 |