Lines Matching refs:LERP
1379 #define LERP(n, t, c0, c1) (((n) - (t)) * (c0) + (t) * (c1) + (n) / 2) / (n) macro
1405 b = LERP(6, t, UP5(CC_SEL(cc, 0)), UP5(CC_SEL(cc, 15))); in fxt1_decode_1HI()
1406 g = LERP(6, t, UP5(CC_SEL(cc, 5)), UP5(CC_SEL(cc, 20))); in fxt1_decode_1HI()
1407 r = LERP(6, t, UP5(CC_SEL(cc, 10)), UP5(CC_SEL(cc, 25))); in fxt1_decode_1HI()
1513 b = LERP(3, t, UP5(col[0][BCOMP]), UP5(col[1][BCOMP])); in fxt1_decode_1MIXED()
1514 g = LERP(3, t, UP6(col[0][GCOMP], glsb ^ selb), in fxt1_decode_1MIXED()
1516 r = LERP(3, t, UP5(col[0][RCOMP]), UP5(col[1][RCOMP])); in fxt1_decode_1MIXED()
1565 b = LERP(3, t, UP5(col0[BCOMP]), UP5(CC_SEL(cc, 79))); in fxt1_decode_1ALPHA()
1566 g = LERP(3, t, UP5(col0[GCOMP]), UP5(CC_SEL(cc, 84))); in fxt1_decode_1ALPHA()
1567 r = LERP(3, t, UP5(col0[RCOMP]), UP5(CC_SEL(cc, 89))); in fxt1_decode_1ALPHA()
1568 a = LERP(3, t, UP5(col0[ACOMP]), UP5(CC_SEL(cc, 114))); in fxt1_decode_1ALPHA()