benilla-re systems structs docs

ConvertPaletteRgb444

function · image · primitive

Address
0x5a92d0 · 686 bytes, up to 0x5a957d
Signature
void __thiscall (void *this, void *dst, const uint8_t *src, uint32_t w, uint32_t h)
Meaning
Converts indices to ARGB4444 with Floyd-Steinberg dithering
Confidence
verified, proof one
Finding
image/convert#dithered-16-bit-palettes
Test
image::image_palconv_fs_rgb444

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.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.