Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms/src/
Dcmsintrp.c342 # define LERP(a,l,h) (cmsFloat32Number) ((l)+(((h)-(l))*(a))) in BilinearInterpFloat() macro
375 dx0 = LERP(fx, d00, d10); in BilinearInterpFloat()
376 dx1 = LERP(fx, d01, d11); in BilinearInterpFloat()
378 dxy = LERP(fy, dx0, dx1); in BilinearInterpFloat()
384 # undef LERP in BilinearInterpFloat()
396 #define LERP(a,l,h) (cmsUInt16Number) (l + ROUND_FIXED_TO_INT(((h-l)*a))) in BilinearInterp16() macro
433 dx0 = LERP(rx, d00, d10); in BilinearInterp16()
434 dx1 = LERP(rx, d01, d11); in BilinearInterp16()
436 dxy = LERP(ry, dx0, dx1); in BilinearInterp16()
442 # undef LERP in BilinearInterp16()
[all …]
/external/mesa3d/src/mesa/main/
Dtexcompress_fxt1.c1379 #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()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_blit.c384 #define LERP(T, A, B) ( (A) + (T) * ((B) - (A)) ) macro
390 const GLfloat temp0 = LERP(a, v00, v10); in lerp_2d()
391 const GLfloat temp1 = LERP(a, v01, v11); in lerp_2d()
392 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/frontends/nine/
Dnine_dump.c222 D3DTOP_TO_STR_CASE(LERP); in nine_D3DTOP_to_str()
/external/skqp/src/compute/skc/platforms/cl_12/kernels/
Drender.cl934 // FIXME -- USE HERB'S SINGLE FMA LERP
Drasterize.cl116 // there isn't support for a LERP/MIX operation.