Expand description
Compression and decompression orchestration
Implements tile-based compression using 64KB tiles with GDeflate encoding.
Compression runs on the CPU (crate::gdeflate::gdeflate_compress_tile).
Decompression can run on GPU (via crate::backend::ComputeBackend) or CPU fallback.
Structs§
- Engine
Config - Runtime configuration for the GPU compression engine.
- Tile
Index - Loaded tile index for O(1) tile lookup.
Functions§
- compress
- Compress
inputinto a GPU-format archive. - decompress
- Decompress a GPU-format archive back to the original bytes.
- decompress_
tile_ by_ index - Decompress a single tile by index from a GPU archive.
- load_
tile_ index - Load the tile index from a GPU archive without decompressing any tiles.