code wiki / _hdl_build / nx_rd_intra_gate.nx
nx_rd_intra_gate.nx
buildroot/runtime/_hdl_build/nx_rd_intra_gate.nx
about
nx_rd_intra_gate.nx -- MEASURES the rate-distortion gain of intra prediction: code one structured frame two ways
(naive pixels-128 vs neighbour-predicted, raster order) at the same QP and compare bytes + PSNR. Proves V-R7
shifts the RD curve left (fewer bytes at equal quality). Composes nx_intra+nx_vtransform+nx_ventropy+nx_quality_metric.
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_gate_emit_lib.nxnx_intra.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 code_frame(orig: *u8, recon: *u8, W: i64, H: i64, qp: i64, use_pred: i64, ebuf: *u8, blk: *i64, pred: *i64, top: *i64, left: *i64) -> i64 |
| 40 | func main() -> i64 |