nx_h264_pframe_walk.nx
buildroot/runtime/nx_h264_pframe_walk.nx
about
nx_h264_pframe_walk.nx -- P-R1c: ENTROPY-WALK the entire P-frame (frame 1) of realtest.mp4.
Consumes every bit of the P-slice exactly: mb_skip_run runs, P mb_types (incl P_8x8 sub_mb_types),
mvd se-pairs, ref_idx (te(v) only if num_ref>1), inter CBP (Table 9-4 inter), residual (nC-tracked),
and intra-in-P MBs (mb_type>=5 -> I path). Proof of correct P syntax = all MBs parsed + reader lands
at the rbsp end (same bar as the I-frame walk). No reconstruction yet (P-R2..R4). license_tier: ORIGINAL
dependencies 15 imports · 0 importers
diagram shows first 10 each side; +5 more imports, +0 more importers in the complete lists below.
imports: nx_syscalls.nxnx_mp4_demux.nxnx_mp4_stbl.nxnx_h264_bits.nxnx_h264_sps.nxnx_h264_pps.nxnx_h264_nal.nxnx_h264_slice.nxnx_h264_mb.nxnx_h264_mb_pred.nxnx_h264_coeff_token.nxnx_h264_cavlc_level.nxnx_h264_residual.nxnx_h264_nc.nxnx_h264_pmb.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 22 | func gp(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 23 | func gn(v: i64) -> i64 |
| 33 | func find_tag(b: *u8, start: i64, end: i64, s: *u8) -> i64 |
| 38 | func dec_luma(br: *BitReader, lumaTC: *i64, lbW: i64, bx: i64, by: i64, maxc: i64, coeff: *i64) -> i64 |
| 50 | func dec_cac(br: *BitReader, cTC: *i64, cbW: i64, cbx: i64, cby: i64, coeff: *i64) -> i64 |
| 63 | func main() -> i64 |