Home
last modified time | relevance | path

Searched refs:BYTE_TO_USHORT (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/main/
Dmacros.h131 #define BYTE_TO_USHORT(b) ((b) < 0 ? 0 : ((GLushort) (((b) * 65535) / 255))) macro
/external/mesa3d/src/mesa/math/
Dm_translate.c124 #define TRX_US(ch, f,n) ch = BYTE_TO_USHORT( PTR_ELT(f,n) )