Searched refs:UBYTE_TO_CHAN (Results 1 – 1 of 1) sorted by relevance
35 #define UBYTE_TO_CHAN(b) (b) macro70 rgba[RCOMP] = UBYTE_TO_CHAN( EXP5TO8R(color0) ); in dxt135_decode_imageblock()71 rgba[GCOMP] = UBYTE_TO_CHAN( EXP6TO8G(color0) ); in dxt135_decode_imageblock()72 rgba[BCOMP] = UBYTE_TO_CHAN( EXP5TO8B(color0) ); in dxt135_decode_imageblock()75 rgba[RCOMP] = UBYTE_TO_CHAN( EXP5TO8R(color1) ); in dxt135_decode_imageblock()76 rgba[GCOMP] = UBYTE_TO_CHAN( EXP6TO8G(color1) ); in dxt135_decode_imageblock()77 rgba[BCOMP] = UBYTE_TO_CHAN( EXP5TO8B(color1) ); in dxt135_decode_imageblock()81 rgba[RCOMP] = UBYTE_TO_CHAN( ((EXP5TO8R(color0) * 2 + EXP5TO8R(color1)) / 3) ); in dxt135_decode_imageblock()82 rgba[GCOMP] = UBYTE_TO_CHAN( ((EXP6TO8G(color0) * 2 + EXP6TO8G(color1)) / 3) ); in dxt135_decode_imageblock()83 rgba[BCOMP] = UBYTE_TO_CHAN( ((EXP5TO8B(color0) * 2 + EXP5TO8B(color1)) / 3) ); in dxt135_decode_imageblock()[all …]