# General interface

Due to the limitations mentioned on the C Interface page, the C API functions follow a naming scheme to replace C++ overloading. Each function name is based on the following regular expression:

`atc_<function-name>_<targets>[_results]?[_options]?[_<dtype>]?`

where the components represent:

- `function-name`: The corresponding C++ function name, such as `compress`, `decompress` or `compress_decompress`.

- `targets`: A string consisting of 1-3 characters `f` or `m` indicating whether the corresponding data should be loaded from/saved to a file or a buffer in-memory. The length of this string depends on `function-name`. For example, when dealing with `compress_decompress` the `targets` string `ffm` indicates that the original data will be loaded from a file, compressed to a file and decompressed to memory.

- `results`: If the corresponding C++ function returns `atc::Results`, there are two categories of corresponding C functions:

  > - One whose name does not include `results` and simply returns a `bool` indicating success or failure.

  > - One whose name includes `results` and returns an `atc_results` struct. Note that to properly manage memory and avoid memory leaks, these returned structs must be explicitly destroyed by the user by calling `atc_destroy_results()` .

- `options`: If the corresponding C++ function accepts an `atc::Options` argument, there are two categories of corresponding C functions: one with and one without an `options` argument. Note that default arguments do not exist in C, so when the `options` argument is present it must be given.

- `dtype`: If the corresponding C++ function is templated, it will be instantiated for each of the valid data types: `uint8`, `uint16`, `uint32`, `uint64`, `int8`, `int16`, `int32`, `int64`, `float32` and `float64`.

Using this naming scheme, the corresponding C++ documentation and the conversions from STL objects to C types described here, the meaning of each of the following functions should be fairly straightforward. Some very limited documentation is still provided to clarify a few things.

## atc_compress

C equivalent of atc::compress. Note that the argument `modes` represents the length of the array argument `sizes`.

bool atc_compress_ff(const char *original_file, atc_data_type data_type, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

bool atc_compress_ff_options(const char *original_file, atc_data_type data_type, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

atc_results atc_compress_ff_results(const char *original_file, atc_data_type data_type, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

atc_results atc_compress_ff_results_options(const char *original_file, atc_data_type data_type, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

atc_results atc_compress_fm_results(const char *original_file, atc_data_type data_type, uint8_t modes, const size_t *sizes, double target_error)

atc_results atc_compress_fm_results_options(const char *original_file, atc_data_type data_type, uint8_t modes, const size_t *sizes, double target_error, const atc_options *options)

bool atc_compress_mf_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

bool atc_compress_mf_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

bool atc_compress_mf_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

bool atc_compress_mf_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

bool atc_compress_mf_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

bool atc_compress_mf_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

bool atc_compress_mf_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

bool atc_compress_mf_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

bool atc_compress_mf_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

bool atc_compress_mf_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

bool atc_compress_mf_options_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

bool atc_compress_mf_options_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

bool atc_compress_mf_options_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

bool atc_compress_mf_options_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

bool atc_compress_mf_options_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

bool atc_compress_mf_options_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

bool atc_compress_mf_options_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

bool atc_compress_mf_options_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

bool atc_compress_mf_options_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

bool atc_compress_mf_options_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

atc_results atc_compress_mf_results_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

atc_results atc_compress_mf_results_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

atc_results atc_compress_mf_results_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

atc_results atc_compress_mf_results_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

atc_results atc_compress_mf_results_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

atc_results atc_compress_mf_results_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

atc_results atc_compress_mf_results_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

atc_results atc_compress_mf_results_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

atc_results atc_compress_mf_results_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

atc_results atc_compress_mf_results_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file)

atc_results atc_compress_mf_results_options_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

atc_results atc_compress_mf_results_options_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

atc_results atc_compress_mf_results_options_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

atc_results atc_compress_mf_results_options_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

atc_results atc_compress_mf_results_options_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

atc_results atc_compress_mf_results_options_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

atc_results atc_compress_mf_results_options_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

atc_results atc_compress_mf_results_options_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

atc_results atc_compress_mf_results_options_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

atc_results atc_compress_mf_results_options_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const atc_options *options)

atc_results atc_compress_mm_results_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error)

atc_results atc_compress_mm_results_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error)

