CopyDxt1Blocks
function · image · primitive
- Address
0x5a5740· 64 bytes, up to0x5a577f- Signature
void __fastcall (void *arg1, const void *src, uint32_t srcStride, void *dst, uint32_t arg5)- Meaning
- Copies the DXT1 blocks of a surface as one run
- Confidence
- verified, proof one
- Finding
- image/convert#dxt-drivers
- Test
image::image_dxt1_block_copy
Finding: DXT drivers in image: pixel format conversion
A driver walks a surface in 4 by 4 blocks, building four destination row pointers per block row and
calling the block decoder. For a surface whose width and height are at least 4 and multiples of 4 the
decoder gets the bounds {0, 0, 3, 3, 4}; otherwise the bounds are {0, 0, min(w − 1, 3), min(h − 1, 3), min(w − 1, 3) + 1}.
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.