Expand description
Support for compressing raw image data to basis-universal form
Structs§
- Compressor
- Used to encode raw image data to basis-universal form
- Compressor
Image Ref - A reference to an image being stored by CompressorParams. Generally used to insert the source data that is to be encoded by a Compressor.
- Compressor
Params - Parameters that are used to configure a Compressor
Enums§
- Color
Space - The color space the image to be compressed is encoded in. Using the correct color space will
- Compressor
Error Code - Error codes that can be returned when encoding basis-universal data with a Compressor
Functions§
- encoder_
init - The underlying C++ library requires that encoder_init() has been called before a .basis file can be encoded. This function allows a user to do this early in the application explicitly. It is protected by a lock and AtomicBool flag so it is safe and cheap to call multiple times, and correctly handles multiple threads trying to initialize at the same time.