atc_results atc_compress_mm_results_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error)

atc_results atc_compress_mm_results_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error)

atc_results atc_compress_mm_results_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error)

atc_results atc_compress_mm_results_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error)

atc_results atc_compress_mm_results_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error)

atc_results atc_compress_mm_results_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error)

atc_results atc_compress_mm_results_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error)

atc_results atc_compress_mm_results_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error)

atc_results atc_compress_mm_results_options_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const atc_options *options)

atc_results atc_compress_mm_results_options_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const atc_options *options)

atc_results atc_compress_mm_results_options_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const atc_options *options)

atc_results atc_compress_mm_results_options_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const atc_options *options)

atc_results atc_compress_mm_results_options_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const atc_options *options)

atc_results atc_compress_mm_results_options_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const atc_options *options)

atc_results atc_compress_mm_results_options_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const atc_options *options)

atc_results atc_compress_mm_results_options_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const atc_options *options)

atc_results atc_compress_mm_results_options_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, const atc_options *options)

atc_results atc_compress_mm_results_options_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, const atc_options *options)

## atc_decompress

C equivalent of atc::decompress.

bool atc_decompress_ff(const char *compressed_file, const char *decompressed_file)

bool atc_decompress_ff_options(const char *compressed_file, const char *decompressed_file, const atc_options *options)

atc_results atc_decompress_ff_results(const char *compressed_file, const char *decompressed_file)

atc_results atc_decompress_ff_results_options(const char *compressed_file, const char *decompressed_file, const atc_options *options)

bool atc_decompress_fm_uint8(const char *compressed_file, size_t decompressed_size, uint8_t *decompressed_data)

bool atc_decompress_fm_uint16(const char *compressed_file, size_t decompressed_size, uint16_t *decompressed_data)

bool atc_decompress_fm_uint32(const char *compressed_file, size_t decompressed_size, uint32_t *decompressed_data)

bool atc_decompress_fm_uint64(const char *compressed_file, size_t decompressed_size, uint64_t *decompressed_data)

bool atc_decompress_fm_int8(const char *compressed_file, size_t decompressed_size, int8_t *decompressed_data)

bool atc_decompress_fm_int16(const char *compressed_file, size_t decompressed_size, int16_t *decompressed_data)

bool atc_decompress_fm_int32(const char *compressed_file, size_t decompressed_size, int32_t *decompressed_data)

bool atc_decompress_fm_int64(const char *compressed_file, size_t decompressed_size, int64_t *decompressed_data)

bool atc_decompress_fm_float32(const char *compressed_file, size_t decompressed_size, float *decompressed_data)

bool atc_decompress_fm_float64(const char *compressed_file, size_t decompressed_size, double *decompressed_data)

bool atc_decompress_fm_options_uint8(const char *compressed_file, size_t decompressed_size, uint8_t *decompressed_data, const atc_options *options)

bool atc_decompress_fm_options_uint16(const char *compressed_file, size_t decompressed_size, uint16_t *decompressed_data, const atc_options *options)

bool atc_decompress_fm_options_uint32(const char *compressed_file, size_t decompressed_size, uint32_t *decompressed_data, const atc_options *options)

bool atc_decompress_fm_options_uint64(const char *compressed_file, size_t decompressed_size, uint64_t *decompressed_data, const atc_options *options)

bool atc_decompress_fm_options_int8(const char *compressed_file, size_t decompressed_size, int8_t *decompressed_data, const atc_options *options)

bool atc_decompress_fm_options_int16(const char *compressed_file, size_t decompressed_size, int16_t *decompressed_data, const atc_options *options)

bool atc_decompress_fm_options_int32(const char *compressed_file, size_t decompressed_size, int32_t *decompressed_data, const atc_options *options)

bool atc_decompress_fm_options_int64(const char *compressed_file, size_t decompressed_size, int64_t *decompressed_data, const atc_options *options)

bool atc_decompress_fm_options_float32(const char *compressed_file, size_t decompressed_size, float *decompressed_data, const atc_options *options)

