code wiki / (root) / nx_h264_cdc_gate.nx

nx_h264_cdc_gate.nx

buildroot/runtime/nx_h264_cdc_gate.nx

5037 B133 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic h264
docsdependenciesstructsconstsfunctions

about

nx_h264_cdc_gate.nx -- REFEREE for the chroma-DC coeff_token table (nC=-1). (a) PREFIX-FREE structural validator: no codeword is a prefix of another (catches transcription errors that round-trip can't). (b) COVERAGE: all 14 (TotalCoeff,TrailingOnes) pairs present, distinct. (c) ANCHOR: (0,0)->"01"(0x40,2bit), (1,1)->"1"(0x80,1bit). (d) ROUND-TRIP every entry: encode->decode->recover. Every value PRINTED. stdout + knowledge/status/h264_cdc_gate.log. Exit 0/1. Sovereign: nx_syscalls + nx_h264_bits + nx_h264_bitwriter + nx_h264_coeff_token. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_h264_bits.nx nx_h264_bitwriter.nx nx_h264_coeff_token.nx nx_h264_cdc_gate.nx

imports: nx_syscalls.nxnx_h264_bits.nxnx_h264_bitwriter.nxnx_h264_coeff_token.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 ct_table_chromadc gn sys_mmap ↻ sys_write ↻ bw_init nx_coeff_token_encode_cdc sys_mmap ↻ ct_table_chromadc ↻ bw_write_bits bw_write_bit bw_total_bits br_init sys_mmap ↻ nx_coeff_token_decode_cdc ct_table_chromadc ↻ br_read_bit sys_close sys_exit

structs

none

consts

none

functions

15func gp(logfd: i64, s: *u8) -> i64
called by 1: main calls 1: sys_write
22func gn(logfd: i64, v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
37func main() -> i64