ConvertClassPitch
function · image · primitive
- Address
0x5a62c0· 44 bytes, up to0x5a62eb- Signature
uint32_t __fastcall (uint32_t class, uint32_t width)- Meaning
- Returns the row bytes of a conversion class for a width
- Confidence
- verified, proof one
- Finding
- image/mips#pixel-pitch-of-a-source-format
- Test
image::image_dxt_pitch
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.
Callers 3
- CGxDeviceOpenGl::UploadLevel gx
- BlpDecodeLevel image
- BlpDecodeStage1 image
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.