code wiki / _hdl_build / nx_vcodec_832_twin.nx

nx_vcodec_832_twin.nx

buildroot/runtime/_hdl_build/nx_vcodec_832_twin.nx

3724 B82 linesdepth 6pulls 17 transitivereach 0 importersview sourcekind tooltopic vcodec
docsdependenciesstructsconstsfunctions

about

nx_vcodec_832_twin.nx -- Encodes deterministic panning content via a shared live path and prints per-frame byte counts for native and wasm compile parity.

dependencies 3 imports · 0 importers

nx_gate_base.nx nx_syscalls.nx nx_video_codec_wasm.nx nx_vcodec_832_twin.nx

imports: nx_gate_base.nxnx_syscalls.nxnx_video_codec_wasm.nx

imported by: nobody (leaf or entry point)

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

main gw sys_write sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ vc_t8_init nx_dct8_init vc_t8p twin_fill seedctxe vv_enc_rct8 vc_enc_frame_packed_rct8 rc_enc_init nx_bw_put vc_aq_level vc_mb_mad vc_mb_t8_ok vc_enc_block_packed_e vc_enc_block_packed_i nx_bw_put ↻ vc_intra_dc_sad vc_enc_mb4r_intra vc_t8p ↻ vc_gather_edges vc_mpm_pred vc_pred_rich vc_mpm_put

structs

none

consts

11const K_MAGIC_2097152: i64 = 2097152
12const K_MAGIC_4096: i64 = 4096
13const K_MAGIC_8192: i64 = 8192
15const TW: i64 = 320
16const TH: i64 = 256
17const TQP: i64 = 20

functions

19func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
calls 1: gw
21func gn(v: i64) -> i64
26func seedctxe(rctx: *i64, emode: i64, est: *i64, probs: *i64, rcbuf: *u8, t8c: *i64) -> i64
31func twin_fill(cur: *u8, f: i64, pxf: i64) -> i64
52func main() -> i64