benilla-re systems structs docs

s_classPitchFactor

global · image

Address
0x85c88c · 36 bytes, up to 0x85c8af
Type
const int32_t[9]
Meaning
Holds the pitch factor of each conversion class
Confidence
verified, proof one
Finding
image/mips#pixel-pitch-of-a-source-format

Finding: Pixel pitch of a source format in image: mip geometry

0x5a62c0(class, dim) returns the row bytes of a conversion class for a width: the width, raised to 4 for the DXT classes 5 to 7 when below 5, shifted right by a per-class amount and multiplied by a per-class factor.

The derivation is in the doc.