code wiki / _hdl_build / nx_reader_tile_gate.nx

nx_reader_tile_gate.nx

buildroot/runtime/_hdl_build/nx_reader_tile_gate.nx

6652 B118 linesdepth 11pulls 61 transitivereach 0 importersview sourcekind gate/prooftopic reader
docsdependenciesstructsconstsfunctions

dependencies 12 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; +2 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.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main sys_chdir sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ 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_dct8_init jcw_write_color sys_mmap ↻ jcw_y jcw_cb

structs

none

consts

none

functions

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