Lines Matching refs:nVal

785 	const sal_uInt32 nVal = *pPixel;  in GetColorFor8Bit()  local
786 MASK_TO_COLOR( nVal, mnRMask, mnGMask, mnBMask, mnRShift, mnGShift, mnBShift, rColor ); in GetColorFor8Bit()
801 const sal_uInt32 nVal = *(sal_uInt16*) pPixel; in GetColorFor16BitMSB() local
803 const sal_uInt32 nVal = pPixel[ 1 ] | ( (sal_uInt32) pPixel[ 0 ] << 8UL ); in GetColorFor16BitMSB()
806 MASK_TO_COLOR( nVal, mnRMask, mnGMask, mnBMask, mnRShift, mnGShift, mnBShift, rColor ); in GetColorFor16BitMSB()
813 …const sal_uInt16 nVal = (sal_uInt16)COLOR_TO_MASK( rColor, mnRMask, mnGMask, mnBMask, mnRShift, mn… in SetColorFor16BitMSB() local
816 *(sal_uInt16*) pPixel = nVal; in SetColorFor16BitMSB()
818 pPixel[ 0 ] = (sal_uInt8)(nVal >> 8U); in SetColorFor16BitMSB()
819 pPixel[ 1 ] = (sal_uInt8) nVal; in SetColorFor16BitMSB()
828 const sal_uInt32 nVal = pPixel[ 0 ] | ( (sal_uInt32) pPixel[ 1 ] << 8UL ); in GetColorFor16BitLSB() local
830 const sal_uInt32 nVal = *(sal_uInt16*) pPixel; in GetColorFor16BitLSB()
833 MASK_TO_COLOR( nVal, mnRMask, mnGMask, mnBMask, mnRShift, mnGShift, mnBShift, rColor ); in GetColorFor16BitLSB()
840 …const sal_uInt16 nVal = (sal_uInt16)COLOR_TO_MASK( rColor, mnRMask, mnGMask, mnBMask, mnRShift, mn… in SetColorFor16BitLSB() local
843 pPixel[ 0 ] = (sal_uInt8) nVal; in SetColorFor16BitLSB()
844 pPixel[ 1 ] = (sal_uInt8)(nVal >> 8U); in SetColorFor16BitLSB()
846 *(sal_uInt16*) pPixel = nVal; in SetColorFor16BitLSB()
855 …const sal_uInt32 nVal = pPixel[ 0 ] | ( (sal_uInt32) pPixel[ 1 ] << 8UL ) | ( (sal_uInt32) pPixel[… in GetColorFor24Bit() local
856 MASK_TO_COLOR( nVal, mnRMask, mnGMask, mnBMask, mnRShift, mnGShift, mnBShift, rColor ); in GetColorFor24Bit()
863 …const sal_uInt32 nVal = COLOR_TO_MASK( rColor, mnRMask, mnGMask, mnBMask, mnRShift, mnGShift, mnBS… in SetColorFor24Bit() local
864 …pPixel[ 0 ] = (sal_uInt8) nVal; pPixel[ 1 ] = (sal_uInt8) ( nVal >> 8UL ); pPixel[ 2 ] = (sal_uInt… in SetColorFor24Bit()
872 const sal_uInt32 nVal = (sal_uInt32) pPixel[ 0 ] | ( (sal_uInt32) pPixel[ 1 ] << 8UL ) | in GetColorFor32Bit() local
875 const sal_uInt32 nVal = *(sal_uInt32*) pPixel; in GetColorFor32Bit()
878 MASK_TO_COLOR( nVal, mnRMask, mnGMask, mnBMask, mnRShift, mnGShift, mnBShift, rColor ); in GetColorFor32Bit()
886 const sal_uInt32 nVal = (sal_uInt32) pPixel[ 0 ] | ( (sal_uInt32) pPixel[ 1 ] << 8UL ) | in GetColorAndAlphaFor32Bit() local
889 const sal_uInt32 nVal = *(sal_uInt32*) pPixel; in GetColorAndAlphaFor32Bit()
891 rAlpha = (sal_uInt8)(nVal >> 24); in GetColorAndAlphaFor32Bit()
893 MASK_TO_COLOR( nVal, mnRMask, mnGMask, mnBMask, mnRShift, mnGShift, mnBShift, rColor ); in GetColorAndAlphaFor32Bit()
901 …const sal_uInt32 nVal = COLOR_TO_MASK( rColor, mnRMask, mnGMask, mnBMask, mnRShift, mnGShift, mnBS… in SetColorFor32Bit() local
902 pPixel[ 0 ] = (sal_uInt8) nVal; pPixel[ 1 ] = (sal_uInt8) ( nVal >> 8UL ); in SetColorFor32Bit()
903 pPixel[ 2 ] = (sal_uInt8) ( nVal >> 16UL ); pPixel[ 3 ] = (sal_uInt8) ( nVal >> 24UL ); in SetColorFor32Bit()