nx_h264_total_zeros.nx
buildroot/runtime/nx_h264_total_zeros.nx
about
nx_h264_total_zeros.nx -- CAVLC total_zeros VLC (rung 4c-iii), table-driven
encoder + decoder. total_zeros = number of zero coefficients before the last
non-zero one; VLC table is indexed by TotalCoeff (1..15). Same machinery +
round-trip-oracle pattern as coeff_token. Filled: the TotalCoeff=1 column
(Table 9-7, tzVlcIndex=1). Other columns = data fill, validated by the real
I-frame decode (capstone oracle).
genealogy_id: itu_t_h264_table9_7_total_zeros
lineage_id: vlc_symbol_table + prefix_match_decode + roundtrip_oracle
license_tier: ORIGINAL
dependencies 3 imports · 4 importers
imports: nx_syscalls.nxnx_h264_bits.nxnx_h264_bitwriter.nx
imported by: nx_h264_cdc_tz_gate.nxnx_h264_residual.nxnx_h264_total_zeros_gate.nxnx_h264_tzrb_gate.nx
structs
| none |
consts
| none |
functions
| 19 | func tz_table(total_coeff: i64, ln: *i64, cd: *i64, val: *i64) -> i64 |
| 111 | func tz_table_cdc(total_coeff: i64, ln: *i64, cd: *i64, val: *i64) -> i64 |
| 132 | func nx_total_zeros_encode_cdc(bw: *BitWriter, total_coeff: i64, total_zeros: i64) -> i64 |
| 144 | func nx_total_zeros_decode_cdc(br: *BitReader, total_coeff: i64) -> i64 |
| 164 | func nx_total_zeros_encode(bw: *BitWriter, total_coeff: i64, total_zeros: i64) -> i64 |
| 178 | func nx_total_zeros_decode(br: *BitReader, total_coeff: i64) -> i64 |