Crate bcdec_rs

Source
Expand description

A safe, no_std, pure Rust port of bcdec.

Functionsยง

bc1
Decode 8 bytes from compressed_block to RGBA8 with destination_pitch many bytes per output row.
bc2
Decode 16 bytes from compressed_block to RGBA8 with destination_pitch many bytes per output row.
bc3
Decode 16 bytes from compressed_block to RGBA8 with destination_pitch many bytes per output row.
bc4
Decode 8 bytes from compressed_block to R8 with destination_pitch many bytes per output row.
bc5
Decode 16 bytes from compressed_block to RG8 with destination_pitch many bytes per output row.
bc7
Decode 16 bytes from compressed_block to RGBA8 with destination_pitch many bytes per output row.
bc4_float
Decode 8 bytes from compressed_block to R Float32 with destination_pitch many floats per output row.
bc5_float
Decode 16 bytes from compressed_block to RG Float32 with destination_pitch many floats per output row.
bc6h_float
Decode 16 bytes from compressed_block to RGB Float32 with destination_pitch many floats per output row.
bc6h_half
Decode 16 bytes from compressed_block to RGBFloat16 with destination_pitch many half floats per output row.