Home
last modified time | relevance | path

Searched refs:UBYTE_TO_USHORT (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/main/
Dformat_pack.c705 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 …]
Dimage.c481 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()
Dmacros.h127 #define UBYTE_TO_USHORT(b) (((GLushort) (b) << 8) | (GLushort) (b)) macro
/external/mesa3d/src/gallium/auxiliary/util/
Du_surface.c221 #define UBYTE_TO_USHORT(B) ((B) | ((B) << 8)) macro
/external/mesa3d/src/mesa/math/
Dm_translate.c184 #define TRX_US(us, f,n) us = UBYTE_TO_USHORT(PTR_ELT(f,n))