nx_h264_mv_recon_gate.nx
buildroot/runtime/nx_h264_mv_recon_gate.nx
about
nx_h264_mv_recon_gate.nx -- P-R4a: reconstruct the per-4x4 MOTION-VECTOR FIELD of frame 1 of
realtest.mp4 straight from the bitstream (mvp from neighbours via the grid + mvd), then verify
row 0's P_L0_16x16 motion vectors BIT-EXACT against ffmpeg ground truth (12 MBs, captured by an
instrumented ffmpeg into knowledge/status/ffmpeg_mv_frame1.txt -- the 3rd-party oracle).
Walks the WHOLE P-frame (keeps entropy in sync) but asserts on the verified row-0 16x16 set.
Exit 0/1. Log knowledge/status/h264_mv_recon_gate.log. license_tier: ORIGINAL
dependencies 16 imports · 0 importers
diagram shows first 10 each side; +6 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.nxnx_h264_mvgrid.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
| 24 | func gp(fd: i64, s: *u8) -> i64 |
| 30 | func gn(fd: i64, v: i64) -> i64 |
| 41 | func find_tag(b: *u8, start: i64, end: i64, s: *u8) -> i64 |
| 46 | func dec_luma(br: *BitReader, lumaTC: *i64, lbW: i64, bx: i64, by: i64, maxc: i64, coeff: *i64) -> i64 |
| 58 | func dec_cac(br: *BitReader, cTC: *i64, cbW: i64, cbx: i64, cby: i64, coeff: *i64) -> i64 |
| 71 | func read_ref(sbr: *BitReader, num_ref: i64) -> i64 |
| 77 | func main() -> i64 |