< prev index next >

src/java.desktop/share/native/libmlib_image/mlib_c_ImageAffine_NN.c

Print this page
rev 59383 : [mq]: final

*** 1,7 **** /* ! * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 81,93 **** DTYPE pix0; CLIP(1); dstLineEnd = (DTYPE *) dstData + xRight; - #ifdef __SUNPRO_C - #pragma pipeloop(0) - #endif /* __SUNPRO_C */ for (; dstPixelPtr <= dstLineEnd; dstPixelPtr++) { ySrc = MLIB_POINTER_SHIFT(Y); Y += dY; srcPixelPtr = MLIB_POINTER_GET(lineAddr, ySrc); xSrc = X >> MLIB_SHIFT; --- 81,90 ----
*** 121,133 **** pix1 = srcPixelPtr[1]; ySrc = MLIB_POINTER_SHIFT(Y); Y += dY; xSrc = X >> MLIB_SHIFT; X += dX; - #ifdef __SUNPRO_C - #pragma pipeloop(0) - #endif /* __SUNPRO_C */ for (; dstPixelPtr < dstLineEnd; dstPixelPtr += 2) { srcPixelPtr = MLIB_POINTER_GET(lineAddr, ySrc) + 2 * xSrc; ySrc = MLIB_POINTER_SHIFT(Y); Y += dY; xSrc = X >> MLIB_SHIFT; --- 118,127 ----
*** 167,179 **** pix2 = srcPixelPtr[2]; ySrc = MLIB_POINTER_SHIFT(Y); Y += dY; xSrc = X >> MLIB_SHIFT; X += dX; - #ifdef __SUNPRO_C - #pragma pipeloop(0) - #endif /* __SUNPRO_C */ for (; dstPixelPtr < dstLineEnd; dstPixelPtr += 3) { srcPixelPtr = MLIB_POINTER_GET(lineAddr, ySrc) + 3 * xSrc; ySrc = MLIB_POINTER_SHIFT(Y); Y += dY; xSrc = X >> MLIB_SHIFT; --- 161,170 ----
*** 303,315 **** pix1 = srcPixelPtr[1]; ySrc = MLIB_POINTER_SHIFT(Y); Y += dY; xSrc = X >> MLIB_SHIFT; X += dX; ! #ifdef __SUNPRO_C ! #pragma pipeloop(0) ! #endif /* __SUNPRO_C */ for (; dstPixelPtr < dstLineEnd; dstPixelPtr += 2) { srcPixelPtr = MLIB_POINTER_GET(lineAddr, ySrc) + 2 * xSrc; ySrc = MLIB_POINTER_SHIFT(Y); Y += dY; xSrc = X >> MLIB_SHIFT; --- 294,304 ---- pix1 = srcPixelPtr[1]; ySrc = MLIB_POINTER_SHIFT(Y); Y += dY; xSrc = X >> MLIB_SHIFT; X += dX; ! for (; dstPixelPtr < dstLineEnd; dstPixelPtr += 2) { srcPixelPtr = MLIB_POINTER_GET(lineAddr, ySrc) + 2 * xSrc; ySrc = MLIB_POINTER_SHIFT(Y); Y += dY; xSrc = X >> MLIB_SHIFT;
*** 349,361 **** pix2 = srcPixelPtr[2]; ySrc = MLIB_POINTER_SHIFT(Y); Y += dY; xSrc = X >> MLIB_SHIFT; X += dX; - #ifdef __SUNPRO_C - #pragma pipeloop(0) - #endif /* __SUNPRO_C */ for (; dstPixelPtr < dstLineEnd; dstPixelPtr += 3) { srcPixelPtr = MLIB_POINTER_GET(lineAddr, ySrc) + 3 * xSrc; ySrc = MLIB_POINTER_SHIFT(Y); Y += dY; xSrc = X >> MLIB_SHIFT; --- 338,347 ----
< prev index next >