code wiki / _hdl_build / nx_vcodec_entropy_gap.nx

nx_vcodec_entropy_gap.nx

buildroot/runtime/_hdl_build/nx_vcodec_entropy_gap.nx

7436 B135 linesdepth 5pulls 16 transitivereach 0 importersview sourcekind tooltopic vcodec
docsdependenciesstructsconstsfunctions

about

nx_vcodec_entropy_gap.nx -- Measures the neural-entropy prize using real coefficient data to quantify gains from neighbor-context significance coding.

dependencies 5 imports · 0 importers

nx_gate_base.nx nx_syscalls.nx nx_dct8.nx nx_vcodec.nx nx_quality_metric.nx nx_vcodec_entropy_gap.nx

imports: nx_gate_base.nxnx_syscalls.nxnx_dct8.nxnx_vcodec.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

main gw sys_write sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close nx_dct8_init nx_dct8_forward_2d nx_dct8_forward_1d vc_quant8 cond_bits qm_log2_q16 gn sys_mmap ↻ sys_write ↻

structs

none

consts

17const K_MAGIC_1000000: i64 = 1000000
19const NW: i64 = 576
20const NH: i64 = 1024

functions

22func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
calls 1: gw
24func gn(v: i64) -> i64
31func cond_bits(h: *i64, C: i64) -> i64
46func main() -> i64