Namespace LansMap.Core.TileCodecs.Bc1
Classes
- Bc1Decoder
Decodes BC1 (DXT1) blocks to RGBA8888 for tests and cache-format migration.
- Bc1Encoder
Encodes RGBA8888 into BC1 blocks (8 bytes per 4x4 texels, 4 bpp) with a fast range-fit, no iterative refinement.
- Bc1MipChain
CPU mip-chain arithmetic and 2x2 box downsampling for block-compressed tiles, floored at 1x1.
- Bc1TileCodec
Disk-format codec for BC1 GPU blocks already stored in a cache blob: no image decode, extract the mip levels an upload needs.
- TileBc1Payload
On-disk BC1 mip-chain payload: base dimensions, level count, then every mip level's blocks concatenated, level 0 first.