code wiki / _hdl_build / nx_reader_tile_gate.nx

nx_reader_tile_gate.nx

buildroot/runtime/_hdl_build/nx_reader_tile_gate.nx

6380 B111 linesdepth 11pulls 60 transitivereach 0 importersview sourcekind gate/prooftopic reader
docsdependenciesstructsconstsfunctions

dependencies 11 imports · 0 importers

nx_gate_grow.nx nx_gate_gn.nx nx_gate_read.nx nx_syscalls.nx nx_reader_tile.nx nx_jpeg_color_write.nx nx_quant_table.nx nx_jpeg_huff_enc.nx nx_zigzag.nx nx_dct8.nx nx_reader_tile_gate.nx

diagram shows first 10 each side; +1 more imports, +0 more importers in the complete lists below.

imports: nx_gate_grow.nxnx_gate_gn.nxnx_gate_read.nxnx_syscalls.nxnx_reader_tile.nxnx_jpeg_color_write.nxnx_quant_table.nxnx_jpeg_huff_enc.nxnx_zigzag.nxnx_dct8.nxnx_img_bytes_to_rgb.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_chdir sys_mmap sys_exit sys_mmap ↻ jhe_dc_bits jhe_dc_val jhe_ac_bits jhe_ac_val jhe_gen sys_mmap ↻ nx_qt_luma sys_mmap ↻ _qt_luma_base _qt_quality_to_scale _qt_scale nx_qt_chroma sys_mmap ↻ _qt_chroma_base _qt_quality_to_scale ↻ _qt_scale ↻ nx_zigzag_init nx_dct8_init jcw_write_color sys_mmap ↻ jcw_y jcw_cb jcw_cr jw_b jw_u16 bw_init jcw_block nx_dct8_forward_2d nx_dct8_forward_1d jw_qround nx_zigzag_scan jbe_encode_block jhe_emit_dc

structs

none

consts

none

functions

19func gw(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
21func g_exists(path: *u8) -> i64 { let fd: i64 = sys_openat_rd(path); if fd < 0 { return 0 } sys_close(fd); return 1 }
called by 1: main calls 2: sys_openat_rdsys_close
22func g_has(hay: *u8, n: i64, needle: *u8) -> i64
called by 1: main
29func g_jpeg_magic(path: *u8) -> i64
called by 1: main calls 2: sys_mmapg_read
37func main() -> i64