code wiki / _hdl_build / nx_vcodec_color_frame_test.nx

nx_vcodec_color_frame_test.nx

buildroot/runtime/_hdl_build/nx_vcodec_color_frame_test.nx

4112 B73 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic vcodec
docsdependenciesstructsconstsfunctions

about

nx_vcodec_color_frame_test.nx -- RUNG H5 gate: the sovereign COLOR frame codec. A color frame goes RGB -> YCbCr -> 4:2:0 -> transform+quant -> reconstruct -> RGB, within quant error, and COMPRESSES (nonzero coeffs << raw samples). Pure integer, sovereign. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_vcodec_color_frame.nx nx_vcodec_color_frame_test.nx

imports: nx_vcodec_color_frame.nx

imported by: nobody (leaf or entry point)

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

main g_puts rgb_frame_to_yuv sys_mmap rgb_to_ycbcr clamp8 subsample420 code_plane enc_block wht4 dec_block wht4 ↻ upsample420 ycbcr_to_rgb clamp8 ↻ iabs g_pn g_check g_puts ↻

structs

none

consts

none

functions

6func g_puts(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 2: g_checkmain
7func g_pn(v: i64) -> i64
called by 1: main
16func g_check(name: *u8, cond: i64) -> i64
called by 1: main calls 1: g_puts
20func iabs(v: i64) -> i64 { if v<0 { return 0-v } return v }
called by 1: main
22func main() -> i64