code wiki / _hdl_build / nx_vcodec_live_noise_probe.nx

nx_vcodec_live_noise_probe.nx

buildroot/runtime/_hdl_build/nx_vcodec_live_noise_probe.nx

8550 B174 linesdepth 6pulls 19 transitivereach 0 importersview sourcekind probetopic vcodec
docsdependenciesstructsconstsfunctions

dependencies 5 imports · 0 importers

nx_gate_base.nx nx_syscalls.nx nx_gate_verdict.nx nx_video_codec_wasm.nx nx_quality_metric.nx nx_vcodec_live_noise_probe.nx

imports: nx_gate_base.nxnx_syscalls.nxnx_gate_verdict.nxnx_video_codec_wasm.nxnx_quality_metric.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 gv_ctr sys_mmap sys_mmap ↻ vc_t8_init nx_dct8_init vc_t8p pass lp_frame lp_noise 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 vm_sad_zero vs_skip nx_bw_put ↻ vc_intra_dc_sad vm_search vc_enc_mb4r_intra vm_sad vc_rd_part_inter vc_t8p ↻ vc_enc_mb_part8_inter vm_search_q vc_mvpred vc_gput vc_mvplane_set ve_vput vc_satd16_cand vc_rd_t8_inter vc_enc_mb8_intra

structs

none

consts

15const K_MAGIC_7919: i64 = 7919
16const K_MAGIC_104729: i64 = 104729
17const K_MAGIC_1103515245: i64 = 1103515245
18const K_MAGIC_12345: i64 = 12345
19const K_MAGIC_4194304: i64 = 4194304
20const K_MAGIC_1000000: i64 = 1000000
21const K_MAGIC_4096: i64 = 4096
22const K_MAGIC_2097152: i64 = 2097152
23const K_MAGIC_8192: i64 = 8192
24const K_MAGIC_2721: i64 = 2721
25const K_MAGIC_21000: i64 = 21000
27const LW: i64 = 416
28const LH: i64 = 320
29const LQP: i64 = 32
30const LPF: i64 = 30

functions

32func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
calls 1: gw
34func gn(v: i64) -> i64
38func g2(v: i64) -> i64 { gn(v/100); gw("." as *u8); let f: i64=v%100; if f<10 { gw("0" as *u8) } gn(f); return 0 }
40func seedctxe(rctx: *i64, emode: i64, est: *i64, probs: *i64, rcbuf: *u8, t8c: *i64) -> i64
45func lp_frame(y: *u8, W: i64, H: i64, fi: i64) -> i64
70func lp_noise(p: *u8, n: i64, fi: i64, amp: i64, salt: i64) -> i64
85func pass(emode: i64, bufs: *i64, out: *i64) -> i64
130func report(tag: *u8, o: *i64) -> i64
138func main() -> i64