Home
last modified time | relevance | path

Searched refs:redShift (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
654 redShift -= 8; in ConvertBits64To32()
673 if (redShift > 0) in ConvertBits64To32()
674 result = ((source >> redShift) & redMask); in ConvertBits64To32()
675 else if (redShift < 0) in ConvertBits64To32()
676 result = ((source << -redShift) & redMask); in ConvertBits64To32()
729 int32 dstBitsLength, int32 redShift, int32 greenShift, int32 blueShift, in ConvertBits() argument
834 if (redShift > 0) in ConvertBits()
835 result = ((source >> redShift) & redMask); in ConvertBits()
836 else if (redShift < 0) in ConvertBits()
[all …]