Searched refs:CC_SEL (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | texcompress_fxt1.c | 1401 #define CC_SEL(cc, which) (((GLuint *)(cc))[(which) / 32] >> ((which) & 31)) macro 1422 b = UP5(CC_SEL(cc, 0)); in fxt1_decode_1HI() 1423 g = UP5(CC_SEL(cc, 5)); in fxt1_decode_1HI() 1424 r = UP5(CC_SEL(cc, 10)); in fxt1_decode_1HI() 1426 b = UP5(CC_SEL(cc, 15)); in fxt1_decode_1HI() 1427 g = UP5(CC_SEL(cc, 20)); in fxt1_decode_1HI() 1428 r = UP5(CC_SEL(cc, 25)); in fxt1_decode_1HI() 1430 b = LERP(6, t, UP5(CC_SEL(cc, 0)), UP5(CC_SEL(cc, 15))); in fxt1_decode_1HI() 1431 g = LERP(6, t, UP5(CC_SEL(cc, 5)), UP5(CC_SEL(cc, 20))); in fxt1_decode_1HI() 1432 r = LERP(6, t, UP5(CC_SEL(cc, 10)), UP5(CC_SEL(cc, 25))); in fxt1_decode_1HI() [all …]
|