Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/main/
Dimage.c495 dst2[i][RCOMP] = UBYTE_TO_USHORT(src1[i][RCOMP]); in _mesa_convert_colors()
496 dst2[i][GCOMP] = UBYTE_TO_USHORT(src1[i][GCOMP]); in _mesa_convert_colors()
497 dst2[i][BCOMP] = UBYTE_TO_USHORT(src1[i][BCOMP]); in _mesa_convert_colors()
498 dst2[i][ACOMP] = UBYTE_TO_USHORT(src1[i][ACOMP]); in _mesa_convert_colors()
Dmacros.h132 #define UBYTE_TO_USHORT(b) (((GLushort) (b) << 8) | (GLushort) (b)) macro
/third_party/mesa3d/src/mesa/math/
Dm_translate.c178 #define TRX_US(us, f,n) us = UBYTE_TO_USHORT(PTR_ELT(f,n))
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_surface.c409 #define UBYTE_TO_USHORT(B) ((B) | ((B) << 8)) macro