Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/format/
Du_format_fxt1.c33 #define RCOMP 0 macro
1267 rgba[RCOMP] = rgba[GCOMP] = rgba[BCOMP] = rgba[ACOMP] = 0; in fxt1_decode_1HI()
1284 rgba[RCOMP] = r; in fxt1_decode_1HI()
1310 rgba[RCOMP] = UP5(kk >> 10); in fxt1_decode_1CHROMA()
1329 col[0][RCOMP] = CC_SEL(cc, 104); in fxt1_decode_1MIXED()
1333 col[1][RCOMP] = CC_SEL(cc, 119); in fxt1_decode_1MIXED()
1341 col[0][RCOMP] = CC_SEL(cc, 74); in fxt1_decode_1MIXED()
1345 col[1][RCOMP] = CC_SEL(cc, 89); in fxt1_decode_1MIXED()
1355 rgba[RCOMP] = rgba[BCOMP] = rgba[GCOMP] = rgba[ACOMP] = 0; in fxt1_decode_1MIXED()
1361 r = UP5(col[0][RCOMP]); in fxt1_decode_1MIXED()
[all …]
Dtexcompress_s3tc_tmp.h33 #define RCOMP 0 macro
66 rgba[RCOMP] = UBYTE_TO_CHAN( EXP5TO8R(color0) ); in dxt135_decode_imageblock()
71 rgba[RCOMP] = UBYTE_TO_CHAN( EXP5TO8R(color1) ); in dxt135_decode_imageblock()
77 rgba[RCOMP] = UBYTE_TO_CHAN( ((EXP5TO8R(color0) * 2 + EXP5TO8R(color1)) / 3) ); in dxt135_decode_imageblock()
82 rgba[RCOMP] = UBYTE_TO_CHAN( ((EXP5TO8R(color0) + EXP5TO8R(color1)) / 2) ); in dxt135_decode_imageblock()
89 rgba[RCOMP] = UBYTE_TO_CHAN( ((EXP5TO8R(color0) + EXP5TO8R(color1) * 2) / 3) ); in dxt135_decode_imageblock()
94 rgba[RCOMP] = 0; in dxt135_decode_imageblock()