Home
last modified time | relevance | path

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

/CTR-SDK-0.14.4/sources/libraries/gr/CTR/
Dgr_FrameBuffer.cpp168 … 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 …]
Dgr_ProcedureTexture.cpp217 *command++ |= ( FloatToUnsignedByte( lookUpTable[ index ] ) << colorShiftNum ); in SetColorLookUpTable_()
227 … *command++ |= ( FloatToUnsignedByte( lookUpTable[ index ] ) << colorShiftNum ); in SetColorLookUpTable_()
/CTR-SDK-0.14.4/include/nn/gr/CTR/
Dgr_Shadow.h92 FloatToUnsignedByte( zScale ) );
Dgr_Utility.h299 inline u8 FloatToUnsignedByte( in FloatToUnsignedByte() function