code wiki / (root) / nx_h264_total_zeros_gate.nx

nx_h264_total_zeros_gate.nx

buildroot/runtime/nx_h264_total_zeros_gate.nx

3936 B90 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic h264
docsdependenciesstructsconstsfunctions

about

nx_h264_total_zeros_gate.nx -- REFEREE for total_zeros VLC (rung 4c-iii). (a) ANCHOR (TotalCoeff=1) bit-exact: tz=0 -> "1"(0x80,1); tz=1 -> "011"(0x60,3); tz=15 -> "000000001"(byte0=0,byte1=0x80,9 bits). (b) ROUND-TRIP all 16 values (tz 0..15) at TotalCoeff=1: encode->decode->recover. Every value PRINTED. stdout + knowledge/status/h264_total_zeros_gate.log. Exit 0/1. Sovereign: nx_syscalls + nx_h264_bits + nx_h264_bitwriter + nx_h264_total_zeros. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_h264_bits.nx nx_h264_bitwriter.nx nx_h264_total_zeros.nx nx_h264_total_zeros_gate.nx

imports: nx_syscalls.nxnx_h264_bits.nxnx_h264_bitwriter.nxnx_h264_total_zeros.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_openat_append gp sys_write sys_mmap bw_init nx_total_zeros_encode sys_mmap ↻ tz_table bw_write_bits bw_write_bit gn sys_mmap ↻ sys_write ↻ bw_total_bits br_init sys_mmap ↻ nx_total_zeros_decode sys_mmap ↻ tz_table ↻ br_read_bit sys_close sys_exit

structs

none

consts

none

functions

13func gp(logfd: i64, s: *u8) -> i64
called by 1: main calls 1: sys_write
20func gn(logfd: i64, v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
35func main() -> i64