Basic utility functions for output drivers. More...
Go to the source code of this file.
Functions | |
Quantization and Dithering | |
| AI_API AI_CONST uint8_t | AiQuantize8bit (int x, int y, int i, float value, bool dither) |
| Quantize a floating point number down to an 8-bit integer. More... | |
| AI_API AI_CONST uint16_t | AiQuantize16bit (int x, int y, int i, float value, bool dither) |
| Quantize a floating point number down to a 16-bit integer. More... | |
Basic utility functions for output drivers.