code wiki / _hdl_build / nx_gif_color_gate.nx
nx_gif_color_gate.nx
buildroot/runtime/_hdl_build/nx_gif_color_gate.nx
about
nx_gif_color_gate.nx -- gate for C2 of the codec-chokepoint program (debt 1785903075): GIF palette
COLOR decode + DE-INTERLACE, at the decoder (gif_decode_rgb) AND through the shared chokepoint
(nx_img_bytes_to_rgb). Fixtures are hand-built byte-exact GIF89a files: a 4x4 4-colour palette image
stored non-interlaced (rows 0,1,2,3) and interlaced (pass order 0,2,1,3 + descriptor bit 6), whose
DECODED images must be identical. The synthetic LZW uses CLEAR-before-every-literal (no dictionary
growth), so T6 decodes a REAL gathered web GIF (third-party encoder, real dictionary growth) as the
independent witness. Inherits nx_gate_verdict. license_tier: ORIGINAL expect_exit: 0
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nxnx_gif_decode.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
structs
| none |
consts
| none |
functions
| 14 | func gg_putcode(buf: *u8, bitpos: *i64, code: i64) -> i64 called by 1: gg_build_gif |
| 28 | func gg_build_gif(out: *u8, pixseq: *u8, interlaced: i64) -> i64 |
| 59 | func main() -> i64 |