code wiki / _hdl_build / nx_vcodec_exceed_census.nx

nx_vcodec_exceed_census.nx

buildroot/runtime/_hdl_build/nx_vcodec_exceed_census.nx

7997 B109 linesdepth 5pulls 15 transitivereach 0 importersview sourcekind tooltopic vcodec
docsdependenciesstructsconstsfunctions

about

nx_vcodec_exceed_census.nx -- MEASURED census of the sovereign Nishi video codec vs the SOTA codecs (H.264/AVC, H.265/HEVC, AV1, VP9, H.266/VVC) -- the operator doctrine: "build all our stuff in the nishi ecosystem, use other systems ONLY as state-of-the-art benchmarks while we work to be the frontier leader." Mirrors nx_gpu_exceed_gate's honesty pattern: MEASURE OUR side (real encode on a real H.264-decoded luma frame -> ratio, bits/pixel, PSNR, encode/decode speed, bit-exact lossless), grade vs the incumbents' PUBLISHED/by-design characteristics (banked: knowledge/fetched/codec_{avc,hevc,av1,vp9,vvc}.raw), and an OVERCLAIM CONTROL that forces RED unless it ADMITS the axes where we are BEHIND (no compression whitewash). This tells us HONESTLY where the sovereign codec is frontier (sovereignty/patent-freedom/portability/ resource-intelligence/lossless-guarantee) and where it is behind (compression efficiency/entropy coding/ feature breadth/hardware encode) -- so "frontier leader" is a measured target, not a slogan. expect_exit: 0 license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_vcodec.nx nx_quality_metric.nx nx_vcodec_exceed_census.nx

imports: nx_syscalls.nxnx_vcodec.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 cw sys_write sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close sys_now_us sys_mmap ↻ sys_clock_gettime_mono vc_enc_frame_packed vc_enc_frame_packed_tf nx_bw_put vc_aq_level vc_mb_mad vc_enc_block_packed 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 vc_enc_mb8_inter

structs

none

consts

15const K_MAGIC_1024: i64 = 1024
16const K_MAGIC_4194304: i64 = 4194304
17const K_MAGIC_1000000: i64 = 1000000

functions

19func cw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
20func cn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
24func frame_equal(a: *u8, b: *u8, n: i64) -> i64 { var i: i64=0; while i<n { if a[i]!=b[i] { return 0 } i=i+1 } return 1 }
called by 1: main
26func main() -> i64