APIs for Integration - 5.2 English - 57404

AOCL User Guide (57404)

Document ID
57404
Release Date
2025-12-29
Version
5.2 English

AOCL-Compression provides two sets of APIs for applications to integrate with it:

  1. Unified API set: A set of common APIs that can be used to compress and decompress input data using these widely used compression algorithms: lz4, zlib/deflate, lzma, zstd, bzip2, snappy, and lz4hc. It provides ease of integration as minimal code modifications are needed for addition of new compression methods using a unified interface.

  2. Native API set: Native API s of all the above-mentioned compression methods are supported. As full ABI compliance is ensured, applications that are already integrated with the standard compression libraries can link to AOCL-Compression library with no code change or re-compilation.

If any fine tuning is needed at runtime, appropriate environment variables need to be set before running the application. Refer to Performance Tuning for details.

For any issues or queries on integrating AOCL with your application, send an email to toolchainsupport@amd.com.