code wiki / _hdl_build / nx_rdcurve_gate.nx
nx_rdcurve_gate.nx
buildroot/runtime/_hdl_build/nx_rdcurve_gate.nx
about
nx_rdcurve_gate.nx -- the runnable RATE-DISTORTION harness: intra-code a frame through the sovereign codec
(transform + deadzone-quant + entropy) at several QP levels and MEASURE (bytes, PSNR, SSIM) at each -> our RD
curve. This is the artifact competitor reconstructions overlay onto for a no-wave exceed/parity verdict.
Composes nx_vtransform + nx_ventropy + nx_quality_metric. Native, fast.
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_gate_emit_lib.nxnx_vtransform.nxnx_ventropy.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
| 11 | func rd_block(orig: *u8, recon: *u8, W: i64, bx: i64, by: i64, qp: i64, ebuf: *u8, blk: *i64) -> i64 |
| 22 | func rd_frame(orig: *u8, recon: *u8, W: i64, H: i64, qp: i64, ebuf: *u8, blk: *i64) -> i64 |
| 29 | func main() -> i64 |