code wiki / _hdl_build / nx_vdeblock_gate.nx
nx_vdeblock_gate.nx
buildroot/runtime/_hdl_build/nx_vdeblock_gate.nx
about
nx_vdeblock_gate.nx -- proves the wired deblocking pass (nx_vdeblock) reduces BLOCKING artifacts. Build a smooth
gradient (the true signal), then a "blocky" version that quantizes each 4x4 block to its block mean (the DC-step
artifact quantization leaves at block edges). Deblock the blocky frame and MEASURE that it moves back toward the
smooth original (higher PSNR, lower block-edge discontinuity) -- i.e. the filter smooths false block edges.
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_gate_emit_lib.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
| 10 | func g_abs(v: i64) -> i64 { if v < 0 { return 0 - v } return v } called by 1: block_edge_disc |
| 12 | func block_edge_disc(f: *u8, W: i64, H: i64) -> i64 |
| 19 | func main() -> i64 |