nx_h264_slice_extract.nx
buildroot/runtime/nx_h264_slice_extract.nx
about
nx_h264_slice_extract.nx -- locate + parse a REAL coded slice from realtest.mp4.
Chains the whole stack on real bytes: avcC -> SPS+PPS params; video stbl ->
stco[0]/stsz[0] -> sample 0 file offset+size; AVCC NAL-split that sample; find
the slice NAL; parse its slice header with the real SPS/PPS context. This is
the bridge from "front-end parses config" to "we are holding a real coded
macroblock slice" -- the input CAVLC will decode.
license_tier: ORIGINAL
dependencies 18 imports · 0 importers
diagram shows first 10 each side; +8 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_zigzag.nxnx_h264_hadamard.nxnx_h264_idct.nxnx_h264_intra16.nxnx_h264_deblock.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
| 27 | 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 } |
| 28 | func gn(v: i64) -> i64 |
| 41 | func find_tag(b: *u8, start: i64, end: i64, s: *u8) -> i64 |
| 47 | func main() -> i64 |