benilla-re systems structs docs

InitInterpTable

function · image · orchestration

Address
0x5a7900 · 10 bytes, up to 0x5a7909
Signature
void __cdecl (void)
Meaning
Builds the DXT interpolation table at 0xc0fa80
Confidence
verified, proof one
Finding
image/convert#dxt-interpolation-table

Finding: DXT interpolation table in image: pixel format conversion

0x5a7910(base) fills the table at 0xc0fa80 that every DXT decoder reads: four tables of 16-bit values la(n) = n · 256 / 3 + 1 and lb(n) = n · 512 / 3 + 1, at 5 bits (32 entries each at +0x00 and +0x40) and 6 bits (64 entries each at +0x80 and +0x100).

The derivation is in the doc.

Callers 1

Callees 1

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