code wiki / (root) / nx_vp8probe.nx

nx_vp8probe.nx

buildroot/runtime/nx_vp8probe.nx

6196 B167 linesdepth 4pulls 8 transitivereach 0 importersview sourcekind orphan library
docsdependenciesstructsconstsfunctions

about

nx_vp8probe.nx -- DIAGNOSTIC bring-up harness for the C3 VP8 keyframe decoder. Decodes one lossy WebP file and prints machine-readable evidence: dimensions, global Y/U/V means, and an 8x8 grid of Y tile means that an INDEPENDENT oracle (libwebp via PIL, laptop-side) can be compared against number-by-number. Also embeds the prob-128 bool-decoder property check (prob-128 decode IS the raw bitstream) so a desync shows up here first. usage: nx_vp8probe <file.webp> license_tier: ORIGINAL

dependencies 5 imports · 0 importers

nx_str.nx nx_syscalls.nx nx_vp8.nx nx_vp8_pred.nx nx_vp8_kf.nx nx_vp8probe.nx

imports: nx_str.nxnx_syscalls.nxnx_vp8.nxnx_vp8_pred.nxnx_vp8_kf.nx

imported by: nobody (leaf or entry point)

structs

none

consts

17const K_MAGIC_42375: i64 = 42375
18const K_MAGIC_7602: i64 = 7602
19const K_MAGIC_65536: i64 = 65536
20const K_MAGIC_65537: i64 = 65537

functions

22func vpb_puts(s: *u8) -> i64 { sys_write(1, s, nx_str_len(s)); return 0 }
24func vpb_pi(v: i64) -> i64
38func vpb_cc(b: *u8, off: i64, a: i64, c: i64, d: i64, e: i64) -> i64
46func vpb_u32(b: *u8, off: i64) -> i64
50func main(argc: i64, argv: *i64) -> i64