Skip to main content

ebcc_encode_chunking_compat

Function ebcc_encode_chunking_compat 

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

Encode a 3D data array using EBCC chunked compression in compatibility mode.

Passing Auto for chunk_shape lets EBCC automatically choose the chunk shape. Passing an Explicit chunk_shape uses the same validation rules as ebcc_encode_chunking.

In EBCC compatibility mode, range-relative error bounds are converted to absolute error bounds using the input data range before chunked encoding.

ยงErrors