bool atc_decompress_fm_options_float64(const char *compressed_file, size_t decompressed_size, double *decompressed_data, const atc_options *options)

atc_results atc_decompress_fm_results_uint8(const char *compressed_file, size_t decompressed_size, uint8_t *decompressed_data)

atc_results atc_decompress_fm_results_uint16(const char *compressed_file, size_t decompressed_size, uint16_t *decompressed_data)

atc_results atc_decompress_fm_results_uint32(const char *compressed_file, size_t decompressed_size, uint32_t *decompressed_data)

atc_results atc_decompress_fm_results_uint64(const char *compressed_file, size_t decompressed_size, uint64_t *decompressed_data)

atc_results atc_decompress_fm_results_int8(const char *compressed_file, size_t decompressed_size, int8_t *decompressed_data)

atc_results atc_decompress_fm_results_int16(const char *compressed_file, size_t decompressed_size, int16_t *decompressed_data)

atc_results atc_decompress_fm_results_int32(const char *compressed_file, size_t decompressed_size, int32_t *decompressed_data)

atc_results atc_decompress_fm_results_int64(const char *compressed_file, size_t decompressed_size, int64_t *decompressed_data)

atc_results atc_decompress_fm_results_float32(const char *compressed_file, size_t decompressed_size, float *decompressed_data)

atc_results atc_decompress_fm_results_float64(const char *compressed_file, size_t decompressed_size, double *decompressed_data)

atc_results atc_decompress_fm_results_options_uint8(const char *compressed_file, size_t decompressed_size, uint8_t *decompressed_data, const atc_options *options)

atc_results atc_decompress_fm_results_options_uint16(const char *compressed_file, size_t decompressed_size, uint16_t *decompressed_data, const atc_options *options)

atc_results atc_decompress_fm_results_options_uint32(const char *compressed_file, size_t decompressed_size, uint32_t *decompressed_data, const atc_options *options)

atc_results atc_decompress_fm_results_options_uint64(const char *compressed_file, size_t decompressed_size, uint64_t *decompressed_data, const atc_options *options)

atc_results atc_decompress_fm_results_options_int8(const char *compressed_file, size_t decompressed_size, int8_t *decompressed_data, const atc_options *options)

atc_results atc_decompress_fm_results_options_int16(const char *compressed_file, size_t decompressed_size, int16_t *decompressed_data, const atc_options *options)

atc_results atc_decompress_fm_results_options_int32(const char *compressed_file, size_t decompressed_size, int32_t *decompressed_data, const atc_options *options)

atc_results atc_decompress_fm_results_options_int64(const char *compressed_file, size_t decompressed_size, int64_t *decompressed_data, const atc_options *options)

atc_results atc_decompress_fm_results_options_float32(const char *compressed_file, size_t decompressed_size, float *decompressed_data, const atc_options *options)

atc_results atc_decompress_fm_results_options_float64(const char *compressed_file, size_t decompressed_size, double *decompressed_data, const atc_options *options)

bool atc_decompress_mf(size_t compressed_size, const char *compressed_data, const char *decompressed_file)

bool atc_decompress_mf_options(size_t compressed_size, const char *compressed_data, const char *decompressed_file, const atc_options *options)

atc_results atc_decompress_mf_results(size_t compressed_size, const char *compressed_data, const char *decompressed_file)

atc_results atc_decompress_mf_results_options(size_t compressed_size, const char *compressed_data, const char *decompressed_file, const atc_options *options)

bool atc_decompress_mm_uint8(size_t compressed_size, const char *compressed_data, size_t decompressed_size, uint8_t *decompressed_data)

bool atc_decompress_mm_uint16(size_t compressed_size, const char *compressed_data, size_t decompressed_size, uint16_t *decompressed_data)

bool atc_decompress_mm_uint32(size_t compressed_size, const char *compressed_data, size_t decompressed_size, uint32_t *decompressed_data)

bool atc_decompress_mm_uint64(size_t compressed_size, const char *compressed_data, size_t decompressed_size, uint64_t *decompressed_data)

bool atc_decompress_mm_int8(size_t compressed_size, const char *compressed_data, size_t decompressed_size, int8_t *decompressed_data)

