Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h32 #define UBYTE_TO_CHAN(b) (b) macro
67 rgba[RCOMP] = UBYTE_TO_CHAN( EXP5TO8R(color0) ); in dxt135_decode_imageblock()
68 rgba[GCOMP] = UBYTE_TO_CHAN( EXP6TO8G(color0) ); in dxt135_decode_imageblock()
69 rgba[BCOMP] = UBYTE_TO_CHAN( EXP5TO8B(color0) ); in dxt135_decode_imageblock()
72 rgba[RCOMP] = UBYTE_TO_CHAN( EXP5TO8R(color1) ); in dxt135_decode_imageblock()
73 rgba[GCOMP] = UBYTE_TO_CHAN( EXP6TO8G(color1) ); in dxt135_decode_imageblock()
74 rgba[BCOMP] = UBYTE_TO_CHAN( EXP5TO8B(color1) ); in dxt135_decode_imageblock()
78 rgba[RCOMP] = UBYTE_TO_CHAN( ((EXP5TO8R(color0) * 2 + EXP5TO8R(color1)) / 3) ); in dxt135_decode_imageblock()
79 rgba[GCOMP] = UBYTE_TO_CHAN( ((EXP6TO8G(color0) * 2 + EXP6TO8G(color1)) / 3) ); in dxt135_decode_imageblock()
80 rgba[BCOMP] = UBYTE_TO_CHAN( ((EXP5TO8B(color0) * 2 + EXP5TO8B(color1)) / 3) ); in dxt135_decode_imageblock()
[all …]