code wiki / _hdl_build / nx_faithdiff_probe.nx

nx_faithdiff_probe.nx

buildroot/runtime/_hdl_build/nx_faithdiff_probe.nx

11077 B180 linesdepth 6pulls 16 transitivereach 1 importersview sourcekind probe
docsdependenciesstructsconstsfunctions

about

nx_faithdiff_probe.nx -- functions UNDER wat-faithfulness test. NO main -> the WAT target exports each. Imports the REAL codec so the probe tests the SHIPPING functions (not copies) + a FULL encode->decode roundtrip -> a divergence VM-vs-native here == the identical divergence in the deployed wasm. license: ORIGINAL

dependencies 1 imports · 1 importers

nx_video_codec_wasm.nx nx_faithdiff_probe.nx nx_faithdiff.nx

imports: nx_video_codec_wasm.nx

imported by: nx_faithdiff.nx

structs

none

consts

5const K_MAGIC_16384: i64 = 16384
6const K_MAGIC_20480: i64 = 20480
7const K_MAGIC_6016: i64 = 6016
8const K_MAGIC_4096: i64 = 4096
9const K_MAGIC_8192: i64 = 8192
10const K_MAGIC_90000: i64 = 90000
11const K_MAGIC_90128: i64 = 90128
12const K_MAGIC_90256: i64 = 90256
13const K_MAGIC_130000: i64 = 130000
14const K_MAGIC_52000: i64 = 52000
15const K_MAGIC_89000: i64 = 89000
16const K_MAGIC_16777216: i64 = 16777216
17const K_MAGIC_57008: i64 = 57008
18const K_MAGIC_57500: i64 = 57500
19const K_MAGIC_57692: i64 = 57692
20const K_MAGIC_58400: i64 = 58400

functions

23func fd_tile(tfy: i64, sy: i64) -> i64
called by 1: main
33func fd_roundtrip(membase: i64, seed: i64) -> i64
called by 1: main calls 2: vv_encvv_dec
56func fd_band_roundtrip(membase: i64, seed: i64) -> i64
called by 1: main calls 2: vv_enc_bandvv_dec_band
81func fd_rc_roundtrip(membase: i64, seed: i64) -> i64
called by 1: main calls 2: vv_enc_rcvv_dec_rc
113func fd_t8_roundtrip(membase: i64, seed: i64) -> i64
called by 1: main calls 3: vc_t8_initvv_enc_t8vv_dec_t8
152func fd_rct8_roundtrip(membase: i64, seed: i64) -> i64