Searched defs:LERP (Results 1 - 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/swrast/
H A Ds_blit.c356 #define LERP(T, A, B) ( (A) + (T) * ((B) - (A)) ) macro
362 const GLfloat temp0 = LERP(a, v00, v10);
363 const GLfloat temp1 = LERP(a, v01, v11);
364 return LERP(b, temp0, temp1);
H A Ds_texfilter.c51 #define LERP(T, A, B) ( (A) + (T) * ((B) - (A)) ) macro
66 const GLfloat temp0 = LERP(a, v00, v10);
67 const GLfloat temp1 = LERP(a, v01, v11);
68 return LERP(b, temp0, temp1);
81 const GLfloat temp00 = LERP(a, v000, v100);
82 const GLfloat temp10 = LERP(a, v010, v110);
83 const GLfloat temp01 = LERP(a, v001, v101);
84 const GLfloat temp11 = LERP(a, v011, v111);
85 const GLfloat temp0 = LERP(b, temp00, temp10);
86 const GLfloat temp1 = LERP(
[all...]
/external/mesa3d/src/mesa/main/
H A Dtexcompress_fxt1.c1404 #define LERP(n, t, c0, c1) (((n) - (t)) * (c0) + (t) * (c1) + (n) / 2) / (n) macro
1430 b = LERP(6, t, UP5(CC_SEL(cc, 0)), UP5(CC_SEL(cc, 15)));
1431 g = LERP(6, t, UP5(CC_SEL(cc, 5)), UP5(CC_SEL(cc, 20)));
1432 r = LERP(6, t, UP5(CC_SEL(cc, 10)), UP5(CC_SEL(cc, 25)));
1538 b = LERP(3, t, UP5(col[0][BCOMP]), UP5(col[1][BCOMP]));
1539 g = LERP(3, t, UP6(col[0][GCOMP], glsb ^ selb),
1541 r = LERP(3, t, UP5(col[0][RCOMP]), UP5(col[1][RCOMP]));
1590 b = LERP(3, t, UP5(col0[BCOMP]), UP5(CC_SEL(cc, 79)));
1591 g = LERP(3, t, UP5(col0[GCOMP]), UP5(CC_SEL(cc, 84)));
1592 r = LERP(
[all...]
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
H A Dcmsintrp.c334 # define LERP(a,l,h) (cmsFloat32Number) ((l)+(((h)-(l))*(a))) macro
367 dx0 = LERP(fx, d00, d10);
368 dx1 = LERP(fx, d01, d11);
370 dxy = LERP(fy, dx0, dx1);
376 # undef LERP macro
388 #define LERP(a,l,h) (cmsUInt16Number) (l + ROUND_FIXED_TO_INT(((h-l)*a))) macro
425 dx0 = LERP(rx, d00, d10);
426 dx1 = LERP(rx, d01, d11);
428 dxy = LERP(ry, dx0, dx1);
434 # undef LERP macro
446 # define LERP macro
507 # undef LERP macro
519 #define LERP macro
584 # undef LERP macro
[all...]

Completed in 163 milliseconds