DxtAlphaShift4
function · image · primitive
- Address
0x5a62b0· 6 bytes, up to0x5a62b5- Signature
uint32_t __fastcall (uint32_t nibble)- Meaning
- Returns a 4-bit alpha shifted left by 4
- Confidence
- verified, proof one
- Finding
- image/convert#dxt3-colours
- Test
image::image_dxt3_block_decoders,image::image_dxt3_drivers
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 0
None by a direct call or jump.
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.