bool atc_decompress_mm_int16(size_t compressed_size, const char *compressed_data, size_t decompressed_size, int16_t *decompressed_data)

bool atc_decompress_mm_int32(size_t compressed_size, const char *compressed_data, size_t decompressed_size, int32_t *decompressed_data)

bool atc_decompress_mm_int64(size_t compressed_size, const char *compressed_data, size_t decompressed_size, int64_t *decompressed_data)

bool atc_decompress_mm_float32(size_t compressed_size, const char *compressed_data, size_t decompressed_size, float *decompressed_data)

bool atc_decompress_mm_float64(size_t compressed_size, const char *compressed_data, size_t decompressed_size, double *decompressed_data)

bool atc_decompress_mm_options_uint8(size_t compressed_size, const char *compressed_data, size_t decompressed_size, uint8_t *decompressed_data, const atc_options *options)

bool atc_decompress_mm_options_uint16(size_t compressed_size, const char *compressed_data, size_t decompressed_size, uint16_t *decompressed_data, const atc_options *options)

bool atc_decompress_mm_options_uint32(size_t compressed_size, const char *compressed_data, size_t decompressed_size, uint32_t *decompressed_data, const atc_options *options)

bool atc_decompress_mm_options_uint64(size_t compressed_size, const char *compressed_data, size_t decompressed_size, uint64_t *decompressed_data, const atc_options *options)

bool atc_decompress_mm_options_int8(size_t compressed_size, const char *compressed_data, size_t decompressed_size, int8_t *decompressed_data, const atc_options *options)

bool atc_decompress_mm_options_int16(size_t compressed_size, const char *compressed_data, size_t decompressed_size, int16_t *decompressed_data, const atc_options *options)

bool atc_decompress_mm_options_int32(size_t compressed_size, const char *compressed_data, size_t decompressed_size, int32_t *decompressed_data, const atc_options *options)

bool atc_decompress_mm_options_int64(size_t compressed_size, const char *compressed_data, size_t decompressed_size, int64_t *decompressed_data, const atc_options *options)

bool atc_decompress_mm_options_float32(size_t compressed_size, const char *compressed_data, size_t decompressed_size, float *decompressed_data, const atc_options *options)

bool atc_decompress_mm_options_float64(size_t compressed_size, const char *compressed_data, size_t decompressed_size, double *decompressed_data, const atc_options *options)

atc_results atc_decompress_mm_results_uint8(size_t compressed_size, const char *compressed_data, size_t decompressed_size, uint8_t *decompressed_data)

atc_results atc_decompress_mm_results_uint16(size_t compressed_size, const char *compressed_data, size_t decompressed_size, uint16_t *decompressed_data)

atc_results atc_decompress_mm_results_uint32(size_t compressed_size, const char *compressed_data, size_t decompressed_size, uint32_t *decompressed_data)

atc_results atc_decompress_mm_results_uint64(size_t compressed_size, const char *compressed_data, size_t decompressed_size, uint64_t *decompressed_data)

atc_results atc_decompress_mm_results_int8(size_t compressed_size, const char *compressed_data, size_t decompressed_size, int8_t *decompressed_data)

atc_results atc_decompress_mm_results_int16(size_t compressed_size, const char *compressed_data, size_t decompressed_size, int16_t *decompressed_data)

atc_results atc_decompress_mm_results_int32(size_t compressed_size, const char *compressed_data, size_t decompressed_size, int32_t *decompressed_data)

atc_results atc_decompress_mm_results_int64(size_t compressed_size, const char *compressed_data, size_t decompressed_size, int64_t *decompressed_data)

atc_results atc_decompress_mm_results_float32(size_t compressed_size, const char *compressed_data, size_t decompressed_size, float *decompressed_data)

atc_results atc_decompress_mm_results_float64(size_t compressed_size, const char *compressed_data, size_t decompressed_size, double *decompressed_data)

atc_results atc_decompress_mm_results_options_uint8(size_t compressed_size, const char *compressed_data, size_t decompressed_size, uint8_t *decompressed_data, const atc_options *options)

