benilla-re systems structs docs

BuildInterpTable

function · image · primitive

Address
0x5a7910 · 122 bytes, up to 0x5a7989
Signature
void * __thiscall (void *this)
Meaning
Fills the DXT interpolation table
Confidence
verified, proof one
Finding
image/convert#dxt-interpolation-table
Test
image::image_dxt_interp_lut

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 0

None by a direct call or jump.

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