DecodeDxt3BlockArgb8888
function · image · primitive
- Address
0x5a62f0· 660 bytes, up to0x5a6583- Signature
void __fastcall (const void *block, uint32_t **rows, const void *bounds, void *alpha)- Meaning
- Decodes one DXT3 block to ARGB8888
- Confidence
- verified, proof one
- Finding
- image/convert#dxt3-colours
- Test
image::image_dxt3_block_decoders
Finding: DXT3 colours in image: pixel format conversion
A DXT3 block is 8 bytes of explicit 4-bit alpha (row y in the word at y · 2) and a DXT1-style colour
half at +8, whose palette is always the four-colour one. The decoders write colour with the
alpha: ARGB4444 stores (colour & 0xfff) | alpha << 12, ARGB8888 stores the packed colour with
the alpha byte from a callback.
The derivation is in the doc.
Callers 1
- DecodeDxt3ToArgb8888 image
Callees 2
- _atexit crt
- PackRgb565ToArgb8888 image
Calls and jumps by a bare address, from tables/calls.tsv.