Java: Remove deprecated fields, ctors, and methods

Most of these have been deprecated since libjpeg-turbo 1.4.x.
It's time.
This commit is contained in:
DRC
2022-08-08 15:41:01 -05:00
parent 280784f7ab
commit 931884e78d
11 changed files with 44 additions and 958 deletions

View File

@@ -379,19 +379,6 @@ public final class TJ {
*/
public static final int FLAG_BOTTOMUP = 2;
@SuppressWarnings("checkstyle:JavadocVariable")
@Deprecated
public static final int FLAG_FORCEMMX = 8;
@SuppressWarnings("checkstyle:JavadocVariable")
@Deprecated
public static final int FLAG_FORCESSE = 16;
@SuppressWarnings("checkstyle:JavadocVariable")
@Deprecated
public static final int FLAG_FORCESSE2 = 32;
@SuppressWarnings("checkstyle:JavadocVariable")
@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
@@ -506,13 +493,6 @@ public final class TJ {
public static native int bufSizeYUV(int width, int pad, int height,
int subsamp);
/**
* @deprecated Use {@link #bufSizeYUV(int, int, int, int)} instead.
*/
@SuppressWarnings("checkstyle:JavadocMethod")
@Deprecated
public static native int bufSizeYUV(int width, int height, int subsamp);
/**
* Returns the size of the buffer (in bytes) required to hold a YUV image
* plane with the given parameters.