code wiki / _hdl_build / nx_vcodec_inloop_gate.nx
nx_vcodec_inloop_gate.nx
buildroot/runtime/_hdl_build/nx_vcodec_inloop_gate.nx
about
nx_vcodec_inloop_gate.nx -- proves IN-LOOP deblocking helps COMPRESSION: at a high QP the reconstructed reference
frame has blocking artifacts; if both encoder and decoder deblock that reference before predicting the next frame
(identically, so they stay in sync), the cleaner reference predicts better -> smaller residual -> a smaller next-
frame stream. Applied AROUND the codec (the deblock organ carries a syscall import; keeping it outside nx_vcodec
preserves the wasm-clean codec path). Measures the same inter frame coded from a RAW vs a DEBLOCKED reference.
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_gate_emit_lib.nxnx_vcodec.nxnx_vdeblock.nxnx_quality_metric.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
| 12 | func frame_equal(a: *u8, b: *u8, n: i64) -> i64 { var i: i64=0; while i<n { if a[i]!=b[i] { return 0 } i=i+1 } return 1 } called by 1: main |
| 14 | func main() -> i64 |