Tools/BlpTest decodes real BLPs through CBLPFile in every format and mip;
output matches 12340's own code run under emulation (note 296).
Dither decoders: next[x - 1] -> (next + x)[-1]; x86 asm unchanged.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Port DecompPalARGB4444/1555/565/2565DitherFloydSteinberg with their
static error rows and alpha tables; CBLPFile is now complete.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Port CBLPFile open/source/lock/unlock/lock-chain and the palette
fast paths, the MippedImg helpers (_Triage) and CalcRowStride.
BLPHeader moves to BLPFile/Types.h with the palette/JPEG union.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>