Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/format/
Du_format_fxt1.c35 #define BCOMP 2 macro
1267 rgba[RCOMP] = rgba[GCOMP] = rgba[BCOMP] = rgba[ACOMP] = 0; in fxt1_decode_1HI()
1286 rgba[BCOMP] = b; in fxt1_decode_1HI()
1308 rgba[BCOMP] = UP5(kk); in fxt1_decode_1CHROMA()
1327 col[0][BCOMP] = (*(const uint32_t *)(code + 11)) >> 6; in fxt1_decode_1MIXED()
1331 col[1][BCOMP] = CC_SEL(cc, 109); in fxt1_decode_1MIXED()
1339 col[0][BCOMP] = CC_SEL(cc, 64); in fxt1_decode_1MIXED()
1343 col[1][BCOMP] = CC_SEL(cc, 79); in fxt1_decode_1MIXED()
1355 rgba[RCOMP] = rgba[BCOMP] = rgba[GCOMP] = rgba[ACOMP] = 0; in fxt1_decode_1MIXED()
1359 b = UP5(col[0][BCOMP]); in fxt1_decode_1MIXED()
[all …]
Dtexcompress_s3tc_tmp.h35 #define BCOMP 2 macro
68 rgba[BCOMP] = UBYTE_TO_CHAN( EXP5TO8B(color0) ); in dxt135_decode_imageblock()
73 rgba[BCOMP] = UBYTE_TO_CHAN( EXP5TO8B(color1) ); in dxt135_decode_imageblock()
79 rgba[BCOMP] = UBYTE_TO_CHAN( ((EXP5TO8B(color0) * 2 + EXP5TO8B(color1)) / 3) ); in dxt135_decode_imageblock()
84 rgba[BCOMP] = UBYTE_TO_CHAN( ((EXP5TO8B(color0) + EXP5TO8B(color1)) / 2) ); in dxt135_decode_imageblock()
91 rgba[BCOMP] = UBYTE_TO_CHAN( ((EXP5TO8B(color0) + EXP5TO8B(color1) * 2) / 3) ); in dxt135_decode_imageblock()
96 rgba[BCOMP] = 0; in dxt135_decode_imageblock()