nx_jpeg_mcu_test.nx
buildroot/runtime/nx_jpeg_mcu_test.nx
about
nx_jpeg_mcu_test.nx -- KAT for the MCU walker.
Strategy: minimal grayscale 8x8 image (1 MCU, 1 block, 1 component).
Bitstream design: DC category 0 -> "0" + no magnitude bits. Then
AC EOB -> "0". Total 2 bits: 0b00000000 = 0x00.
Expected output: all 64 IDCT samples are 0 (since all coefficients
are 0), then level-shift +128 -> all samples = 128. Plane should
have all 128s in the 8x8 region.
Huffman tables:
DC: BITS={1,0,...}, HUFFVAL={0}. symbol 0 = code "0" (1 bit)
AC: BITS={1,0,...}, HUFFVAL={0x00}. symbol 0x00 = code "0" (1 bit) EOB
expect_exit: 0
license_tier: ORIGINAL
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_jpeg_dht.nxnx_jpeg_mcu.nxnx_jpeg_idct.nxnx_jpeg_sof.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
| 25 | func _fail(n: i64) -> i64 |
| 45 | func main() -> i64 |