nx_h264_run_before.nx
buildroot/runtime/nx_h264_run_before.nx
about
nx_h264_run_before.nx -- CAVLC run_before VLC (rung 4c-iv), table-driven
encoder + decoder. run_before = number of zeros immediately before each
non-zero coefficient (distributing total_zeros); VLC table indexed by
zerosLeft (Table 9-10). Same machinery + round-trip-oracle pattern.
Filled: zerosLeft = 1, 2, 3 (the common, high-confidence columns). zerosLeft
4..6 and >6 = data fill, validated by the real I-frame decode (capstone oracle).
genealogy_id: itu_t_h264_table9_10_run_before
lineage_id: vlc_symbol_table + prefix_match_decode + roundtrip_oracle
license_tier: ORIGINAL
dependencies 3 imports · 3 importers
imports: nx_syscalls.nxnx_h264_bits.nxnx_h264_bitwriter.nx
imported by: nx_h264_residual.nxnx_h264_run_before_gate.nxnx_h264_tzrb_gate.nx
structs
| none |
consts
| none |
functions
| 15 | func rb_table(zeros_left: i64, ln: *i64, cd: *i64, val: *i64) -> i64 |
| 74 | func nx_run_before_encode(bw: *BitWriter, zeros_left: i64, run_before: i64) -> i64 |
| 88 | func nx_run_before_decode(br: *BitReader, zeros_left: i64) -> i64 called by 4: nx_h264_residual_decodenx_h264_residual_decode_cdcmainmain calls 3: sys_mmaprb_tablebr_read_bit |