benilla-re systems structs docs

s_fsErrorRgb565

global · image

Address
0xc21cd0 · 24624 bytes, up to 0xc27cff
Type
uint8_t[24624]
Meaning
Holds the error rows of the RGB565 dither
Confidence
verified, proof one
Finding
image/convert#dithered-16-bit-palettes

Finding: Dithered 16-bit palettes in image: pixel format conversion

The four live converters turn indices into 16-bit colour with Floyd-Steinberg error diffusion: 0x5a92d0 RGB444 with alpha merged to 4444, 0x5a9580 RGB555 with alpha merged to 1555, 0x5a9860 RGB565 without alpha, and 0x5a9a80 RGB565 followed by a 2-bit alpha plane.

The derivation is in the doc.