Home
last modified time | relevance | path

Searched refs:LERP (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/third_party/lcms2-2.6/src/
Dcmsintrp.c334 # define LERP(a,l,h) (cmsFloat32Number) ((l)+(((h)-(l))*(a))) in BilinearInterpFloat() macro
367 dx0 = LERP(fx, d00, d10); in BilinearInterpFloat()
368 dx1 = LERP(fx, d01, d11); in BilinearInterpFloat()
370 dxy = LERP(fy, dx0, dx1); in BilinearInterpFloat()
376 # undef LERP in BilinearInterpFloat()
388 #define LERP(a,l,h) (cmsUInt16Number) (l + ROUND_FIXED_TO_INT(((h-l)*a))) in BilinearInterp16() macro
425 dx0 = LERP(rx, d00, d10); in BilinearInterp16()
426 dx1 = LERP(rx, d01, d11); in BilinearInterp16()
428 dxy = LERP(ry, dx0, dx1); in BilinearInterp16()
434 # undef LERP in BilinearInterp16()
[all …]
/external/mesa3d/src/mesa/main/
Dtexcompress_fxt1.c1374 #define LERP(n, t, c0, c1) (((n) - (t)) * (c0) + (t) * (c1) + (n) / 2) / (n) macro
1400 b = LERP(6, t, UP5(CC_SEL(cc, 0)), UP5(CC_SEL(cc, 15))); in fxt1_decode_1HI()
1401 g = LERP(6, t, UP5(CC_SEL(cc, 5)), UP5(CC_SEL(cc, 20))); in fxt1_decode_1HI()
1402 r = LERP(6, t, UP5(CC_SEL(cc, 10)), UP5(CC_SEL(cc, 25))); in fxt1_decode_1HI()
1508 b = LERP(3, t, UP5(col[0][BCOMP]), UP5(col[1][BCOMP])); in fxt1_decode_1MIXED()
1509 g = LERP(3, t, UP6(col[0][GCOMP], glsb ^ selb), in fxt1_decode_1MIXED()
1511 r = LERP(3, t, UP5(col[0][RCOMP]), UP5(col[1][RCOMP])); in fxt1_decode_1MIXED()
1560 b = LERP(3, t, UP5(col0[BCOMP]), UP5(CC_SEL(cc, 79))); in fxt1_decode_1ALPHA()
1561 g = LERP(3, t, UP5(col0[GCOMP]), UP5(CC_SEL(cc, 84))); in fxt1_decode_1ALPHA()
1562 r = LERP(3, t, UP5(col0[RCOMP]), UP5(CC_SEL(cc, 89))); in fxt1_decode_1ALPHA()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_blit.c382 #define LERP(T, A, B) ( (A) + (T) * ((B) - (A)) ) macro
388 const GLfloat temp0 = LERP(a, v00, v10); in lerp_2d()
389 const GLfloat temp1 = LERP(a, v01, v11); in lerp_2d()
390 return LERP(b, temp0, temp1); in lerp_2d()
Ds_texfilter.c53 #define LERP(T, A, B) ( (A) + (T) * ((B) - (A)) ) macro
68 const GLfloat temp0 = LERP(a, v00, v10); in lerp_2d()
69 const GLfloat temp1 = LERP(a, v01, v11); in lerp_2d()
70 return LERP(b, temp0, temp1); in lerp_2d()
83 const GLfloat temp00 = LERP(a, v000, v100); in lerp_3d()
84 const GLfloat temp10 = LERP(a, v010, v110); in lerp_3d()
85 const GLfloat temp01 = LERP(a, v001, v101); in lerp_3d()
86 const GLfloat temp11 = LERP(a, v011, v111); in lerp_3d()
87 const GLfloat temp0 = LERP(b, temp00, temp10); in lerp_3d()
88 const GLfloat temp1 = LERP(b, temp01, temp11); in lerp_3d()
[all …]
/external/mesa3d/src/gallium/state_trackers/nine/
Dnine_dump.c222 D3DTOP_TO_STR_CASE(LERP); in nine_D3DTOP_to_str()