Home
last modified time | relevance | path

Searched refs:blueShift (Results 1 – 1 of 1) sorted by relevance

/haiku/src/kits/interface/
H A DColorConversion.cpp590 int32 dstBitsLength, int32 redShift, int32 greenShift, int32 blueShift, in ConvertBits64To32() argument
656 blueShift -= 8; in ConvertBits64To32()
687 if (blueShift > 0) in ConvertBits64To32()
688 result |= ((source >> blueShift) & blueMask); in ConvertBits64To32()
689 else if (blueShift < 0) in ConvertBits64To32()
690 result |= ((source << -blueShift) & blueMask); in ConvertBits64To32()
729 int32 dstBitsLength, int32 redShift, int32 greenShift, int32 blueShift, in ConvertBits() argument
848 if (blueShift > 0) in ConvertBits()
849 result |= ((source >> blueShift) & blueMask); in ConvertBits()
850 else if (blueShift < 0) in ConvertBits()
[all …]