Searched refs:constrain_int32_0_255 (Results 1 - 3 of 3) sorted by relevance

/haiku/src/add-ons/translators/wonderbrush/support/
H A Dsupport.h41 #define constrain_int32_0_255 constrain_int32_0_255_asm macro
51 #define constrain_int32_0_255 constrain_int32_0_255_c macro
H A Dlab_convert.cpp151 R = (uint8)constrain_int32_0_255((int32)(pow(linearR, 0.4) * 255.0 + 0.5));
152 G = (uint8)constrain_int32_0_255((int32)(pow(linearG, 0.4) * 255.0 + 0.5));
153 B = (uint8)constrain_int32_0_255((int32)(pow(linearB, 0.4) * 255.0 + 0.5));
/haiku/src/apps/icon-o-matic/generic/support/
H A Dsupport.h47 #define constrain_int32_0_255 constrain_int32_0_255_asm macro

Completed in 136 milliseconds