Module basis_universal::encoding
source · Expand description
Support for compressing raw image data to basis-universal form
Structs
- Used to encode raw image data to basis-universal form
- A reference to an image being stored by CompressorParams. Generally used to insert the source data that is to be encoded by a Compressor.
- Parameters that are used to configure a Compressor
Enums
- The color space the image to be compressed is encoded in. Using the correct color space will
- Error codes that can be returned when encoding basis-universal data with a Compressor
Functions
- 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.
Unions
- A single uncompressed pixel value