atc_results atc_decompress_mm_results_options_uint16(size_t compressed_size, const char *compressed_data, size_t decompressed_size, uint16_t *decompressed_data, const atc_options *options)

atc_results atc_decompress_mm_results_options_uint32(size_t compressed_size, const char *compressed_data, size_t decompressed_size, uint32_t *decompressed_data, const atc_options *options)

atc_results atc_decompress_mm_results_options_uint64(size_t compressed_size, const char *compressed_data, size_t decompressed_size, uint64_t *decompressed_data, const atc_options *options)

atc_results atc_decompress_mm_results_options_int8(size_t compressed_size, const char *compressed_data, size_t decompressed_size, int8_t *decompressed_data, const atc_options *options)

atc_results atc_decompress_mm_results_options_int16(size_t compressed_size, const char *compressed_data, size_t decompressed_size, int16_t *decompressed_data, const atc_options *options)

atc_results atc_decompress_mm_results_options_int32(size_t compressed_size, const char *compressed_data, size_t decompressed_size, int32_t *decompressed_data, const atc_options *options)

atc_results atc_decompress_mm_results_options_int64(size_t compressed_size, const char *compressed_data, size_t decompressed_size, int64_t *decompressed_data, const atc_options *options)

atc_results atc_decompress_mm_results_options_float32(size_t compressed_size, const char *compressed_data, size_t decompressed_size, float *decompressed_data, const atc_options *options)

atc_results atc_decompress_mm_results_options_float64(size_t compressed_size, const char *compressed_data, size_t decompressed_size, double *decompressed_data, const atc_options *options)

## atc_compress_decompress

C equivalent of atc::compress_decompress. Note that the argument `modes` represents the length of the array argument `sizes`.

bool atc_compress_decompress_fff(const char *original_file, atc_data_type data_type, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

bool atc_compress_decompress_fff_options(const char *original_file, atc_data_type data_type, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_fff_results(const char *original_file, atc_data_type data_type, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

atc_results atc_compress_decompress_fff_results_options(const char *original_file, atc_data_type data_type, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

bool atc_compress_decompress_ffm_uint8(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint8_t *decompressed_data)

bool atc_compress_decompress_ffm_uint16(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint16_t *decompressed_data)

bool atc_compress_decompress_ffm_uint32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint32_t *decompressed_data)

bool atc_compress_decompress_ffm_uint64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint64_t *decompressed_data)

bool atc_compress_decompress_ffm_int8(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int8_t *decompressed_data)

bool atc_compress_decompress_ffm_int16(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int16_t *decompressed_data)

bool atc_compress_decompress_ffm_int32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int32_t *decompressed_data)

bool atc_compress_decompress_ffm_int64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int64_t *decompressed_data)

bool atc_compress_decompress_ffm_float32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, float *decompressed_data)

bool atc_compress_decompress_ffm_float64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, double *decompressed_data)

bool atc_compress_decompress_ffm_options_uint8(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint8_t *decompressed_data, const atc_options *options)

bool atc_compress_decompress_ffm_options_uint16(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint16_t *decompressed_data, const atc_options *options)

bool atc_compress_decompress_ffm_options_uint32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint32_t *decompressed_data, const atc_options *options)

bool atc_compress_decompress_ffm_options_uint64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint64_t *decompressed_data, const atc_options *options)

bool atc_compress_decompress_ffm_options_int8(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int8_t *decompressed_data, const atc_options *options)

bool atc_compress_decompress_ffm_options_int16(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int16_t *decompressed_data, const atc_options *options)

bool atc_compress_decompress_ffm_options_int32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int32_t *decompressed_data, const atc_options *options)

bool atc_compress_decompress_ffm_options_int64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int64_t *decompressed_data, const atc_options *options)

bool atc_compress_decompress_ffm_options_float32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, float *decompressed_data, const atc_options *options)

bool atc_compress_decompress_ffm_options_float64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, double *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_ffm_results_uint8(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint8_t *decompressed_data)

atc_results atc_compress_decompress_ffm_results_uint16(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint16_t *decompressed_data)

atc_results atc_compress_decompress_ffm_results_uint32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint32_t *decompressed_data)

