Searched refs:UBYTE_TO_USHORT (Results 1 – 5 of 5) sorted by relevance
705 GLushort l = UBYTE_TO_USHORT(src[RCOMP]); in pack_ubyte_AL1616()706 GLushort a = UBYTE_TO_USHORT(src[ACOMP]); in pack_ubyte_AL1616()727 GLushort l = UBYTE_TO_USHORT(src[RCOMP]); in pack_ubyte_AL1616_REV()728 GLushort a = UBYTE_TO_USHORT(src[ACOMP]); in pack_ubyte_AL1616_REV()786 *d = UBYTE_TO_USHORT(src[ACOMP]); in pack_ubyte_A16()820 *d = UBYTE_TO_USHORT(src[RCOMP]); in pack_ubyte_L16()926 *d = UBYTE_TO_USHORT(src[RCOMP]); in pack_ubyte_R16()943 GLushort r = UBYTE_TO_USHORT(src[RCOMP]); in pack_ubyte_RG1616()944 GLushort g = UBYTE_TO_USHORT(src[GCOMP]); in pack_ubyte_RG1616()965 GLushort r = UBYTE_TO_USHORT(src[RCOMP]); in pack_ubyte_RG1616_REV()[all …]
481 dst2[i][RCOMP] = UBYTE_TO_USHORT(src1[i][RCOMP]); in _mesa_convert_colors()482 dst2[i][GCOMP] = UBYTE_TO_USHORT(src1[i][GCOMP]); in _mesa_convert_colors()483 dst2[i][BCOMP] = UBYTE_TO_USHORT(src1[i][BCOMP]); in _mesa_convert_colors()484 dst2[i][ACOMP] = UBYTE_TO_USHORT(src1[i][ACOMP]); in _mesa_convert_colors()
127 #define UBYTE_TO_USHORT(b) (((GLushort) (b) << 8) | (GLushort) (b)) macro
221 #define UBYTE_TO_USHORT(B) ((B) | ((B) << 8)) macro
184 #define TRX_US(us, f,n) us = UBYTE_TO_USHORT(PTR_ELT(f,n))