< prev index next >
src/java.desktop/share/native/libmlib_image/mlib_ImageFilters.c
Print this page
rev 59383 : [mq]: final
*** 1,7 ****
/*
! * Copyright (c) 2000, 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) 2000, 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
*** 1656,1666 ****
-0.0060737133f, 1.2560737133f, 255.9878227711f, -1.2378227711f,
-0.0021908283f, 0.7521908283f, 255.9956119061f, -0.7456119061f,
-0.0002439022f, 0.2502439022f, 255.9995119572f, -0.2495119572f
};
! #ifndef __sparc /* for x86, using integer multiplies is faster */
/***************************************************************/
const mlib_s16 mlib_filters_u8_bc[] = {
-16, 16384, 16, 0,
-47, 16383, 49, 0,
--- 1656,1666 ----
-0.0060737133f, 1.2560737133f, 255.9878227711f, -1.2378227711f,
-0.0021908283f, 0.7521908283f, 255.9956119061f, -0.7456119061f,
-0.0002439022f, 0.2502439022f, 255.9995119572f, -0.2495119572f
};
! /* for x86, using integer multiplies is faster */
/***************************************************************/
const mlib_s16 mlib_filters_u8_bc[] = {
-16, 16384, 16, 0,
-47, 16383, 49, 0,
*** 3211,3217 ****
0, 96, 32767, -95,
0, 32, 32767, -32
};
/***************************************************************/
-
- #endif /* #ifndef __sparc */
--- 3211,3215 ----
< prev index next >