Skip to content

API reference

Each page lists the API of one public header.

Configuration and version

Header Description
acl/version.h The version of ACL, and the versioned namespace.

Core

Header Description
acl/core/additive_utils.h The additive clip formats, and the functions that combine a transform with its base.
acl/core/algorithm_types.h The compression algorithm types.
acl/core/ansi_allocator.h An allocator that uses the system malloc and free.
acl/core/buffer_tag.h The tags that identify a compressed tracks buffer or a compressed database buffer.
acl/core/compressed_database.h The compressed database type.
acl/core/compressed_tracks.h The compressed tracks type.
acl/core/compressed_tracks_version.h The versions of the compressed data format.
acl/core/error_result.h The result of a function that can fail.
acl/core/floating_point_control.h The functions that change and restore the floating point exceptions and the flush to zero mode.
acl/core/fwd.h The forward declarations of the core types, and the iterator aliases.
acl/core/iallocator.h The allocator interface, and the functions that allocate and free typed memory with it.
acl/core/interpolation_utils.h The functions that find the samples and the interpolation alpha at a sample time.
acl/core/quality_tiers.h The quality tiers of a compressed database.
acl/core/range_reduction_types.h The range reduction types and constants.
acl/core/sample_interpolator.h The sample interpolators of the extended samples.
acl/core/sample_looping_policy.h The looping policies of a track list.
acl/core/sample_rounding_policy.h The rounding policies that select a sample at a sample time.
acl/core/time_utils.h The functions that calculate the number of samples and the duration of a track.
acl/core/track_desc.h The descriptions of scalar tracks and transform tracks.
acl/core/track_extended_sample.h The extended sample type: a sample value and its interpolator.
acl/core/track_formats.h The formats of the rotation, translation, scale, and scalar samples.
acl/core/track_traits.h The traits of each track type.
acl/core/track_types.h The track types, the track categories, and the track interpolators.
acl/core/track_writer.h The interface that decompression uses to write the sample values.
acl/core/variable_bit_rates.h The variable bit rate types, which are deprecated.

Compression

Header Description
acl/compression/compress.h The functions that compress a track list, estimate the memory that compression needs, and build a compressed database.
acl/compression/compression_level.h The compression levels: a higher level tries more bit rates, it is slower and gives smaller data.
acl/compression/compression_memory_desc.h The description of a track list that lets ACL estimate the peak memory of compression before you load the tracks.
acl/compression/compression_settings.h The compression settings and the functions that return the default settings.
acl/compression/convert.h The functions that convert a raw track list to raw compressed tracks and back, without data loss.
acl/compression/fwd.h The forward declarations of the compression types, and the aliases of the typed tracks and track arrays.
acl/compression/output_stats.h The settings of the statistics that compression writes.
acl/compression/pre_process.h The actions and the settings that pre-process a raw track list before compression.
acl/compression/track.h The raw track types: a list of samples with one type and one sample rate.
acl/compression/track_array.h The raw track list types: an array of tracks with the same type.
acl/compression/track_error.h The functions that measure the error between raw tracks and compressed tracks.
acl/compression/transform_adapters.h The interface of a transform adapter, and the built-in adapters of the runtime transform types.
acl/compression/transform_base.h The description of the base of a transform track list.
acl/compression/transform_base_adapter.h The interface that combines a transform with its base when the base format is custom.
acl/compression/transform_error_metrics.h The legacy transform error metrics, which are deprecated.
acl/compression/transform_metrics.h The interface of a transform metric, and the built-in metrics that measure the error between a raw and a lossy transform.
acl/compression/transform_pose_utils.h The functions that convert a pose between local space and object space.
acl/compression/transform_space.h The transform space of transform tracks.

Decompression

Header Description
acl/decompression/decompress.h The decompression context that seeks in compressed tracks and decompresses them.
acl/decompression/decompression_settings.h The settings that control which code decompression keeps.

Database

Header Description
acl/decompression/database/database.h The database context that decompression uses with a compressed database.
acl/decompression/database/database_settings.h The settings that control which database code decompression keeps.
acl/decompression/database/database_streamer.h The interface that streams the bulk data of a compressed database in and out.
acl/decompression/database/null_database_streamer.h A database streamer for bulk data that is already in memory.

Clip files

Header Description
acl/io/clip_reader.h The reader of the ACL clip file format (SJSON).
acl/io/clip_reader_error.h The errors of the clip reader.
acl/io/clip_writer.h The functions that write tracks to the ACL clip file format (SJSON).

Math

Header Description
acl/math/quat_packing.h The functions that pack and unpack quaternions.
acl/math/quatf.h The quaternion functions that RTM does not have.
acl/math/scalar_packing.h The functions that quantize and pack scalar values.
acl/math/vector4_packing.h The functions that pack and unpack vectors.

Utilities

Header Description
acl/core/bit_manip_utils.h The functions that count, find, and rotate bits.
acl/core/bitset.h The functions that read and write bit sets.
acl/core/enum_utils.h The functions that test the flags of an enum.
acl/core/hash.h The FNV-1a hash functions.
acl/core/iterator.h The iterators over the items of an array.
acl/core/memory_utils.h The functions for alignment, safe casts, byte order, unaligned memory access, and memory prefetch.
acl/core/ptr_offset.h An offset from a base pointer to a value of a given type.
acl/core/scope_profiler.h A timer that measures the time of a scope.
acl/core/string.h An immutable string that uses an ACL allocator.
acl/core/unique_ptr.h The std::unique_ptr helpers for memory that an iallocator allocates.

Deprecated headers

Header Description
acl/core/floating_point_exceptions.h This header is deprecated: include floating_point_control.h instead.
acl/core/utils.h This header is deprecated: include time_utils.h instead.
acl/math/qvvf.h This header is deprecated: include vqvf.h instead.