code wiki / (root) / nx_mp4_real_probe.nx

nx_mp4_real_probe.nx

buildroot/runtime/nx_mp4_real_probe.nx

3880 B79 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind probetopic mp4
docsdependenciesstructsconstsfunctions

about

nx_mp4_real_probe.nx -- run the whole H.264 front-end on a REAL recording. Reads knowledge/staging/media/realtest.mp4, demuxes tracks (incl. audio presence -> the audio-drop signal), identifies the codec, finds the avcC config record, extracts the real SPS NAL, de-emulates + parses it -> the real profile/level/resolution decoded straight from the bitstream. First time the front-end runs on real data instead of synthesized boxes. license_tier: ORIGINAL

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_mp4_demux.nx nx_mp4_stbl.nx nx_h264_bits.nx nx_h264_sps.nx nx_mp4_real_probe.nx

imports: nx_syscalls.nxnx_mp4_demux.nxnx_mp4_stbl.nxnx_h264_bits.nxnx_h264_sps.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close gp sys_write gn sys_mmap ↻ sys_write ↻ nx_mp4_demux sys_mmap ↻ mp4_find_box mp4_be32 mp4_be64 mp4_t4 mp4_be32 ↻ mp4_t4 ↻ nx_mp4_video_info sys_mmap ↻ mp4_find_box ↻ mp4_be32 ↻ mp4_be64 ↻ mp4_t4 ↻ nx_mp4_parse_stbl sys_mmap ↻ mp4_find_box ↻ nx_mp4_codec_class mp4_t4 ↻ mp4_be32 ↻ find_tag mp4_t4 ↻ nx_h264_unescape_rbsp nx_h264_parse_sps sys_mmap ↻ br_init sys_mmap ↻

structs

none

consts

none

functions

14func gp(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
15func gn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
29func find_tag(b: *u8, start: i64, end: i64, s: *u8) -> i64
called by 1: main calls 1: mp4_t4
38func main() -> i64