atc_results atc_compress_decompress_ffm_results_uint64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint64_t *decompressed_data)

atc_results atc_compress_decompress_ffm_results_int8(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int8_t *decompressed_data)

atc_results atc_compress_decompress_ffm_results_int16(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int16_t *decompressed_data)

atc_results atc_compress_decompress_ffm_results_int32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int32_t *decompressed_data)

atc_results atc_compress_decompress_ffm_results_int64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int64_t *decompressed_data)

atc_results atc_compress_decompress_ffm_results_float32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, float *decompressed_data)

atc_results atc_compress_decompress_ffm_results_float64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, double *decompressed_data)

atc_results atc_compress_decompress_ffm_results_options_uint8(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint8_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_ffm_results_options_uint16(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint16_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_ffm_results_options_uint32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint32_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_ffm_results_options_uint64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint64_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_ffm_results_options_int8(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int8_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_ffm_results_options_int16(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int16_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_ffm_results_options_int32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int32_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_ffm_results_options_int64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int64_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_ffm_results_options_float32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, float *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_ffm_results_options_float64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, double *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_fmf_results(const char *original_file, atc_data_type data_type, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file)

atc_results atc_compress_decompress_fmf_results_options(const char *original_file, atc_data_type data_type, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_fmm_results_uint8(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, uint8_t *decompressed_data)

atc_results atc_compress_decompress_fmm_results_uint16(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, uint16_t *decompressed_data)

atc_results atc_compress_decompress_fmm_results_uint32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, uint32_t *decompressed_data)

atc_results atc_compress_decompress_fmm_results_uint64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, uint64_t *decompressed_data)

atc_results atc_compress_decompress_fmm_results_int8(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, int8_t *decompressed_data)

atc_results atc_compress_decompress_fmm_results_int16(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, int16_t *decompressed_data)

atc_results atc_compress_decompress_fmm_results_int32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, int32_t *decompressed_data)

atc_results atc_compress_decompress_fmm_results_int64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, int64_t *decompressed_data)

atc_results atc_compress_decompress_fmm_results_float32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, float *decompressed_data)

atc_results atc_compress_decompress_fmm_results_float64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, double *decompressed_data)

atc_results atc_compress_decompress_fmm_results_options_uint8(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, uint8_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_fmm_results_options_uint16(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, uint16_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_fmm_results_options_uint32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, uint32_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_fmm_results_options_uint64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, uint64_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_fmm_results_options_int8(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, int8_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_fmm_results_options_int16(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, int16_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_fmm_results_options_int32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, int32_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_fmm_results_options_int64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, int64_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_fmm_results_options_float32(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, float *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_fmm_results_options_float64(const char *original_file, uint8_t modes, const size_t *sizes, double target_error, double *decompressed_data, const atc_options *options)

bool atc_compress_decompress_mff_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

bool atc_compress_decompress_mff_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

bool atc_compress_decompress_mff_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

bool atc_compress_decompress_mff_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

bool atc_compress_decompress_mff_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

bool atc_compress_decompress_mff_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

bool atc_compress_decompress_mff_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

bool atc_compress_decompress_mff_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

bool atc_compress_decompress_mff_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

bool atc_compress_decompress_mff_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

bool atc_compress_decompress_mff_options_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

bool atc_compress_decompress_mff_options_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

bool atc_compress_decompress_mff_options_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

bool atc_compress_decompress_mff_options_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

bool atc_compress_decompress_mff_options_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

bool atc_compress_decompress_mff_options_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

bool atc_compress_decompress_mff_options_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

bool atc_compress_decompress_mff_options_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

bool atc_compress_decompress_mff_options_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

bool atc_compress_decompress_mff_options_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mff_results_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

atc_results atc_compress_decompress_mff_results_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

atc_results atc_compress_decompress_mff_results_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

atc_results atc_compress_decompress_mff_results_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

atc_results atc_compress_decompress_mff_results_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

atc_results atc_compress_decompress_mff_results_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

atc_results atc_compress_decompress_mff_results_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

atc_results atc_compress_decompress_mff_results_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

atc_results atc_compress_decompress_mff_results_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

atc_results atc_compress_decompress_mff_results_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file)

atc_results atc_compress_decompress_mff_results_options_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mff_results_options_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mff_results_options_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mff_results_options_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mff_results_options_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mff_results_options_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mff_results_options_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mff_results_options_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mff_results_options_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mff_results_options_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, const char *decompressed_file, const atc_options *options)

bool atc_compress_decompress_mfm_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint8_t *decompressed_data)

bool atc_compress_decompress_mfm_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint16_t *decompressed_data)

bool atc_compress_decompress_mfm_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint32_t *decompressed_data)

