< prev index next >
src/java.desktop/share/native/libmlib_image/mlib_c_ImageConvVersion.c
Print this page
rev 59106 : imported patch client
@@ -49,13 +49,10 @@
mlib_s32 mlib_ImageConvVersion(mlib_s32 m,
mlib_s32 n,
mlib_s32 scale,
mlib_type type)
{
-#ifdef __sparc
- return 0;
-#else
mlib_d64 dscale = 1.0 / (1 << scale); /* 16 < scale <= 31 */
if (type == MLIB_BYTE) {
if ((m * n * dscale * 32768.0) > MAX_U8)
return 0;
@@ -67,9 +64,8 @@
return 0;
return 2;
}
else
return 0;
-#endif /* __sparc */
}
/***************************************************************/
< prev index next >