code wiki / _hdl_build / nx_vcodec_gop_vm_gate.nx
nx_vcodec_gop_vm_gate.nx
buildroot/runtime/_hdl_build/nx_vcodec_gop_vm_gate.nx
about
nx_vcodec_gop_vm_gate.nx -- SOVEREIGN VM verification of a full GOP (group-of-pictures): the
shipped nx_vcodec.wasm coding a REAL multi-frame video sequence (1 keyframe + 7 inter frames
with a moving object), prev-recon chained between frames exactly as the browser does. The
existing inter gate proves keyframe + ONE P-frame; this proves the chain stays byte-exact over
a WHOLE sequence -- i.e. NO temporal drift accumulates, and the per-op-alloc leak fix holds over
the long op-sequence a real video drives. Proven via the ecosystem's OWN wasm VM vs the native
codec authority, every frame:
- every frame's recon VM == native (byte-exact -- drift-free over the GOP) <- the new coverage
- every frame's bitcount VM == native (compiler faithful on the cost path)
- the GOP costs FAR less than coding every frame as a keyframe (temporal compression real)
- NEG-CONTROL: the byte-exact comparator detects a real difference (moved object) -> has teeth
No deploy, no live-client touch -- pure headless de-risk. expect_exit: 0 license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_gate_emit_lib.nxnx_wasm_vm.nxnx_vcodec.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
| 18 | const VCODEC_WASM: *u8 = "/mnt/c/Users/elder/nishi-core/nxc2/web_assets/_video_build/nx_vcodec.wasm" |
| 19 | const O_CUR: i64 = 0 |
| 20 | const O_PREV: i64 = 16384 |
| 21 | const O_DEC: i64 = 49152 |
functions
| 23 | func gen_frame(cur: *u8, W: i64, H: i64, ox: i64, oy: i64) -> i64 called by 1: main |
| 39 | func main() -> i64 |