bool atc_compress_decompress_mfm_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint64_t *decompressed_data)

bool atc_compress_decompress_mfm_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int8_t *decompressed_data)

bool atc_compress_decompress_mfm_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int16_t *decompressed_data)

bool atc_compress_decompress_mfm_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int32_t *decompressed_data)

bool atc_compress_decompress_mfm_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int64_t *decompressed_data)

bool atc_compress_decompress_mfm_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, float *decompressed_data)

bool atc_compress_decompress_mfm_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, double *decompressed_data)

bool atc_compress_decompress_mfm_options_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint8_t *decompressed_data, const atc_options *options)

bool atc_compress_decompress_mfm_options_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint16_t *decompressed_data, const atc_options *options)

bool atc_compress_decompress_mfm_options_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint32_t *decompressed_data, const atc_options *options)

bool atc_compress_decompress_mfm_options_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint64_t *decompressed_data, const atc_options *options)

bool atc_compress_decompress_mfm_options_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int8_t *decompressed_data, const atc_options *options)

bool atc_compress_decompress_mfm_options_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int16_t *decompressed_data, const atc_options *options)

bool atc_compress_decompress_mfm_options_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int32_t *decompressed_data, const atc_options *options)

bool atc_compress_decompress_mfm_options_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int64_t *decompressed_data, const atc_options *options)

bool atc_compress_decompress_mfm_options_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, float *decompressed_data, const atc_options *options)

bool atc_compress_decompress_mfm_options_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, double *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mfm_results_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint8_t *decompressed_data)

atc_results atc_compress_decompress_mfm_results_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint16_t *decompressed_data)

atc_results atc_compress_decompress_mfm_results_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint32_t *decompressed_data)

atc_results atc_compress_decompress_mfm_results_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint64_t *decompressed_data)

atc_results atc_compress_decompress_mfm_results_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int8_t *decompressed_data)

atc_results atc_compress_decompress_mfm_results_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int16_t *decompressed_data)

atc_results atc_compress_decompress_mfm_results_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int32_t *decompressed_data)

atc_results atc_compress_decompress_mfm_results_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int64_t *decompressed_data)

atc_results atc_compress_decompress_mfm_results_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, float *decompressed_data)

atc_results atc_compress_decompress_mfm_results_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, double *decompressed_data)

atc_results atc_compress_decompress_mfm_results_options_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint8_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mfm_results_options_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint16_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mfm_results_options_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint32_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mfm_results_options_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, uint64_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mfm_results_options_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int8_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mfm_results_options_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int16_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mfm_results_options_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int32_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mfm_results_options_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, int64_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mfm_results_options_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, float *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mfm_results_options_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *compressed_file, double *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mmf_results_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file)

atc_results atc_compress_decompress_mmf_results_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file)

atc_results atc_compress_decompress_mmf_results_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file)

atc_results atc_compress_decompress_mmf_results_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file)

atc_results atc_compress_decompress_mmf_results_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file)

atc_results atc_compress_decompress_mmf_results_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file)

atc_results atc_compress_decompress_mmf_results_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file)

atc_results atc_compress_decompress_mmf_results_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file)

atc_results atc_compress_decompress_mmf_results_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file)

atc_results atc_compress_decompress_mmf_results_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file)

atc_results atc_compress_decompress_mmf_results_options_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mmf_results_options_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mmf_results_options_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mmf_results_options_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mmf_results_options_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mmf_results_options_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mmf_results_options_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mmf_results_options_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mmf_results_options_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mmf_results_options_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, const char *decompressed_file, const atc_options *options)

