code wiki / (root) / nx_h264_cabac_residual_gate.nx

nx_h264_cabac_residual_gate.nx

buildroot/runtime/nx_h264_cabac_residual_gate.nx

6287 B136 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic h264
docsdependenciesstructsconstsfunctions

about

nx_h264_cabac_residual_gate.nx -- teeth for STEP 2 residual decoding. WHAT THESE TEETH DO AND DO NOT PROVE. There is no CABAC ENCODER and no reference decoder in this ecosystem, so I cannot assert "these bins decode to these coefficients" -- that would need a vector I have no way to produce. What IS provable without one: bounds refusal, array initialisation, loop TERMINATION on adversarial input, and sign/zero handling. Those are real defects if broken, and every one below is a matched pair (the property fires AND its control). END-TO-END SPEC CONFORMANCE IS NOT CLAIMED HERE -- it needs a real CABAC stream decoded to an image. Do not read GREEN here as "CABAC posters work".

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_h264_cabac.nx nx_h264_cabac_residual.nx nx_gate_verdict.nx nx_h264_cabac_residual_gate.nx

imports: nx_syscalls.nxnx_h264_cabac.nxnx_h264_cabac_residual.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap cab_load_tables cab_parse_nums cbr_sigmap cab_decision cab_renorm cab_bit cci_sig4x4 gw sys_write cab_init cab_bit ↻ gn sys_mmap ↻ sys_write ↻ cbr_levels cci_abslevel_bin0 cci_min cab_decision ↻ cci_abslevel_binN cci_min ↻ cbr_eg0_bypass cab_bypass cab_bit ↻ cab_bypass ↻ cbr_eg0_bypass ↻ gv_ctr sys_mmap ↻ gv_verdict gv_puts sys_write ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn

structs

none

consts

none

functions

15func gw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
16func gn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
30func main(argc: i64, argv: *i64) -> i64