nx_av1_obu_gate.nx
buildroot/runtime/nx_av1_obu_gate.nx
about
nx_av1_obu_gate.nx -- proves the AV1/AV2 OBU layer by ROUND-TRIP.
T2 pins LEB128 to its canonical encodings absolutely (128 -> 0x80 0x01),
because a writer that emits a longer-than-necessary form still round-trips
against its own reader while producing streams other decoders reject.
T6/T7 are the security-shaped ones: obu_forbidden_bit and obu_reserved_1bit
must both be REFUSED. A parser that ignores them consumes arbitrary bytes
as headers and resynchronises onto garbage -- the standard way a malformed
file becomes a long walk through memory. T8 also bounds LEB128 at 8 bytes,
so a continuation run cannot march off the buffer.
T4 separates UVLC from LEB128. They are both 'variable length' and they are
not the same code; confusing them misreads every frame-header field after
the first, silently.
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_bitstream.nxnx_av1_obu.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 g_puts(s: *u8) -> i64 |
| 29 | func g_putn(v: i64) -> i64 |
| 43 | func main() -> i64 |