Module decode

Module decode 

Source
Expand description

CPU based decoding.

Functionsยง

decode_block_bc7
Decodes a BC7 block by reading 16 bytes from compressed_block and writing the RGBA8 data into decompressed_block with destination_pitch many bytes per output row.
decompress_blocks_as_rgba8
Helper function to easily decompress block data into RGBA8 data.