Lines Matching refs:LERP

334 #   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()
446 # define LERP(a,l,h) (cmsFloat32Number) ((l)+(((h)-(l))*(a))) in TrilinearInterpFloat() macro
493 dx00 = LERP(fx, d000, d100); in TrilinearInterpFloat()
494 dx01 = LERP(fx, d001, d101); in TrilinearInterpFloat()
495 dx10 = LERP(fx, d010, d110); in TrilinearInterpFloat()
496 dx11 = LERP(fx, d011, d111); in TrilinearInterpFloat()
498 dxy0 = LERP(fy, dx00, dx10); in TrilinearInterpFloat()
499 dxy1 = LERP(fy, dx01, dx11); in TrilinearInterpFloat()
501 dxyz = LERP(fz, dxy0, dxy1); in TrilinearInterpFloat()
507 # undef LERP in TrilinearInterpFloat()
519 #define LERP(a,l,h) (cmsUInt16Number) (l + ROUND_FIXED_TO_INT(((h-l)*a))) in TrilinearInterp16() macro
570 dx00 = LERP(rx, d000, d100); in TrilinearInterp16()
571 dx01 = LERP(rx, d001, d101); in TrilinearInterp16()
572 dx10 = LERP(rx, d010, d110); in TrilinearInterp16()
573 dx11 = LERP(rx, d011, d111); in TrilinearInterp16()
575 dxy0 = LERP(ry, dx00, dx10); in TrilinearInterp16()
576 dxy1 = LERP(ry, dx01, dx11); in TrilinearInterp16()
578 dxyz = LERP(rz, dxy0, dxy1); in TrilinearInterp16()
584 # undef LERP in TrilinearInterp16()