Skip to main content

ebcc_encode_chunking

Function ebcc_encode_chunking 

Source
pub fn ebcc_encode_chunking(
    data: ArrayView<'_, f32, EbccDim>,
    config: &EBCCConfig,
    chunk_shape: EBCCChunkShape,
) -> EBCCResult<Vec<u8>>
Expand description

Encode a 3D data array using EBCC chunked compression.

chunk_shape controls the chunk shape used by EBCC. Chunks may extend beyond the input dimensions. EBCC pads edge chunks by repeating boundary values.

Warning: Range-relative error bounds are calculated independently for each chunk. Use ebcc_encode_chunking_compat instead to preserve a range-relative error bound over the entire data.

ยงErrors