wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::formats::blp::detail Namespace Reference

Classes

struct  BLPHeader
 The 148-byte BLP2 file header, exactly as on disk (the 1024-byte palette follows it). More...
class  DxtCodec
 The DXT/BC block codec. More...
class  MipmapScaler
 The mip-chain downscaler: one box-filter halving step per call, the standard non-sRGB-aware average every BLP toolchain uses. More...
class  PaletteCodec
 The palettized codec. More...
class  RawCodec
 The uncompressed-BGRA codec (ColorEncoding::Bgra / BgraAlt): a pure channel swizzle. More...
struct  StoredLayout
 The on-disk placement a read recorded, replayed by write() while the payloads are unmodified so unusual files (inter-mip gaps, trailing bytes, non-contiguous or shared mip placement) still round-trip byte-perfectly. More...

Typedefs

using BlockPixels = std::array<std::uint8_t, 16 * 4>
 One decoded 4x4 texel block: 16 RGBA pixels, row-major.

Typedef Documentation

◆ BlockPixels

using wowlib::formats::blp::detail::BlockPixels = std::array<std::uint8_t, 16 * 4>

One decoded 4x4 texel block: 16 RGBA pixels, row-major.

Definition at line 33 of file codec.hpp.