Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h45 #define EXP5TO8B(packedcol) \ macro
69 rgba[BCOMP] = UBYTE_TO_CHAN( EXP5TO8B(color0) ); in dxt135_decode_imageblock()
74 rgba[BCOMP] = UBYTE_TO_CHAN( EXP5TO8B(color1) ); in dxt135_decode_imageblock()
80 rgba[BCOMP] = UBYTE_TO_CHAN( ((EXP5TO8B(color0) * 2 + EXP5TO8B(color1)) / 3) ); in dxt135_decode_imageblock()
85 rgba[BCOMP] = UBYTE_TO_CHAN( ((EXP5TO8B(color0) + EXP5TO8B(color1)) / 2) ); in dxt135_decode_imageblock()
92 rgba[BCOMP] = UBYTE_TO_CHAN( ((EXP5TO8B(color0) + EXP5TO8B(color1) * 2) / 3) ); in dxt135_decode_imageblock()