Searched refs:FloatToUnsignedByte (Results 1 – 4 of 4) sorted by relevance
168 … clearColor = ( FloatToUnsignedByte( colorBuffer.clearColor[ 0 ] ) << 24 ) | in MakeClearRequest()169 … ( FloatToUnsignedByte( colorBuffer.clearColor[ 1 ] ) << 16 ) | in MakeClearRequest()170 … ( FloatToUnsignedByte( colorBuffer.clearColor[ 2 ] ) << 8 ) | in MakeClearRequest()171 … ( FloatToUnsignedByte( colorBuffer.clearColor[ 3 ] ) << 0 ) ; in MakeClearRequest()177 … clearColor = ( ( ( FloatToUnsignedByte( colorBuffer.clearColor[ 0 ] ) >> 3 ) & 0x1f ) << 11 ) | in MakeClearRequest()178 … ( ( ( FloatToUnsignedByte( colorBuffer.clearColor[ 1 ] ) >> 3 ) & 0x1f ) << 6 ) | in MakeClearRequest()179 … ( ( ( FloatToUnsignedByte( colorBuffer.clearColor[ 2 ] ) >> 3 ) & 0x1f ) << 1 ) | in MakeClearRequest()180 … ( ( FloatToUnsignedByte( colorBuffer.clearColor[ 3 ] ) > 0x7f ) ? 0x1 : 0 ); in MakeClearRequest()186 … clearColor = ( ( ( FloatToUnsignedByte( colorBuffer.clearColor[ 0 ] ) >> 3 ) & 0x1f ) << 11 ) | in MakeClearRequest()187 … ( ( ( FloatToUnsignedByte( colorBuffer.clearColor[ 1 ] ) >> 2 ) & 0x3f ) << 6 ) | in MakeClearRequest()[all …]
217 *command++ |= ( FloatToUnsignedByte( lookUpTable[ index ] ) << colorShiftNum ); in SetColorLookUpTable_()227 … *command++ |= ( FloatToUnsignedByte( lookUpTable[ index ] ) << colorShiftNum ); in SetColorLookUpTable_()
92 FloatToUnsignedByte( zScale ) );
299 inline u8 FloatToUnsignedByte( in FloatToUnsignedByte() function