Skip to main content

Crate bioleptic

Crate bioleptic 

Source

Structs§

BiolepticHeader
CompressionOptions

Enums§

BiolepticError
CompressionMethod
CutoffLevel
DataType
EntropyCoder
QuantizationScale

Constants§

BILX_MAGIC
BILX_MAJOR
BILX_MINOR
BILX_VERSION
BIOLEPTIC_HEADER_SIZE
Fixed size of the header in bytes.
BIOLEPTIC_MAGIC
BIOLEPTIC_VERSION
Current format version.
FORMAT_MAJOR
FORMAT_MINOR

Functions§

compress
Compresses a slice of f32 samples into a single-channel Bioleptic stream.
compress_multi
Compresses several equal-length channels into one BILX container.
compress_to_prd
Compresses at the coarsest multiplier whose reconstruction PRD is <= target_prd.
decompress
Decompresses a single-channel Bioleptic-encoded byte slice back into f32.
decompress_multi
Decompresses a BILX multi-channel container into one Vec<f32> per channel.