atc_results atc_compress_decompress_mmm_results_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, uint8_t *decompressed_data)

atc_results atc_compress_decompress_mmm_results_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, uint16_t *decompressed_data)

atc_results atc_compress_decompress_mmm_results_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, uint32_t *decompressed_data)

atc_results atc_compress_decompress_mmm_results_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, uint64_t *decompressed_data)

atc_results atc_compress_decompress_mmm_results_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, int8_t *decompressed_data)

atc_results atc_compress_decompress_mmm_results_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, int16_t *decompressed_data)

atc_results atc_compress_decompress_mmm_results_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, int32_t *decompressed_data)

atc_results atc_compress_decompress_mmm_results_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, int64_t *decompressed_data)

atc_results atc_compress_decompress_mmm_results_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, float *decompressed_data)

atc_results atc_compress_decompress_mmm_results_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, double *decompressed_data)

atc_results atc_compress_decompress_mmm_results_options_uint8(const uint8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, uint8_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mmm_results_options_uint16(const uint16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, uint16_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mmm_results_options_uint32(const uint32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, uint32_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mmm_results_options_uint64(const uint64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, uint64_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mmm_results_options_int8(const int8_t *original_data, uint8_t modes, const size_t *sizes, double target_error, int8_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mmm_results_options_int16(const int16_t *original_data, uint8_t modes, const size_t *sizes, double target_error, int16_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mmm_results_options_int32(const int32_t *original_data, uint8_t modes, const size_t *sizes, double target_error, int32_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mmm_results_options_int64(const int64_t *original_data, uint8_t modes, const size_t *sizes, double target_error, int64_t *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mmm_results_options_float32(const float *original_data, uint8_t modes, const size_t *sizes, double target_error, float *decompressed_data, const atc_options *options)

atc_results atc_compress_decompress_mmm_results_options_float64(const double *original_data, uint8_t modes, const size_t *sizes, double target_error, double *decompressed_data, const atc_options *options)

## atc_read_data_type

C equivalent of atc::read_data_type.

atc_data_type atc_read_data_type_f(const char *compressed_file)

atc_data_type atc_read_data_type_m(size_t compressed_size, const char *compressed_data)

## atc_read_decompressed_size

C equivalent of atc::read_decompressed_size.

size_t atc_read_decompressed_size_f(const char *compressed_file)

size_t atc_read_decompressed_size_f_options(const char *compressed_file, const atc_options *options)

size_t atc_read_decompressed_size_m(size_t compressed_size, const char *compressed_data)

size_t atc_read_decompressed_size_m_options(size_t compressed_size, const char *compressed_data, const atc_options *options)

## atc_calculate_decompressed_size

C equivalent of atc::calculate_decompressed_size.

size_t atc_calculate_decompressed_size(uint8_t modes, const size_t *sizes)

size_t atc_calculate_decompressed_size_options(uint8_t modes, const size_t *sizes, const atc_options *options)

## atc_data_type

Note that there is no equivalents for `atc::get_data_type()` in this section, because anyone using a particular instantiation of such a function (with the type hardcoded into the function name) might as well just replace it by the corresponding `atc_data_type` enum value.

enum atc_data_type

  C equivalent of `DataType`.

  Values:

  enumerator ATC_DATA_TYPE_UINT8
  enumerator ATC_DATA_TYPE_UINT16
  enumerator ATC_DATA_TYPE_UINT32
  enumerator ATC_DATA_TYPE_UINT64
  enumerator ATC_DATA_TYPE_INT8
  enumerator ATC_DATA_TYPE_INT16
  enumerator ATC_DATA_TYPE_INT32
  enumerator ATC_DATA_TYPE_INT64
  enumerator ATC_DATA_TYPE_FLOAT32
  enumerator ATC_DATA_TYPE_FLOAT64
  enumerator ATC_DATA_TYPE_ERROR

    This value does not map to any C++ equivalent, but is instead returned to indicate errors (replaced in C++ by exceptions).

## ATC_VERSION

const char *ATC_VERSION

  C equivalent of `atc::version`.