ai_driver_utils.h File Reference

Basic utility functions for output drivers. More...

#include "ai_api.h"
#include <stdint.h>

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...
 

Detailed Description

Basic utility functions for output drivers.


© 2020 Autodesk, Inc. · All rights reserved · www.arnoldrenderer.com