aboutsummaryrefslogtreecommitdiff
path: root/java/org
diff options
context:
space:
mode:
authordcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2013-10-31 07:11:39 +0000
committerdcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2013-10-31 07:11:39 +0000
commit4ccda2858318610749021aaab545603246b24ba8 (patch)
tree8fcb151bd3b8852f5b11dee2d03ef5a031138ad4 /java/org
parentdf0eaff9787d50fb831c0f71f38f571f5d26b012 (diff)
Deprecate and undocument the FORCE{MMX|SSE|SSE2|SSE3} flags. These were originally introduced in TurboJPEG/IPP as a way to override the automatic CPU selection in the underlying IPP codec, which was closed source. They are not meaningful anymore, since libjpeg-turbo provides environment variables to accomplish the same thing and since it no longer necessarily uses x86 SIMD code behind the scenes.
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1072 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'java/org')
-rw-r--r--java/org/libjpegturbo/turbojpeg/TJ.java22
1 files changed, 6 insertions, 16 deletions
diff --git a/java/org/libjpegturbo/turbojpeg/TJ.java b/java/org/libjpegturbo/turbojpeg/TJ.java
index 9fe3058..ac4a4dd 100644
--- a/java/org/libjpegturbo/turbojpeg/TJ.java
+++ b/java/org/libjpegturbo/turbojpeg/TJ.java
@@ -353,26 +353,16 @@ public final class TJ {
* OpenGL) order, not top-down (X11) order.
*/
public static final int FLAG_BOTTOMUP = 2;
- /**
- * Turn off CPU auto-detection and force TurboJPEG to use MMX code
- * (if the underlying codec supports it.)
- */
+
+ @Deprecated
public static final int FLAG_FORCEMMX = 8;
- /**
- * Turn off CPU auto-detection and force TurboJPEG to use SSE code
- * (if the underlying codec supports it.)
- */
+ @Deprecated
public static final int FLAG_FORCESSE = 16;
- /**
- * Turn off CPU auto-detection and force TurboJPEG to use SSE2 code
- * (if the underlying codec supports it.)
- */
+ @Deprecated
public static final int FLAG_FORCESSE2 = 32;
- /**
- * Turn off CPU auto-detection and force TurboJPEG to use SSE3 code
- * (if the underlying codec supports it.)
- */
+ @Deprecated
public static final int FLAG_FORCESSE3 = 128;
+
/**
* When decompressing an image that was compressed using chrominance
* subsampling, use the fastest chrominance upsampling algorithm available in