Searched refs:brightness_for (Results 1 – 7 of 7) sorted by relevance
/haiku/src/servers/app/drawing/Painter/drawing_modes/ |
H A D | DrawingModeMaxSUBPIX.h | 21 if (brightness_for((r), (g), (b)) \ 22 > brightness_for(_p.data8[2], _p.data8[1], _p.data8[0])) { \
|
H A D | DrawingModeMinSUBPIX.h | 21 if (brightness_for((r), (g), (b)) \ 22 < brightness_for(_p.data8[2], _p.data8[1], _p.data8[0])) { \
|
H A D | DrawingModeMin.h | 14 if (brightness_for((r), (g), (b)) \ 15 < brightness_for(_p.data8[2], _p.data8[1], _p.data8[0])) { \ 25 if (brightness_for((r), (g), (b)) \ 26 < brightness_for(_p.data8[2], _p.data8[1], _p.data8[0])) { \
|
H A D | DrawingModeMax.h | 20 if (brightness_for((r), (g), (b)) \ 21 > brightness_for(_p.data8[2], _p.data8[1], _p.data8[0])) { \ 31 if (brightness_for((r), (g), (b)) \ 32 > brightness_for(_p.data8[2], _p.data8[1], _p.data8[0])) { \
|
H A D | DrawingMode.h | 190 brightness_for(uint8 red, uint8 green, uint8 blue) in brightness_for() function
|
/haiku/src/build/libbe/interface/ |
H A D | Bitmap.cpp | 261 brightness_for(uint8 red, uint8 green, uint8 blue) in brightness_for() function 694 return brightness_for(color.red, color.green, color.blue); in GrayColorForIndex() 759 gray = brightness_for(color.red, color.green, color.blue); in Read() 790 gray = brightness_for(color.red, color.green, color.blue); in Read() 821 gray = brightness_for(color.red, color.green, color.blue); in Read() 1077 *pixels = brightness_for(color.red, color.green, color.blue); in Write() 1109 Write(brightness_for(color.red, color.green, color.blue)); in Write()
|
/haiku/src/kits/interface/ |
H A D | ColorConversion.cpp | 41 brightness_for(uint8 red, uint8 green, uint8 blue) in brightness_for() function 454 return brightness_for(color.red, color.green, color.blue); in GrayColorForIndex()
|