If your application is already integrated with standard compression libraries supported by AOCL-Compression, AOCL-Compression library can be loaded directly at runtime. Native API set will be called in this scenario.
Follow these steps to integrate AOCL-Compression into your application at Runtime:
On Linux: LD_PRELOAD is an environment variable in Unix-based operating systems,
that allows the user to specify one or more shared libraries to be loaded before
any other library. This can be used to load AOCL-Compression library before standard
compression libraries that the application would load otherwise at runtime. Use
LD_PRELOAD as follows when launching the application:
LD_PRELOAD="path/to/aocl_compression.so" your_application_executable