code wiki / (root) / nx_h264_mb_gate.nx

nx_h264_mb_gate.nx

buildroot/runtime/nx_h264_mb_gate.nx

3624 B88 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic h264
docsdependenciesstructsconstsfunctions

about

nx_h264_mb_gate.nx -- REFEREE for the I-slice macroblock type layer (rung 4d). classify: 0->I_NxN, 1->I_16x16, 25->I_PCM. i16x16 derive (Table 7-11, hand-computed): mb_type 1 -> pred0 cbpC0 cbpL0 mb_type 5 -> pred0 cbpC1 cbpL0 mb_type 12 -> pred3 cbpC2 cbpL0 mb_type 13 -> pred0 cbpC0 cbpL15 mb_type 24 -> pred3 cbpC2 cbpL15 parse: ue buffer for mb_type=13 ("0001110") read back = 13. Every value PRINTED. stdout + knowledge/status/h264_mb_gate.log. Exit 0/1. Sovereign: nx_syscalls + nx_h264_bits + nx_h264_mb. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_h264_bits.nx nx_h264_mb.nx nx_h264_mb_gate.nx

imports: nx_syscalls.nxnx_h264_bits.nxnx_h264_mb.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 nx_h264_mb_type_class gn sys_mmap ↻ sys_write ↻ chk nx_h264_i16x16_derive gp ↻ gn ↻ br_init sys_mmap ↻ nx_h264_mb_parse_itype br_read_ue br_read_bit br_read_bits br_read_bit ↻ sys_close sys_exit

structs

none

consts

none

functions

16func gp(logfd: i64, s: *u8) -> i64
called by 2: chkmain calls 1: sys_write
23func gn(logfd: i64, v: i64) -> i64
called by 2: chkmain calls 2: sys_mmapsys_write
37func chk(logfd: i64, mb: i64, out: *i64, ep: i64, ec: i64, el: i64) -> i64
called by 1: main calls 3: nx_h264_i16x16_derivegpgn
49func main() -> i64