code wiki / _hdl_build / nx_vcodec_deblock8_gate.nx

nx_vcodec_deblock8_gate.nx

buildroot/runtime/_hdl_build/nx_vcodec_deblock8_gate.nx

6095 B99 linesdepth 6pulls 17 transitivereach 0 importersview sourcekind gate/prooftopic vcodec
docsdependenciesstructsconstsfunctions

dependencies 3 imports · 0 importers

nx_gate_base.nx nx_syscalls.nx nx_video_codec_wasm.nx nx_vcodec_deblock8_gate.nx

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

main gw sys_write sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close frames sweepqp gw ↻ gn sys_mmap ↻ sys_write ↻ onerun sys_mmap ↻ roundtrip sys_mmap ↻ vc_t8_init nx_dct8_init vc_t8p vv_enc_rct8 vc_enc_frame_packed_rct8 rc_enc_init nx_bw_put vc_aq_level vc_mb_mad vc_mb_t8_ok vc_enc_block_packed_e vc_aq_qp rc_enc_flush vv_wr_u32 vv_deblock vv_deblock_plane vv_nf_enc vc_nf_apply nx_bw_put ↻ gw ↻

structs

none

consts

13const SW: i64 = 352
14const SH: i64 = 288
15const NF: i64 = 48

functions

17func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
calls 1: gw
19func gn(v: i64) -> i64
23func 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: roundtrip
24func eqb(a: *u8, b: *u8, n: i64) -> i64 { var i: i64=0; while i<n { if a[i]!=b[i] { return i } i=i+1 } return 0-1 }
26func frames(yuv: *u8, hi: i64, total: i64, fp: *i64, fdata: i64) -> i64
33func roundtrip(fp: *i64, qp: i64, emode: i64, sz: i64, ok: *i64) -> i64
66func onerun(fp: *i64, sz: i64, qp: i64, emode: i64, label: *u8) -> i64
74func sweepqp(fp: *i64, sz: i64, qp: i64) -> i64
84func main() -> i64