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

/haiku/headers/private/interface/
H A DColorConversion.h42 inline uint8 IndexForRGB24(uint32 rgb) const;
43 inline uint8 IndexForRGB24(uint8 red, uint8 green, uint8 blue) const;
/haiku/src/kits/interface/
H A DColorConversion.cpp285 PaletteConverter::IndexForRGB24(uint32 rgb) const function in class:BPrivate::PaletteConverter
304 PaletteConverter::IndexForRGB24(uint8 red, uint8 green, uint8 blue) const function in class:BPrivate::PaletteConverter
325 return IndexForRGB24(rgba);
340 return IndexForRGB24(gray, gray, gray);
/haiku/src/build/libbe/interface/
H A DBitmap.cpp336 inline uint8 IndexForRGB24(uint32 rgb) const;
337 inline uint8 IndexForRGB24(uint8 red, uint8 green, uint8 blue) const;
556 PaletteConverter::IndexForRGB24(uint32 rgb) const function in class:PaletteConverter
573 PaletteConverter::IndexForRGB24(uint8 red, uint8 green, uint8 blue) const function in class:PaletteConverter
590 return IndexForRGB24(gray, gray, gray);
1056 *pixels = converter.IndexForRGB24(color.red, color.green, color.blue);

Completed in 156 milliseconds