Searched refs:BYTE_TO_USHORT (Results 1 – 2 of 2) sorted by relevance
126 #define BYTE_TO_USHORT(b) ((b) < 0 ? 0 : ((GLushort) (((b) * 65535) / 255))) macro
130 #define TRX_US(ch, f,n) ch = BYTE_TO_USHORT( PTR_ELT(f,n) )