From 6ffed933d7acc8c5830184f063962b058d103edb Mon Sep 17 00:00:00 2001 From: DRC Date: Sun, 16 Mar 2014 23:12:25 +0000 Subject: [PATCH] Generate the Java documentation using javadoc 7, to improve readability. git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1178 632fc199-4ca6-4c93-a231-07263d6284db --- java/doc/allclasses-frame.html | 64 +- java/doc/allclasses-noframe.html | 64 +- java/doc/constant-values.html | 913 +++---- java/doc/deprecated-list.html | 506 ++-- java/doc/help-doc.html | 385 ++- java/doc/index-all.html | 1604 ++++++----- java/doc/index.html | 44 +- java/doc/org/libjpegturbo/turbojpeg/TJ.html | 2322 ++++++++-------- .../libjpegturbo/turbojpeg/TJCompressor.html | 1718 ++++++------ .../turbojpeg/TJCustomFilter.html | 417 ++- .../turbojpeg/TJDecompressor.html | 2335 ++++++++--------- .../turbojpeg/TJScalingFactor.html | 650 +++-- .../libjpegturbo/turbojpeg/TJTransform.html | 1413 +++++----- .../libjpegturbo/turbojpeg/TJTransformer.html | 768 +++--- .../org/libjpegturbo/turbojpeg/YUVImage.html | 1026 ++++---- .../libjpegturbo/turbojpeg/package-frame.html | 78 +- .../turbojpeg/package-summary.html | 345 ++- .../libjpegturbo/turbojpeg/package-tree.html | 274 +- java/doc/overview-tree.html | 280 +- java/doc/resources/background.gif | Bin 0 -> 2313 bytes java/doc/resources/inherit.gif | Bin 57 -> 0 bytes java/doc/resources/tab.gif | Bin 0 -> 291 bytes java/doc/resources/titlebar.gif | Bin 0 -> 10701 bytes java/doc/resources/titlebar_end.gif | Bin 0 -> 849 bytes java/doc/serialized-form.html | 322 +-- java/doc/stylesheet.css | 501 +++- 26 files changed, 8007 insertions(+), 8022 deletions(-) create mode 100644 java/doc/resources/background.gif delete mode 100644 java/doc/resources/inherit.gif create mode 100644 java/doc/resources/tab.gif create mode 100644 java/doc/resources/titlebar.gif create mode 100644 java/doc/resources/titlebar_end.gif diff --git a/java/doc/allclasses-frame.html b/java/doc/allclasses-frame.html index 2183aa4..509ea50 100644 --- a/java/doc/allclasses-frame.html +++ b/java/doc/allclasses-frame.html @@ -1,43 +1,23 @@ - - - - -All Classes - - - - - - - - - - -All Classes -
- - - - - -
TJ -
-TJCompressor -
-TJCustomFilter -
-TJDecompressor -
-TJScalingFactor -
-TJTransform -
-TJTransformer -
-YUVImage -
-
- - - + + + +All Classes + + + +

All Classes

+
+ +
+ + diff --git a/java/doc/allclasses-noframe.html b/java/doc/allclasses-noframe.html index 41ed55e..3eac18f 100644 --- a/java/doc/allclasses-noframe.html +++ b/java/doc/allclasses-noframe.html @@ -1,43 +1,23 @@ - - - - -All Classes - - - - - - - - - - -All Classes -
- - - - - -
TJ -
-TJCompressor -
-TJCustomFilter -
-TJDecompressor -
-TJScalingFactor -
-TJTransform -
-TJTransformer -
-YUVImage -
-
- - - + + + +All Classes + + + +

All Classes

+
+ +
+ + diff --git a/java/doc/constant-values.html b/java/doc/constant-values.html index 01f950f..ec1b21d 100644 --- a/java/doc/constant-values.html +++ b/java/doc/constant-values.html @@ -1,462 +1,479 @@ - - - - -Constant Field Values - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - -
- -
- + + + + + - -
-
-

-Constant Field Values

-
-
-Contents - - - - - - -
-org.libjpegturbo.*
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
org.libjpegturbo.turbojpeg.TJ
-public static final intCS_CMYK3
-public static final intCS_GRAY2
-public static final intCS_RGB0
-public static final intCS_YCbCr1
-public static final intCS_YCCK4
-public static final intFLAG_ACCURATEDCT4096
-public static final intFLAG_BOTTOMUP2
-public static final intFLAG_FASTDCT2048
-public static final intFLAG_FASTUPSAMPLE256
-public static final intFLAG_FORCEMMX8
-public static final intFLAG_FORCESSE16
-public static final intFLAG_FORCESSE232
-public static final intFLAG_FORCESSE3128
-public static final intNUMCS5
-public static final intNUMPF12
-public static final intNUMSAMP6
-public static final intPF_ABGR9
-public static final intPF_ARGB10
-public static final intPF_BGR1
-public static final intPF_BGRA8
-public static final intPF_BGRX3
-public static final intPF_CMYK11
-public static final intPF_GRAY6
-public static final intPF_RGB0
-public static final intPF_RGBA7
-public static final intPF_RGBX2
-public static final intPF_XBGR4
-public static final intPF_XRGB5
-public static final intSAMP_4115
-public static final intSAMP_4202
-public static final intSAMP_4221
-public static final intSAMP_4404
-public static final intSAMP_4440
-public static final intSAMP_GRAY3
- -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
org.libjpegturbo.turbojpeg.TJTransform
-public static final intNUMOP8
-public static final intOP_HFLIP1
-public static final intOP_NONE0
-public static final intOP_ROT1806
-public static final intOP_ROT2707
-public static final intOP_ROT905
-public static final intOP_TRANSPOSE3
-public static final intOP_TRANSVERSE4
-public static final intOP_VFLIP2
-public static final intOPT_CROP4
-public static final intOPT_GRAY8
-public static final intOPT_NOOUTPUT16
-public static final intOPT_PERFECT1
-public static final intOPT_TRIM2
- -

- -

-


- - +
+

Constant Field Values

+

Contents

+ +
+
+ + +

org.libjpegturbo.*

+ +
- - - - - - - - - - - - -
- -
- + + + + + - -
- - - + + diff --git a/java/doc/deprecated-list.html b/java/doc/deprecated-list.html index a0a67a6..79fd7ed 100644 --- a/java/doc/deprecated-list.html +++ b/java/doc/deprecated-list.html @@ -1,276 +1,258 @@ - - - - -Deprecated List - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - -
- -
- + + + + + - -
-
-

-Deprecated API

-
-
-Contents - - - - - - - - - - - - - - - - - - -
-Deprecated Fields
org.libjpegturbo.turbojpeg.TJ.FLAG_FORCEMMX -
-           
org.libjpegturbo.turbojpeg.TJ.FLAG_FORCESSE -
-           
org.libjpegturbo.turbojpeg.TJ.FLAG_FORCESSE2 -
-           
org.libjpegturbo.turbojpeg.TJ.FLAG_FORCESSE3 -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Deprecated Methods
org.libjpegturbo.turbojpeg.TJ.bufSizeYUV(int, int, int) -
-          Use TJ.bufSizeYUV(int, int, int, int) instead. 
org.libjpegturbo.turbojpeg.TJCompressor.compress(BufferedImage, byte[], int) -
-          Use - TJCompressor.setSourceImage(BufferedImage, int, int, int, int) and - TJCompressor.compress(byte[], int) instead. 
org.libjpegturbo.turbojpeg.TJCompressor.compress(BufferedImage, int) -
-          Use - TJCompressor.setSourceImage(BufferedImage, int, int, int, int) and - TJCompressor.compress(int) instead. 
org.libjpegturbo.turbojpeg.TJDecompressor.decompress(byte[], int, int, int, int, int) -
-          Use - TJDecompressor.decompress(byte[], int, int, int, int, int, int, int) instead. 
org.libjpegturbo.turbojpeg.TJDecompressor.decompressToYUV(byte[], int) -
-          Use TJDecompressor.decompressToYUV(YUVImage, int) instead. 
org.libjpegturbo.turbojpeg.TJDecompressor.decompressToYUV(int) -
-          Use TJDecompressor.decompressToYUV(int, int, int, int) instead. 
org.libjpegturbo.turbojpeg.TJCompressor.encodeYUV(BufferedImage, byte[], int) -
-          Use - TJCompressor.setSourceImage(BufferedImage, int, int, int, int) and - TJCompressor.encodeYUV(byte[], int) instead. 
org.libjpegturbo.turbojpeg.TJCompressor.encodeYUV(BufferedImage, int) -
-          Use - TJCompressor.setSourceImage(BufferedImage, int, int, int, int) and - TJCompressor.encodeYUV(int) instead. 
org.libjpegturbo.turbojpeg.TJCompressor.encodeYUV(byte[], int) -
-          Use TJCompressor.encodeYUV(YUVImage, int) instead. 
org.libjpegturbo.turbojpeg.TJCompressor.encodeYUV(int) -
-          Use TJCompressor.encodeYUV(int, int) instead. 
org.libjpegturbo.turbojpeg.TJDecompressor.getJPEGBuf() -
-          Use TJDecompressor.getSourceBuf() instead. 
org.libjpegturbo.turbojpeg.TJDecompressor.getJPEGSize() -
-          Use TJDecompressor.getSourceSize() instead. 
org.libjpegturbo.turbojpeg.TJDecompressor.setJPEGImage(byte[], int) -
-          Use TJDecompressor.setSourceImage(byte[], int) instead. 
org.libjpegturbo.turbojpeg.TJCompressor.setSourceImage(byte[], int, int, int, int) -
-          Use - TJCompressor.setSourceImage(byte[], int, int, int, int, int, int) instead. 
-  -

- - - - - - - - -
-Deprecated Constructors
org.libjpegturbo.turbojpeg.TJCompressor(byte[], int, int, int, int) -
-          Use - TJCompressor.TJCompressor(byte[], int, int, int, int, int, int) instead. 
-  -

-


- - +
+

Deprecated API

+

Contents

+ +
+
+ + + + + + + + + + + +
- - - - - - - - - - - - -
- -
- + + + + + - -
- - - + + diff --git a/java/doc/help-doc.html b/java/doc/help-doc.html index b919d0a..ce749a9 100644 --- a/java/doc/help-doc.html +++ b/java/doc/help-doc.html @@ -1,207 +1,206 @@ - - - - -API Help - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - -
- -
- + + + + + - -
-
-

-How This API Document Is Organized

-
-This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

-Package

-
- -

-Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

-
-

-Class/Interface

-
- -

-Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
- -

-Annotation Type

-
- -

-Each annotation type has its own separate page with the following sections:

-
- -

-Enum

-
- -

-Each enum has its own separate page with the following sections:

-
-

-Tree (Class Hierarchy)

-
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object. -
-

-Deprecated API

-
-The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-

-Index

-
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-

-Prev/Next

-These links take you to the next or previous class, interface, package, or related page.

-Frames/No Frames

-These links show and hide the HTML frames. All pages are available with or without frames. -

-

-Serialized Form

-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. -

-

-Constant Field Values

-The Constant Field Values page lists the static final fields and their values. -

- - -This help file applies to API documentation generated using the standard doclet. - -
-


- - +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
- - - - - - - - - - - - -
- -
- + + + + + - -
- - - + + diff --git a/java/doc/index-all.html b/java/doc/index-all.html index df71bde..c8a4f0c 100644 --- a/java/doc/index-all.html +++ b/java/doc/index-all.html @@ -1,749 +1,919 @@ - - - - -Index - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - -
- -
- + + + + + - -B C D E F G H I J N O P S T Y
-

-B

-
-
bufSize(int, int, int) - -Static method in class org.libjpegturbo.turbojpeg.TJ -
Returns the maximum size of the buffer (in bytes) required to hold a JPEG - image with the given width, height, and level of chrominance subsampling. -
bufSizeYUV(int, int, int, int) - -Static method in class org.libjpegturbo.turbojpeg.TJ -
Returns the size of the buffer (in bytes) required to hold a YUV planar - image with the given width, height, and level of chrominance subsampling. -
bufSizeYUV(int, int, int) - -Static method in class org.libjpegturbo.turbojpeg.TJ -
Deprecated. Use TJ.bufSizeYUV(int, int, int, int) instead. -
-
-

-C

-
-
cf - -Variable in class org.libjpegturbo.turbojpeg.TJTransform -
Custom filter instance -
close() - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Free the native structures associated with this compressor instance. -
close() - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Free the native structures associated with this decompressor instance. -
compress(byte[], int) - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Compress the uncompressed source image associated with this compressor - instance and output a JPEG image to the given destination buffer. -
compress(int) - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Compress the uncompressed source image associated with this compressor - instance and return a buffer containing a JPEG image. -
compress(BufferedImage, byte[], int) - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Deprecated. Use - TJCompressor.setSourceImage(BufferedImage, int, int, int, int) and - TJCompressor.compress(byte[], int) instead. -
compress(BufferedImage, int) - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Deprecated. Use - TJCompressor.setSourceImage(BufferedImage, int, int, int, int) and - TJCompressor.compress(int) instead. -
CS_CMYK - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
CMYK colorspace. -
CS_GRAY - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
Grayscale colorspace. -
CS_RGB - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
RGB colorspace. -
CS_YCbCr - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
YCbCr colorspace. -
CS_YCCK - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
YCCK colorspace. -
customFilter(ShortBuffer, Rectangle, Rectangle, int, int, TJTransform) - -Method in interface org.libjpegturbo.turbojpeg.TJCustomFilter -
A callback function that can be used to modify the DCT coefficients after +
B C D E F G H I J N O P S T Y  + + +

B

+
+
bufSize(int, int, int) - Static method in class org.libjpegturbo.turbojpeg.TJ
+
+
Returns the maximum size of the buffer (in bytes) required to hold a JPEG + image with the given width, height, and level of chrominance subsampling.
+
+
bufSizeYUV(int, int, int, int) - Static method in class org.libjpegturbo.turbojpeg.TJ
+
+
Returns the size of the buffer (in bytes) required to hold a YUV planar + image with the given width, height, and level of chrominance subsampling.
+
+
bufSizeYUV(int, int, int) - Static method in class org.libjpegturbo.turbojpeg.TJ
+
+
Deprecated. + +
+
+
+ + + +

C

+
+
cf - Variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
Custom filter instance
+
+
close() - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+
Free the native structures associated with this compressor instance.
+
+
close() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Free the native structures associated with this decompressor instance.
+
+
compress(byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+
Compress the uncompressed source image associated with this compressor + instance and output a JPEG image to the given destination buffer.
+
+
compress(int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+
Compress the uncompressed source image associated with this compressor + instance and return a buffer containing a JPEG image.
+
+
compress(BufferedImage, byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+ +
+
compress(BufferedImage, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+ +
+
CS_CMYK - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
CMYK colorspace.
+
+
CS_GRAY - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
Grayscale colorspace.
+
+
CS_RGB - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
RGB colorspace.
+
+
CS_YCbCr - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
YCbCr colorspace.
+
+
CS_YCCK - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
YCCK colorspace.
+
+
customFilter(ShortBuffer, Rectangle, Rectangle, int, int, TJTransform) - Method in interface org.libjpegturbo.turbojpeg.TJCustomFilter
+
+
A callback function that can be used to modify the DCT coefficients after they are losslessly transformed but before they are transcoded to a new - JPEG image. -
-
-

-D

-
-
decompress(byte[], int, int, int, int, int, int, int) - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Decompress the JPEG source image or decode the YUV source image associated + JPEG image.
+
+
+ + + +

D

+
+
decompress(byte[], int, int, int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Decompress the JPEG source image or decode the YUV source image associated with this decompressor instance and output a grayscale, RGB, or CMYK image - to the given destination buffer. -
decompress(byte[], int, int, int, int, int) - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Deprecated. Use - TJDecompressor.decompress(byte[], int, int, int, int, int, int, int) instead. -
decompress(int, int, int, int, int) - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Decompress the JPEG source image associated with this decompressor - instance and return a buffer containing the decompressed image. -
decompress(int[], int, int, int, int, int, int, int) - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Decompress the JPEG source image or decode the YUV source image associated + to the given destination buffer. +
+
decompress(byte[], int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+ +
+
decompress(int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Decompress the JPEG source image associated with this decompressor + instance and return a buffer containing the decompressed image.
+
+
decompress(int[], int, int, int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Decompress the JPEG source image or decode the YUV source image associated with this decompressor instance and output a grayscale, RGB, or CMYK image - to the given destination buffer. -
decompress(BufferedImage, int) - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Decompress the JPEG source image or decode the YUV source image associated + to the given destination buffer. +
+
decompress(BufferedImage, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Decompress the JPEG source image or decode the YUV source image associated with this decompressor instance and output a decompressed/decoded image to - the given BufferedImage instance. -
decompress(int, int, int, int) - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Decompress the JPEG source image or decode the YUV source image associated + the given BufferedImage instance. +
+
decompress(int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Decompress the JPEG source image or decode the YUV source image associated with this decompressor instance and return a BufferedImage - instance containing the decompressed/decoded image. -
decompressToYUV(YUVImage, int) - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Decompress the JPEG source image associated with this decompressor + instance containing the decompressed/decoded image. +
+
decompressToYUV(YUVImage, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Decompress the JPEG source image associated with this decompressor instance into a YUV planar image and store it in the given - YUVImage instance. -
decompressToYUV(byte[], int) - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Deprecated. Use TJDecompressor.decompressToYUV(YUVImage, int) instead. -
decompressToYUV(int, int, int, int) - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Decompress the JPEG source image associated with this decompressor + YUVImage instance. +
+
decompressToYUV(byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+ +
+
decompressToYUV(int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Decompress the JPEG source image associated with this decompressor instance into a YUV planar image and return a YUVImage - instance containing the decompressed image. -
decompressToYUV(int) - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Deprecated. Use TJDecompressor.decompressToYUV(int, int, int, int) instead. -
-
-

-E

-
-
encodeYUV(YUVImage, int) - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Encode the uncompressed source image associated with this compressor + instance containing the decompressed image. +
+
decompressToYUV(int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+ +
+
+ + + +

E

+
+
encodeYUV(YUVImage, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+
Encode the uncompressed source image associated with this compressor instance into a YUV planar image and store it in the given - YUVImage instance. -
encodeYUV(byte[], int) - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Deprecated. Use TJCompressor.encodeYUV(YUVImage, int) instead. -
encodeYUV(int, int) - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Encode the uncompressed source image associated with this compressor + YUVImage instance. +
+
encodeYUV(byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+
Deprecated. + +
+
+
encodeYUV(int, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+
Encode the uncompressed source image associated with this compressor instance into a YUV planar image and return a YUVImage - instance containing the encoded image. -
encodeYUV(int) - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Deprecated. Use TJCompressor.encodeYUV(int, int) instead. -
encodeYUV(BufferedImage, byte[], int) - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Deprecated. Use - TJCompressor.setSourceImage(BufferedImage, int, int, int, int) and - TJCompressor.encodeYUV(byte[], int) instead. -
encodeYUV(BufferedImage, int) - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Deprecated. Use - TJCompressor.setSourceImage(BufferedImage, int, int, int, int) and - TJCompressor.encodeYUV(int) instead. -
equals(TJScalingFactor) - -Method in class org.libjpegturbo.turbojpeg.TJScalingFactor -
Returns true or false, depending on whether this instance and - other have the same numerator and denominator. -
-
-

-F

-
-
finalize() - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
  -
finalize() - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
  -
FLAG_ACCURATEDCT - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
Use the most accurate DCT/IDCT algorithm available in the underlying - codec. -
FLAG_BOTTOMUP - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
The uncompressed source/destination image is stored in bottom-up (Windows, - OpenGL) order, not top-down (X11) order. -
FLAG_FASTDCT - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
Use the fastest DCT/IDCT algorithm available in the underlying codec. -
FLAG_FASTUPSAMPLE - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
When decompressing an image that was compressed using chrominance + instance containing the encoded image. +
+
encodeYUV(int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+
Deprecated. + +
+
+
encodeYUV(BufferedImage, byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+ +
+
encodeYUV(BufferedImage, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+ +
+
equals(TJScalingFactor) - Method in class org.libjpegturbo.turbojpeg.TJScalingFactor
+
+
Returns true or false, depending on whether this instance and + other have the same numerator and denominator.
+
+
+ + + +

F

+
+
finalize() - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
 
+
finalize() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
 
+
FLAG_ACCURATEDCT - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
Use the most accurate DCT/IDCT algorithm available in the underlying + codec.
+
+
FLAG_BOTTOMUP - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
The uncompressed source/destination image is stored in bottom-up (Windows, + OpenGL) order, not top-down (X11) order.
+
+
FLAG_FASTDCT - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
Use the fastest DCT/IDCT algorithm available in the underlying codec.
+
+
FLAG_FASTUPSAMPLE - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
When decompressing an image that was compressed using chrominance subsampling, use the fastest chrominance upsampling algorithm available in - the underlying codec. -
FLAG_FORCEMMX - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
Deprecated.  -
FLAG_FORCESSE - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
Deprecated.  -
FLAG_FORCESSE2 - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
Deprecated.  -
FLAG_FORCESSE3 - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
Deprecated.  -
-
-

-G

-
-
getBlueOffset(int) - -Static method in class org.libjpegturbo.turbojpeg.TJ -
For the given pixel format, returns the number of bytes that the blue - component is offset from the start of the pixel. -
getBuf() - -Method in class org.libjpegturbo.turbojpeg.YUVImage -
Returns the YUV image buffer -
getColorspace() - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Returns the colorspace used in the source image (JPEG or YUV) associated - with this decompressor instance. -
getCompressedSize() - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Returns the size of the image (in bytes) generated by the most recent - compress/encode operation. -
getDenom() - -Method in class org.libjpegturbo.turbojpeg.TJScalingFactor -
Returns denominator -
getGreenOffset(int) - -Static method in class org.libjpegturbo.turbojpeg.TJ -
For the given pixel format, returns the number of bytes that the green - component is offset from the start of the pixel. -
getHeight() - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Returns the height of the source image (JPEG or YUV) associated with this - decompressor instance. -
getHeight() - -Method in class org.libjpegturbo.turbojpeg.YUVImage -
Returns the height of the YUV image. -
getJPEGBuf() - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Deprecated. Use TJDecompressor.getSourceBuf() instead. -
getJPEGSize() - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Deprecated. Use TJDecompressor.getSourceSize() instead. -
getMCUHeight(int) - -Static method in class org.libjpegturbo.turbojpeg.TJ -
Returns the MCU block height for the given level of chrominance - subsampling. -
getMCUWidth(int) - -Static method in class org.libjpegturbo.turbojpeg.TJ -
Returns the MCU block width for the given level of chrominance - subsampling. -
getNum() - -Method in class org.libjpegturbo.turbojpeg.TJScalingFactor -
Returns numerator -
getPad() - -Method in class org.libjpegturbo.turbojpeg.YUVImage -
Returns the line padding used in the YUV image buffer. -
getPixelSize(int) - -Static method in class org.libjpegturbo.turbojpeg.TJ -
Returns the pixel size (in bytes) for the given pixel format. -
getRedOffset(int) - -Static method in class org.libjpegturbo.turbojpeg.TJ -
For the given pixel format, returns the number of bytes that the red - component is offset from the start of the pixel. -
getScaled(int) - -Method in class org.libjpegturbo.turbojpeg.TJScalingFactor -
Returns the scaled value of dimension. -
getScaledHeight(int, int) - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Returns the height of the largest scaled-down image that the TurboJPEG + the underlying codec. +
+
FLAG_FORCEMMX - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
Deprecated.
+
+
FLAG_FORCESSE - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
Deprecated.
+
+
FLAG_FORCESSE2 - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
Deprecated.
+
+
FLAG_FORCESSE3 - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
Deprecated.
+
+
+ + + +

G

+
+
getBlueOffset(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
+
+
For the given pixel format, returns the number of bytes that the blue + component is offset from the start of the pixel.
+
+
getBuf() - Method in class org.libjpegturbo.turbojpeg.YUVImage
+
+
Returns the YUV image buffer
+
+
getColorspace() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Returns the colorspace used in the source image (JPEG or YUV) associated + with this decompressor instance.
+
+
getCompressedSize() - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+
Returns the size of the image (in bytes) generated by the most recent + compress/encode operation.
+
+
getDenom() - Method in class org.libjpegturbo.turbojpeg.TJScalingFactor
+
+
Returns denominator
+
+
getGreenOffset(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
+
+
For the given pixel format, returns the number of bytes that the green + component is offset from the start of the pixel.
+
+
getHeight() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Returns the height of the source image (JPEG or YUV) associated with this + decompressor instance.
+
+
getHeight() - Method in class org.libjpegturbo.turbojpeg.YUVImage
+
+
Returns the height of the YUV image.
+
+
getJPEGBuf() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Deprecated. + +
+
+
getJPEGSize() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Deprecated. + +
+
+
getMCUHeight(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
+
+
Returns the MCU block height for the given level of chrominance + subsampling.
+
+
getMCUWidth(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
+
+
Returns the MCU block width for the given level of chrominance + subsampling.
+
+
getNum() - Method in class org.libjpegturbo.turbojpeg.TJScalingFactor
+
+
Returns numerator
+
+
getPad() - Method in class org.libjpegturbo.turbojpeg.YUVImage
+
+
Returns the line padding used in the YUV image buffer.
+
+
getPixelSize(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
+
+
Returns the pixel size (in bytes) for the given pixel format.
+
+
getRedOffset(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
+
+
For the given pixel format, returns the number of bytes that the red + component is offset from the start of the pixel.
+
+
getScaled(int) - Method in class org.libjpegturbo.turbojpeg.TJScalingFactor
+
+
Returns the scaled value of dimension.
+
+
getScaledHeight(int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Returns the height of the largest scaled-down image that the TurboJPEG decompressor can generate without exceeding the desired image width and - height. -
getScaledWidth(int, int) - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Returns the width of the largest scaled-down image that the TurboJPEG + height. +
+
getScaledWidth(int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Returns the width of the largest scaled-down image that the TurboJPEG decompressor can generate without exceeding the desired image width and - height. -
getScalingFactors() - -Static method in class org.libjpegturbo.turbojpeg.TJ -
Returns a list of fractional scaling factors that the JPEG decompressor in - this implementation of TurboJPEG supports. -
getSize() - -Method in class org.libjpegturbo.turbojpeg.YUVImage -
Returns the size (in bytes) of the YUV image buffer -
getSourceBuf() - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Returns the source image buffer associated with this decompressor - instance. -
getSourceSize() - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Returns the size of the source image (in bytes) associated with this - decompressor instance. -
getSubsamp() - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Returns the level of chrominance subsampling used in the source image - (JPEG or YUV) associated with this decompressor instance. -
getSubsamp() - -Method in class org.libjpegturbo.turbojpeg.YUVImage -
Returns the level of chrominance subsampling used in the YUV image. -
getTransformedSizes() - -Method in class org.libjpegturbo.turbojpeg.TJTransformer -
Returns an array containing the sizes of the transformed JPEG images - generated by the most recent transform operation. -
getWidth() - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Returns the width of the source image (JPEG or YUV) associated with this - decompressor instance. -
getWidth() - -Method in class org.libjpegturbo.turbojpeg.YUVImage -
Returns the width of the YUV image. -
-
-

-H

-
-
handle - -Variable in class org.libjpegturbo.turbojpeg.TJDecompressor -
  -
handle - -Variable in class org.libjpegturbo.turbojpeg.YUVImage -
  -
-
-

-I

-
-
isOne() - -Method in class org.libjpegturbo.turbojpeg.TJScalingFactor -
Returns true or false, depending on whether this instance is equal to - 1/1. -
-
-

-J

-
-
jpegBuf - -Variable in class org.libjpegturbo.turbojpeg.TJDecompressor -
  -
jpegBufSize - -Variable in class org.libjpegturbo.turbojpeg.TJDecompressor -
  -
-
-

-N

-
-
NUMCS - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
The number of JPEG colorspaces -
NUMOP - -Static variable in class org.libjpegturbo.turbojpeg.TJTransform -
The number of lossless transform operations -
NUMPF - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
The number of pixel formats -
NUMSAMP - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
The number of chrominance subsampling options -
-
-

-O

-
-
op - -Variable in class org.libjpegturbo.turbojpeg.TJTransform -
Transform operation (one of OP_*) -
OP_HFLIP - -Static variable in class org.libjpegturbo.turbojpeg.TJTransform -
Flip (mirror) image horizontally. -
OP_NONE - -Static variable in class org.libjpegturbo.turbojpeg.TJTransform -
Do not transform the position of the image pixels. -
OP_ROT180 - -Static variable in class org.libjpegturbo.turbojpeg.TJTransform -
Rotate image 180 degrees. -
OP_ROT270 - -Static variable in class org.libjpegturbo.turbojpeg.TJTransform -
Rotate image counter-clockwise by 90 degrees. -
OP_ROT90 - -Static variable in class org.libjpegturbo.turbojpeg.TJTransform -
Rotate image clockwise by 90 degrees. -
OP_TRANSPOSE - -Static variable in class org.libjpegturbo.turbojpeg.TJTransform -
Transpose image (flip/mirror along upper left to lower right axis). -
OP_TRANSVERSE - -Static variable in class org.libjpegturbo.turbojpeg.TJTransform -
Transverse transpose image (flip/mirror along upper right to lower left - axis). -
OP_VFLIP - -Static variable in class org.libjpegturbo.turbojpeg.TJTransform -
Flip (mirror) image vertically. -
OPT_CROP - -Static variable in class org.libjpegturbo.turbojpeg.TJTransform -
This option will enable lossless cropping. -
OPT_GRAY - -Static variable in class org.libjpegturbo.turbojpeg.TJTransform -
This option will discard the color data in the input image and produce - a grayscale output image. -
OPT_NOOUTPUT - -Static variable in class org.libjpegturbo.turbojpeg.TJTransform -
This option will prevent TJTransformer.transform() from outputting a JPEG image for this - particular transform. -
OPT_PERFECT - -Static variable in class org.libjpegturbo.turbojpeg.TJTransform -
This option will cause TJTransformer.transform() to throw an exception if the transform is not - perfect. -
OPT_TRIM - -Static variable in class org.libjpegturbo.turbojpeg.TJTransform -
This option will discard any partial MCU blocks that cannot be - transformed. -
options - -Variable in class org.libjpegturbo.turbojpeg.TJTransform -
Transform options (bitwise OR of one or more of OPT_*) -
org.libjpegturbo.turbojpeg - package org.libjpegturbo.turbojpeg
 
-
-

-P

-
-
PF_ABGR - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
ABGR pixel format. -
PF_ARGB - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
ARGB pixel format. -
PF_BGR - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
BGR pixel format. -
PF_BGRA - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
BGRA pixel format. -
PF_BGRX - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
BGRX pixel format. -
PF_CMYK - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
CMYK pixel format. -
PF_GRAY - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
Grayscale pixel format. -
PF_RGB - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
RGB pixel format. -
PF_RGBA - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
RGBA pixel format. -
PF_RGBX - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
RGBX pixel format. -
PF_XBGR - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
XBGR pixel format. -
PF_XRGB - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
XRGB pixel format. -
-
-

-S

-
-
SAMP_411 - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
4:1:1 chrominance subsampling. -
SAMP_420 - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
4:2:0 chrominance subsampling. -
SAMP_422 - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
4:2:2 chrominance subsampling. -
SAMP_440 - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
4:4:0 chrominance subsampling. -
SAMP_444 - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
4:4:4 chrominance subsampling (no chrominance subsampling). -
SAMP_GRAY - -Static variable in class org.libjpegturbo.turbojpeg.TJ -
Grayscale. -
setJPEGImage(byte[], int) - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Deprecated. Use TJDecompressor.setSourceImage(byte[], int) instead. -
setJPEGQuality(int) - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Set the JPEG image quality level for subsequent compress operations. -
setSourceImage(byte[], int, int, int, int, int, int) - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Associate an uncompressed RGB, grayscale, or CMYK source image with this - compressor instance. -
setSourceImage(byte[], int, int, int, int) - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Deprecated. Use - TJCompressor.setSourceImage(byte[], int, int, int, int, int, int) instead. -
setSourceImage(BufferedImage, int, int, int, int) - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Associate an uncompressed RGB or grayscale source image with this - compressor instance. -
setSourceImage(YUVImage) - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Associate an uncompressed YUV planar source image with this compressor - instance. -
setSourceImage(byte[], int) - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Associate the JPEG image of length imageSize bytes stored in - srcImage with this decompressor instance. -
setSourceImage(YUVImage) - -Method in class org.libjpegturbo.turbojpeg.TJDecompressor -
Associate the specified YUV planar source image with this decompressor - instance. -
setSubsamp(int) - -Method in class org.libjpegturbo.turbojpeg.TJCompressor -
Set the level of chrominance subsampling for subsequent compress/encode - operations. -
srcColorspace - -Variable in class org.libjpegturbo.turbojpeg.TJDecompressor -
  -
srcHeight - -Variable in class org.libjpegturbo.turbojpeg.TJDecompressor -
  -
srcSubsamp - -Variable in class org.libjpegturbo.turbojpeg.TJDecompressor -
  -
srcWidth - -Variable in class org.libjpegturbo.turbojpeg.TJDecompressor -
  -
-
-

-T

-
-
TJ - Class in org.libjpegturbo.turbojpeg
TurboJPEG utility class (cannot be instantiated)
TJ() - -Constructor for class org.libjpegturbo.turbojpeg.TJ -
  -
TJCompressor - Class in org.libjpegturbo.turbojpeg
TurboJPEG compressor
TJCompressor() - -Constructor for class org.libjpegturbo.turbojpeg.TJCompressor -
Create a TurboJPEG compressor instance. -
TJCompressor(byte[], int, int, int, int, int, int) - -Constructor for class org.libjpegturbo.turbojpeg.TJCompressor -
Create a TurboJPEG compressor instance and associate the uncompressed + height. +
+
getScalingFactors() - Static method in class org.libjpegturbo.turbojpeg.TJ
+
+
Returns a list of fractional scaling factors that the JPEG decompressor in + this implementation of TurboJPEG supports.
+
+
getSize() - Method in class org.libjpegturbo.turbojpeg.YUVImage
+
+
Returns the size (in bytes) of the YUV image buffer
+
+
getSourceBuf() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Returns the source image buffer associated with this decompressor + instance.
+
+
getSourceSize() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Returns the size of the source image (in bytes) associated with this + decompressor instance.
+
+
getSubsamp() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Returns the level of chrominance subsampling used in the source image + (JPEG or YUV) associated with this decompressor instance.
+
+
getSubsamp() - Method in class org.libjpegturbo.turbojpeg.YUVImage
+
+
Returns the level of chrominance subsampling used in the YUV image.
+
+
getTransformedSizes() - Method in class org.libjpegturbo.turbojpeg.TJTransformer
+
+
Returns an array containing the sizes of the transformed JPEG images + generated by the most recent transform operation.
+
+
getWidth() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Returns the width of the source image (JPEG or YUV) associated with this + decompressor instance.
+
+
getWidth() - Method in class org.libjpegturbo.turbojpeg.YUVImage
+
+
Returns the width of the YUV image.
+
+
+ + + +

H

+
+
handle - Variable in class org.libjpegturbo.turbojpeg.TJDecompressor
+
 
+
handle - Variable in class org.libjpegturbo.turbojpeg.YUVImage
+
 
+
+ + + +

I

+
+
isOne() - Method in class org.libjpegturbo.turbojpeg.TJScalingFactor
+
+
Returns true or false, depending on whether this instance is equal to + 1/1.
+
+
+ + + +

J

+
+
jpegBuf - Variable in class org.libjpegturbo.turbojpeg.TJDecompressor
+
 
+
jpegBufSize - Variable in class org.libjpegturbo.turbojpeg.TJDecompressor
+
 
+
+ + + +

N

+
+
NUMCS - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
The number of JPEG colorspaces
+
+
NUMOP - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
The number of lossless transform operations
+
+
NUMPF - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
The number of pixel formats
+
+
NUMSAMP - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
The number of chrominance subsampling options
+
+
+ + + +

O

+
+
op - Variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
Transform operation (one of OP_*)
+
+
OP_HFLIP - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
Flip (mirror) image horizontally.
+
+
OP_NONE - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
Do not transform the position of the image pixels.
+
+
OP_ROT180 - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
Rotate image 180 degrees.
+
+
OP_ROT270 - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
Rotate image counter-clockwise by 90 degrees.
+
+
OP_ROT90 - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
Rotate image clockwise by 90 degrees.
+
+
OP_TRANSPOSE - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
Transpose image (flip/mirror along upper left to lower right axis).
+
+
OP_TRANSVERSE - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
Transverse transpose image (flip/mirror along upper right to lower left + axis).
+
+
OP_VFLIP - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
Flip (mirror) image vertically.
+
+
OPT_CROP - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
This option will enable lossless cropping.
+
+
OPT_GRAY - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
This option will discard the color data in the input image and produce + a grayscale output image.
+
+
OPT_NOOUTPUT - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
This option will prevent TJTransformer.transform() from outputting a JPEG image for this + particular transform.
+
+
OPT_PERFECT - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
This option will cause TJTransformer.transform() to throw an exception if the transform is not + perfect.
+
+
OPT_TRIM - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
This option will discard any partial MCU blocks that cannot be + transformed.
+
+
options - Variable in class org.libjpegturbo.turbojpeg.TJTransform
+
+
Transform options (bitwise OR of one or more of OPT_*)
+
+
org.libjpegturbo.turbojpeg - package org.libjpegturbo.turbojpeg
+
 
+
+ + + +

P

+
+
PF_ABGR - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
ABGR pixel format.
+
+
PF_ARGB - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
ARGB pixel format.
+
+
PF_BGR - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
BGR pixel format.
+
+
PF_BGRA - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
BGRA pixel format.
+
+
PF_BGRX - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
BGRX pixel format.
+
+
PF_CMYK - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
CMYK pixel format.
+
+
PF_GRAY - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
Grayscale pixel format.
+
+
PF_RGB - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
RGB pixel format.
+
+
PF_RGBA - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
RGBA pixel format.
+
+
PF_RGBX - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
RGBX pixel format.
+
+
PF_XBGR - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
XBGR pixel format.
+
+
PF_XRGB - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
XRGB pixel format.
+
+
+ + + +

S

+
+
SAMP_411 - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
4:1:1 chrominance subsampling.
+
+
SAMP_420 - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
4:2:0 chrominance subsampling.
+
+
SAMP_422 - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
4:2:2 chrominance subsampling.
+
+
SAMP_440 - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
4:4:0 chrominance subsampling.
+
+
SAMP_444 - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
4:4:4 chrominance subsampling (no chrominance subsampling).
+
+
SAMP_GRAY - Static variable in class org.libjpegturbo.turbojpeg.TJ
+
+
Grayscale.
+
+
setJPEGImage(byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Deprecated. + +
+
+
setJPEGQuality(int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+
Set the JPEG image quality level for subsequent compress operations.
+
+
setSourceImage(byte[], int, int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+
Associate an uncompressed RGB, grayscale, or CMYK source image with this + compressor instance.
+
+
setSourceImage(byte[], int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+ +
+
setSourceImage(BufferedImage, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+
Associate an uncompressed RGB or grayscale source image with this + compressor instance.
+
+
setSourceImage(YUVImage) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+
Associate an uncompressed YUV planar source image with this compressor + instance.
+
+
setSourceImage(byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Associate the JPEG image of length imageSize bytes stored in + srcImage with this decompressor instance.
+
+
setSourceImage(YUVImage) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Associate the specified YUV planar source image with this decompressor + instance.
+
+
setSubsamp(int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
+
+
Set the level of chrominance subsampling for subsequent compress/encode + operations.
+
+
srcColorspace - Variable in class org.libjpegturbo.turbojpeg.TJDecompressor
+
 
+
srcHeight - Variable in class org.libjpegturbo.turbojpeg.TJDecompressor
+
 
+
srcSubsamp - Variable in class org.libjpegturbo.turbojpeg.TJDecompressor
+
 
+
srcWidth - Variable in class org.libjpegturbo.turbojpeg.TJDecompressor
+
 
+
+ + + +

T

+
+
TJ - Class in org.libjpegturbo.turbojpeg
+
+
TurboJPEG utility class (cannot be instantiated)
+
+
TJ() - Constructor for class org.libjpegturbo.turbojpeg.TJ
+
 
+
TJCompressor - Class in org.libjpegturbo.turbojpeg
+
+
TurboJPEG compressor
+
+
TJCompressor() - Constructor for class org.libjpegturbo.turbojpeg.TJCompressor
+
+
Create a TurboJPEG compressor instance.
+
+
TJCompressor(byte[], int, int, int, int, int, int) - Constructor for class org.libjpegturbo.turbojpeg.TJCompressor
+
+
Create a TurboJPEG compressor instance and associate the uncompressed source image stored in srcImage with the newly created - instance. -
TJCompressor(byte[], int, int, int, int) - -Constructor for class org.libjpegturbo.turbojpeg.TJCompressor -
Deprecated. Use - TJCompressor.TJCompressor(byte[], int, int, int, int, int, int) instead. -
TJCompressor(BufferedImage, int, int, int, int) - -Constructor for class org.libjpegturbo.turbojpeg.TJCompressor -
Create a TurboJPEG compressor instance and associate the uncompressed + instance. +
+
TJCompressor(byte[], int, int, int, int) - Constructor for class org.libjpegturbo.turbojpeg.TJCompressor
+
+ +
+
TJCompressor(BufferedImage, int, int, int, int) - Constructor for class org.libjpegturbo.turbojpeg.TJCompressor
+
+
Create a TurboJPEG compressor instance and associate the uncompressed source image stored in srcImage with the newly created - instance. -
TJCustomFilter - Interface in org.libjpegturbo.turbojpeg
Custom filter callback interface
TJDecompressor - Class in org.libjpegturbo.turbojpeg
TurboJPEG decompressor
TJDecompressor() - -Constructor for class org.libjpegturbo.turbojpeg.TJDecompressor -
Create a TurboJPEG decompresssor instance. -
TJDecompressor(byte[]) - -Constructor for class org.libjpegturbo.turbojpeg.TJDecompressor -
Create a TurboJPEG decompressor instance and associate the JPEG source - image stored in jpegImage with the newly created instance. -
TJDecompressor(byte[], int) - -Constructor for class org.libjpegturbo.turbojpeg.TJDecompressor -
Create a TurboJPEG decompressor instance and associate the JPEG source + instance. +
+
TJCustomFilter - Interface in org.libjpegturbo.turbojpeg
+
+
Custom filter callback interface
+
+
TJDecompressor - Class in org.libjpegturbo.turbojpeg
+
+
TurboJPEG decompressor
+
+
TJDecompressor() - Constructor for class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Create a TurboJPEG decompresssor instance.
+
+
TJDecompressor(byte[]) - Constructor for class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Create a TurboJPEG decompressor instance and associate the JPEG source + image stored in jpegImage with the newly created instance.
+
+
TJDecompressor(byte[], int) - Constructor for class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Create a TurboJPEG decompressor instance and associate the JPEG source image of length imageSize bytes stored in - jpegImage with the newly created instance. -
TJDecompressor(YUVImage) - -Constructor for class org.libjpegturbo.turbojpeg.TJDecompressor -
Create a TurboJPEG decompressor instance and associate the YUV planar + jpegImage with the newly created instance. +
+
TJDecompressor(YUVImage) - Constructor for class org.libjpegturbo.turbojpeg.TJDecompressor
+
+
Create a TurboJPEG decompressor instance and associate the YUV planar source image stored in yuvImage with the newly created - instance. -
TJScalingFactor - Class in org.libjpegturbo.turbojpeg
Fractional scaling factor
TJScalingFactor(int, int) - -Constructor for class org.libjpegturbo.turbojpeg.TJScalingFactor -
  -
TJTransform - Class in org.libjpegturbo.turbojpeg
Lossless transform parameters
TJTransform() - -Constructor for class org.libjpegturbo.turbojpeg.TJTransform -
Create a new lossless transform instance. -
TJTransform(int, int, int, int, int, int, TJCustomFilter) - -Constructor for class org.libjpegturbo.turbojpeg.TJTransform -
Create a new lossless transform instance with the given parameters. -
TJTransform(Rectangle, int, int, TJCustomFilter) - -Constructor for class org.libjpegturbo.turbojpeg.TJTransform -
Create a new lossless transform instance with the given parameters. -
TJTransformer - Class in org.libjpegturbo.turbojpeg
TurboJPEG lossless transformer
TJTransformer() - -Constructor for class org.libjpegturbo.turbojpeg.TJTransformer -
Create a TurboJPEG lossless transformer instance. -
TJTransformer(byte[]) - -Constructor for class org.libjpegturbo.turbojpeg.TJTransformer -
Create a TurboJPEG lossless transformer instance and associate the JPEG - image stored in jpegImage with the newly created instance. -
TJTransformer(byte[], int) - -Constructor for class org.libjpegturbo.turbojpeg.TJTransformer -
Create a TurboJPEG lossless transformer instance and associate the JPEG + instance. +
+
TJScalingFactor - Class in org.libjpegturbo.turbojpeg
+
+
Fractional scaling factor
+
+
TJScalingFactor(int, int) - Constructor for class org.libjpegturbo.turbojpeg.TJScalingFactor
+
 
+
TJTransform - Class in org.libjpegturbo.turbojpeg
+
+
Lossless transform parameters
+
+
TJTransform() - Constructor for class org.libjpegturbo.turbojpeg.TJTransform
+
+
Create a new lossless transform instance.
+
+
TJTransform(int, int, int, int, int, int, TJCustomFilter) - Constructor for class org.libjpegturbo.turbojpeg.TJTransform
+
+
Create a new lossless transform instance with the given parameters.
+
+
TJTransform(Rectangle, int, int, TJCustomFilter) - Constructor for class org.libjpegturbo.turbojpeg.TJTransform
+
+
Create a new lossless transform instance with the given parameters.
+
+
TJTransformer - Class in org.libjpegturbo.turbojpeg
+
+
TurboJPEG lossless transformer
+
+
TJTransformer() - Constructor for class org.libjpegturbo.turbojpeg.TJTransformer
+
+
Create a TurboJPEG lossless transformer instance.
+
+
TJTransformer(byte[]) - Constructor for class org.libjpegturbo.turbojpeg.TJTransformer
+
+
Create a TurboJPEG lossless transformer instance and associate the JPEG + image stored in jpegImage with the newly created instance.
+
+
TJTransformer(byte[], int) - Constructor for class org.libjpegturbo.turbojpeg.TJTransformer
+
+
Create a TurboJPEG lossless transformer instance and associate the JPEG image of length imageSize bytes stored in - jpegImage with the newly created instance. -
transform(byte[][], TJTransform[], int) - -Method in class org.libjpegturbo.turbojpeg.TJTransformer -
Losslessly transform the JPEG image associated with this transformer + jpegImage with the newly created instance. +
+
transform(byte[][], TJTransform[], int) - Method in class org.libjpegturbo.turbojpeg.TJTransformer
+
+
Losslessly transform the JPEG image associated with this transformer instance into one or more JPEG images stored in the given destination - buffers. -
transform(TJTransform[], int) - -Method in class org.libjpegturbo.turbojpeg.TJTransformer -
Losslessly transform the JPEG image associated with this transformer - instance and return an array of TJDecompressor instances, each of - which has a transformed JPEG image associated with it. -
-
-

-Y

-
-
yuvBuf - -Variable in class org.libjpegturbo.turbojpeg.YUVImage -
  -
yuvHeight - -Variable in class org.libjpegturbo.turbojpeg.YUVImage -
  -
yuvImage - -Variable in class org.libjpegturbo.turbojpeg.TJDecompressor -
  -
YUVImage - Class in org.libjpegturbo.turbojpeg
This class encapsulates a YUV planar image buffer and the metadata - associated with it.
YUVImage(int, int, int, int) - -Constructor for class org.libjpegturbo.turbojpeg.YUVImage -
Create a YUVImage instance with a new image buffer. -
YUVImage(byte[], int, int, int, int) - -Constructor for class org.libjpegturbo.turbojpeg.YUVImage -
Create a YUVImage instance from an existing YUV planar image - buffer. -
yuvPad - -Variable in class org.libjpegturbo.turbojpeg.YUVImage -
  -
yuvSubsamp - -Variable in class org.libjpegturbo.turbojpeg.YUVImage -
  -
yuvWidth - -Variable in class org.libjpegturbo.turbojpeg.YUVImage -
  -
-
-B C D E F G H I J N O P S T Y - + buffers. + +
transform(TJTransform[], int) - Method in class org.libjpegturbo.turbojpeg.TJTransformer
+
+
Losslessly transform the JPEG image associated with this transformer + instance and return an array of TJDecompressor instances, each of + which has a transformed JPEG image associated with it.
+
+ + + + +

Y

+
+
yuvBuf - Variable in class org.libjpegturbo.turbojpeg.YUVImage
+
 
+
yuvHeight - Variable in class org.libjpegturbo.turbojpeg.YUVImage
+
 
+
yuvImage - Variable in class org.libjpegturbo.turbojpeg.TJDecompressor
+
 
+
YUVImage - Class in org.libjpegturbo.turbojpeg
+
+
This class encapsulates a YUV planar image buffer and the metadata + associated with it.
+
+
YUVImage(int, int, int, int) - Constructor for class org.libjpegturbo.turbojpeg.YUVImage
+
+
Create a YUVImage instance with a new image buffer.
+
+
YUVImage(byte[], int, int, int, int) - Constructor for class org.libjpegturbo.turbojpeg.YUVImage
+
+
Create a YUVImage instance from an existing YUV planar image + buffer.
+
+
yuvPad - Variable in class org.libjpegturbo.turbojpeg.YUVImage
+
 
+
yuvSubsamp - Variable in class org.libjpegturbo.turbojpeg.YUVImage
+
 
+
yuvWidth - Variable in class org.libjpegturbo.turbojpeg.YUVImage
+
 
+
+B C D E F G H I J N O P S T Y  - - - - - - - - - - - - -
- -
- + + + + + - -
- - - + + diff --git a/java/doc/index.html b/java/doc/index.html index 356cd1d..25a639d 100644 --- a/java/doc/index.html +++ b/java/doc/index.html @@ -1,11 +1,9 @@ - - - - -Generated Documentation (Untitled) - - - - - - - - -<H2> -Frame Alert</H2> - -<P> -This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. -<BR> -Link to<A HREF="org/libjpegturbo/turbojpeg/package-summary.html">Non-frame version.</A> - - - + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="org/libjpegturbo/turbojpeg/package-summary.html">Non-frame version</a>.</p> + + + diff --git a/java/doc/org/libjpegturbo/turbojpeg/TJ.html b/java/doc/org/libjpegturbo/turbojpeg/TJ.html index bad022e..ee22e76 100644 --- a/java/doc/org/libjpegturbo/turbojpeg/TJ.html +++ b/java/doc/org/libjpegturbo/turbojpeg/TJ.html @@ -1,809 +1,712 @@ - - - - -TJ - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
- -
- + + +
+ + +
+ + + - -
-

- -org.libjpegturbo.turbojpeg -
-Class TJ

-
-java.lang.Object
-  extended by org.libjpegturbo.turbojpeg.TJ
-
-
-
-
public final class TJ
extends java.lang.Object
- - -

-TurboJPEG utility class (cannot be instantiated) -

- -

-


- -

+

+
org.libjpegturbo.turbojpeg
+

Class TJ

+
+
+ +
+
    +
  • +
    +
    +
    public final class TJ
    +extends java.lang.Object
    +
    TurboJPEG utility class (cannot be instantiated)
    +
  • +
+
+
+
    +
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    -Field Summary
    -static intCS_CMYK - -
    -          CMYK colorspace.
    -static intCS_GRAY - -
    -          Grayscale colorspace.
    -static intCS_RGB - -
    -          RGB colorspace.
    -static intCS_YCbCr - -
    -          YCbCr colorspace.
    -static intCS_YCCK - -
    -          YCCK colorspace.
    -static intFLAG_ACCURATEDCT - -
    -          Use the most accurate DCT/IDCT algorithm available in the underlying - codec.
    -static intFLAG_BOTTOMUP - -
    -          The uncompressed source/destination image is stored in bottom-up (Windows, - OpenGL) order, not top-down (X11) order.
    -static intFLAG_FASTDCT - -
    -          Use the fastest DCT/IDCT algorithm available in the underlying codec.
    -static intFLAG_FASTUPSAMPLE - -
    -          When decompressing an image that was compressed using chrominance +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static intCS_CMYK +
      CMYK colorspace.
      +
      static intCS_GRAY +
      Grayscale colorspace.
      +
      static intCS_RGB +
      RGB colorspace.
      +
      static intCS_YCbCr +
      YCbCr colorspace.
      +
      static intCS_YCCK +
      YCCK colorspace.
      +
      static intFLAG_ACCURATEDCT +
      Use the most accurate DCT/IDCT algorithm available in the underlying + codec.
      +
      static intFLAG_BOTTOMUP +
      The uncompressed source/destination image is stored in bottom-up (Windows, + OpenGL) order, not top-down (X11) order.
      +
      static intFLAG_FASTDCT +
      Use the fastest DCT/IDCT algorithm available in the underlying codec.
      +
      static intFLAG_FASTUPSAMPLE +
      When decompressing an image that was compressed using chrominance subsampling, use the fastest chrominance upsampling algorithm available in - the underlying codec.
      -static intFLAG_FORCEMMX - -
      -          Deprecated. 
      -static intFLAG_FORCESSE - -
      -          Deprecated. 
      -static intFLAG_FORCESSE2 - -
      -          Deprecated. 
      -static intFLAG_FORCESSE3 - -
      -          Deprecated. 
      -static intNUMCS - -
      -          The number of JPEG colorspaces
      -static intNUMPF - -
      -          The number of pixel formats
      -static intNUMSAMP - -
      -          The number of chrominance subsampling options
      -static intPF_ABGR - -
      -          ABGR pixel format.
      -static intPF_ARGB - -
      -          ARGB pixel format.
      -static intPF_BGR - -
      -          BGR pixel format.
      -static intPF_BGRA - -
      -          BGRA pixel format.
      -static intPF_BGRX - -
      -          BGRX pixel format.
      -static intPF_CMYK - -
      -          CMYK pixel format.
      -static intPF_GRAY - -
      -          Grayscale pixel format.
      -static intPF_RGB - -
      -          RGB pixel format.
      -static intPF_RGBA - -
      -          RGBA pixel format.
      -static intPF_RGBX - -
      -          RGBX pixel format.
      -static intPF_XBGR - -
      -          XBGR pixel format.
      -static intPF_XRGB - -
      -          XRGB pixel format.
      -static intSAMP_411 - -
      -          4:1:1 chrominance subsampling.
      -static intSAMP_420 - -
      -          4:2:0 chrominance subsampling.
      -static intSAMP_422 - -
      -          4:2:2 chrominance subsampling.
      -static intSAMP_440 - -
      -          4:4:0 chrominance subsampling.
      -static intSAMP_444 - -
      -          4:4:4 chrominance subsampling (no chrominance subsampling).
      -static intSAMP_GRAY - -
      -          Grayscale.
      -  + the underlying codec. +
    static intFLAG_FORCEMMX +
    Deprecated. 
    +
    static intFLAG_FORCESSE +
    Deprecated. 
    +
    static intFLAG_FORCESSE2 +
    Deprecated. 
    +
    static intFLAG_FORCESSE3 +
    Deprecated. 
    +
    static intNUMCS +
    The number of JPEG colorspaces
    +
    static intNUMPF +
    The number of pixel formats
    +
    static intNUMSAMP +
    The number of chrominance subsampling options
    +
    static intPF_ABGR +
    ABGR pixel format.
    +
    static intPF_ARGB +
    ARGB pixel format.
    +
    static intPF_BGR +
    BGR pixel format.
    +
    static intPF_BGRA +
    BGRA pixel format.
    +
    static intPF_BGRX +
    BGRX pixel format.
    +
    static intPF_CMYK +
    CMYK pixel format.
    +
    static intPF_GRAY +
    Grayscale pixel format.
    +
    static intPF_RGB +
    RGB pixel format.
    +
    static intPF_RGBA +
    RGBA pixel format.
    +
    static intPF_RGBX +
    RGBX pixel format.
    +
    static intPF_XBGR +
    XBGR pixel format.
    +
    static intPF_XRGB +
    XRGB pixel format.
    +
    static intSAMP_411 +
    4:1:1 chrominance subsampling.
    +
    static intSAMP_420 +
    4:2:0 chrominance subsampling.
    +
    static intSAMP_422 +
    4:2:2 chrominance subsampling.
    +
    static intSAMP_440 +
    4:4:0 chrominance subsampling.
    +
    static intSAMP_444 +
    4:4:4 chrominance subsampling (no chrominance subsampling).
    +
    static intSAMP_GRAY +
    Grayscale.
    +
    +
  • +
- - - - - - - - - -
-Constructor Summary
TJ() - -
-           
-  +
    +
  • + + +

    Constructor Summary

    + + + + + + + + +
    Constructors 
    Constructor and Description
    TJ() 
    +
  • +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static intbufSize(int width, - int height, - int jpegSubsamp) - -
-          Returns the maximum size of the buffer (in bytes) required to hold a JPEG - image with the given width, height, and level of chrominance subsampling.
-static intbufSizeYUV(int width, - int height, - int subsamp) - -
-          Deprecated. Use bufSizeYUV(int, int, int, int) instead.
-static intbufSizeYUV(int width, - int pad, - int height, - int subsamp) - -
-          Returns the size of the buffer (in bytes) required to hold a YUV planar - image with the given width, height, and level of chrominance subsampling.
-static intgetBlueOffset(int pixelFormat) - -
-          For the given pixel format, returns the number of bytes that the blue - component is offset from the start of the pixel.
-static intgetGreenOffset(int pixelFormat) - -
-          For the given pixel format, returns the number of bytes that the green - component is offset from the start of the pixel.
-static intgetMCUHeight(int subsamp) - -
-          Returns the MCU block height for the given level of chrominance - subsampling.
-static intgetMCUWidth(int subsamp) - -
-          Returns the MCU block width for the given level of chrominance - subsampling.
-static intgetPixelSize(int pixelFormat) - -
-          Returns the pixel size (in bytes) for the given pixel format.
-static intgetRedOffset(int pixelFormat) - -
-          For the given pixel format, returns the number of bytes that the red - component is offset from the start of the pixel.
-static TJScalingFactor[]getScalingFactors() - -
-          Returns a list of fractional scaling factors that the JPEG decompressor in - this implementation of TurboJPEG supports.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- +

    +
  • + + +

    Method Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Methods 
    Modifier and TypeMethod and Description
    static intbufSize(int width, + int height, + int jpegSubsamp) +
    Returns the maximum size of the buffer (in bytes) required to hold a JPEG + image with the given width, height, and level of chrominance subsampling.
    +
    static intbufSizeYUV(int width, + int height, + int subsamp) +
    Deprecated.  + +
    +
    static intbufSizeYUV(int width, + int pad, + int height, + int subsamp) +
    Returns the size of the buffer (in bytes) required to hold a YUV planar + image with the given width, height, and level of chrominance subsampling.
    +
    static intgetBlueOffset(int pixelFormat) +
    For the given pixel format, returns the number of bytes that the blue + component is offset from the start of the pixel.
    +
    static intgetGreenOffset(int pixelFormat) +
    For the given pixel format, returns the number of bytes that the green + component is offset from the start of the pixel.
    +
    static intgetMCUHeight(int subsamp) +
    Returns the MCU block height for the given level of chrominance + subsampling.
    +
    static intgetMCUWidth(int subsamp) +
    Returns the MCU block width for the given level of chrominance + subsampling.
    +
    static intgetPixelSize(int pixelFormat) +
    Returns the pixel size (in bytes) for the given pixel format.
    +
    static intgetRedOffset(int pixelFormat) +
    For the given pixel format, returns the number of bytes that the red + component is offset from the start of the pixel.
    +
    static TJScalingFactor[]getScalingFactors() +
    Returns a list of fractional scaling factors that the JPEG decompressor in + this implementation of TurboJPEG supports.
    +
    +
      +
    • + + +

      Methods inherited from class java.lang.Object

      +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • +
    +
  • +
+ + +
+
+
    +
  • - - - - - - -
    -Field Detail
    - -

    -NUMSAMP

    -
    -public static final int NUMSAMP
    -
    -
    The number of chrominance subsampling options -

    -

    -
    See Also:
    Constant Field Values
    -
    -
    - -

    -SAMP_444

    -
    -public static final int SAMP_444
    -
    -
    4:4:4 chrominance subsampling (no chrominance subsampling). The JPEG +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        NUMSAMP

        +
        public static final int NUMSAMP
        +
        The number of chrominance subsampling options
        +
        See Also:
        Constant Field Values
        +
      • +
      + + + +
        +
      • +

        SAMP_444

        +
        public static final int SAMP_444
        +
        4:4:4 chrominance subsampling (no chrominance subsampling). The JPEG or YUV image will contain one chrominance component for every pixel in the - source image. -

        -

        -
        See Also:
        Constant Field Values
        -
    -
    - -

    -SAMP_422

    -
    -public static final int SAMP_422
    -
    -
    4:2:2 chrominance subsampling. The JPEG or YUV image will contain one - chrominance component for every 2x1 block of pixels in the source image. -

    -

    -
    See Also:
    Constant Field Values
    -
    -
    - -

    -SAMP_420

    -
    -public static final int SAMP_420
    -
    -
    4:2:0 chrominance subsampling. The JPEG or YUV image will contain one - chrominance component for every 2x2 block of pixels in the source image. -

    -

    -
    See Also:
    Constant Field Values
    -
    -
    - -

    -SAMP_GRAY

    -
    -public static final int SAMP_GRAY
    -
    -
    Grayscale. The JPEG or YUV image will contain no chrominance components. -

    -

    -
    See Also:
    Constant Field Values
    -
    -
    - -

    -SAMP_440

    -
    -public static final int SAMP_440
    -
    -
    4:4:0 chrominance subsampling. The JPEG or YUV image will contain one + source image.
+
See Also:
Constant Field Values
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - -
-Constructor Detail
- -

-TJ

-
-public TJ()
-
-
- + - - - - - - -
-Method Detail
- -

-getMCUWidth

-
-public static int getMCUWidth(int subsamp)
-                       throws java.lang.Exception
-
-
Returns the MCU block width for the given level of chrominance - subsampling. -

-

-
Parameters:
subsamp - the level of chrominance subsampling (one of - SAMP_*) -
Returns:
the MCU block width for the given level of chrominance subsampling -
Throws: -
java.lang.Exception
-
-
-
- -

-getMCUHeight

-
-public static int getMCUHeight(int subsamp)
-                        throws java.lang.Exception
-
-
Returns the MCU block height for the given level of chrominance - subsampling. -

-

-
Parameters:
subsamp - the level of chrominance subsampling (one of - SAMP_*) -
Returns:
the MCU block height for the given level of chrominance - subsampling -
Throws: -
java.lang.Exception
-
-
-
- -

-getPixelSize

-
-public static int getPixelSize(int pixelFormat)
-                        throws java.lang.Exception
-
-
Returns the pixel size (in bytes) for the given pixel format. -

-

-
Parameters:
pixelFormat - the pixel format (one of PF_*) -
Returns:
the pixel size (in bytes) for the given pixel format -
Throws: -
java.lang.Exception
-
-
-
- -

-getRedOffset

-
-public static int getRedOffset(int pixelFormat)
-                        throws java.lang.Exception
-
-
For the given pixel format, returns the number of bytes that the red +
    +
  • + + +

    Method Detail

    + + + +
      +
    • +

      getMCUWidth

      +
      public static int getMCUWidth(int subsamp)
      +                       throws java.lang.Exception
      +
      Returns the MCU block width for the given level of chrominance + subsampling.
      +
      Parameters:
      subsamp - the level of chrominance subsampling (one of + SAMP_*)
      +
      Returns:
      the MCU block width for the given level of chrominance subsampling
      +
      Throws:
      +
      java.lang.Exception
      +
    • +
    + + + +
      +
    • +

      getMCUHeight

      +
      public static int getMCUHeight(int subsamp)
      +                        throws java.lang.Exception
      +
      Returns the MCU block height for the given level of chrominance + subsampling.
      +
      Parameters:
      subsamp - the level of chrominance subsampling (one of + SAMP_*)
      +
      Returns:
      the MCU block height for the given level of chrominance + subsampling
      +
      Throws:
      +
      java.lang.Exception
      +
    • +
    + + + +
      +
    • +

      getPixelSize

      +
      public static int getPixelSize(int pixelFormat)
      +                        throws java.lang.Exception
      +
      Returns the pixel size (in bytes) for the given pixel format.
      +
      Parameters:
      pixelFormat - the pixel format (one of PF_*)
      +
      Returns:
      the pixel size (in bytes) for the given pixel format
      +
      Throws:
      +
      java.lang.Exception
      +
    • +
    + + + +
      +
    • +

      getRedOffset

      +
      public static int getRedOffset(int pixelFormat)
      +                        throws java.lang.Exception
      +
      For the given pixel format, returns the number of bytes that the red component is offset from the start of the pixel. For instance, if a pixel of format TJ.PF_BGRX is stored in char pixel[], then the red component will be - pixel[TJ.getRedOffset(TJ.PF_BGRX)]. -

      -

      -
      Parameters:
      pixelFormat - the pixel format (one of PF_*) -
      Returns:
      the red offset for the given pixel format -
      Throws: -
      java.lang.Exception
      -
      -
-
- -

-getGreenOffset

-
-public static int getGreenOffset(int pixelFormat)
-                          throws java.lang.Exception
-
-
For the given pixel format, returns the number of bytes that the green + pixel[TJ.getRedOffset(TJ.PF_BGRX)].
+
Parameters:
pixelFormat - the pixel format (one of PF_*)
+
Returns:
the red offset for the given pixel format
+
Throws:
+
java.lang.Exception
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
- - - - - - - - - - - - - - - - - - -
- -
- + + +
+ + +
+ + + - -
- - - + + diff --git a/java/doc/org/libjpegturbo/turbojpeg/TJCompressor.html b/java/doc/org/libjpegturbo/turbojpeg/TJCompressor.html index 3c24544..6c367a7 100644 --- a/java/doc/org/libjpegturbo/turbojpeg/TJCompressor.html +++ b/java/doc/org/libjpegturbo/turbojpeg/TJCompressor.html @@ -1,597 +1,558 @@ - - - - -TJCompressor - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
- -
- + + +
+ + +
+ + + - -
-

- -org.libjpegturbo.turbojpeg -
-Class TJCompressor

-
-java.lang.Object
-  extended by org.libjpegturbo.turbojpeg.TJCompressor
-
-
-
-
public class TJCompressor
extends java.lang.Object
- - -

-TurboJPEG compressor -

- -

-


- -

- +

+
org.libjpegturbo.turbojpeg
+

Class TJCompressor

+
+
+ +
+
    +
  • +
    +
    +
    public class TJCompressor
    +extends java.lang.Object
    +
    TurboJPEG compressor
    +
  • +
+
+
+
    +
  • - - - - - - - - - - - + +
    -Constructor Summary
    TJCompressor() - -
    -          Create a TurboJPEG compressor instance.
    TJCompressor(java.awt.image.BufferedImage srcImage, - int x, - int y, - int width, - int height) - -
    -          Create a TurboJPEG compressor instance and associate the uncompressed +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + - - - - - - + + + + + + - -
      Constructors 
      Constructor and Description
      TJCompressor() +
      Create a TurboJPEG compressor instance.
      +
      TJCompressor(java.awt.image.BufferedImage srcImage, + int x, + int y, + int width, + int height) +
      Create a TurboJPEG compressor instance and associate the uncompressed source image stored in srcImage with the newly created - instance.
      TJCompressor(byte[] srcImage, - int width, - int pitch, - int height, - int pixelFormat) - -
      -          Deprecated. Use - TJCompressor(byte[], int, int, int, int, int, int) instead.
      TJCompressor(byte[] srcImage, - int x, - int y, - int width, - int pitch, - int height, - int pixelFormat) - -
      -          Create a TurboJPEG compressor instance and associate the uncompressed + instance. +
      TJCompressor(byte[] srcImage, + int width, + int pitch, + int height, + int pixelFormat) + +
      TJCompressor(byte[] srcImage, + int x, + int y, + int width, + int pitch, + int height, + int pixelFormat) +
      Create a TurboJPEG compressor instance and associate the uncompressed source image stored in srcImage with the newly created - instance.
      -  + instance. +
    +
  • +
- - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-Method Summary
- voidclose() - -
-          Free the native structures associated with this compressor instance.
- voidcompress(java.awt.image.BufferedImage srcImage, +
    +
  • + + +

    Method Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods 
    Modifier and TypeMethod and Description
    voidclose() +
    Free the native structures associated with this compressor instance.
    +
    voidcompress(java.awt.image.BufferedImage srcImage, + byte[] dstBuf, + int flags) + +
    byte[]compress(java.awt.image.BufferedImage srcImage, + int flags) + +
    voidcompress(byte[] dstBuf, + int flags) +
    Compress the uncompressed source image associated with this compressor + instance and output a JPEG image to the given destination buffer.
    +
    byte[]compress(int flags) +
    Compress the uncompressed source image associated with this compressor + instance and return a buffer containing a JPEG image.
    +
    voidencodeYUV(java.awt.image.BufferedImage srcImage, byte[] dstBuf, - int flags) - -
    -          Deprecated. Use - setSourceImage(BufferedImage, int, int, int, int) and - compress(byte[], int) instead.
    - byte[]compress(java.awt.image.BufferedImage srcImage, - int flags) - -
    -          Deprecated. Use - setSourceImage(BufferedImage, int, int, int, int) and - compress(int) instead.
    - voidcompress(byte[] dstBuf, - int flags) - -
    -          Compress the uncompressed source image associated with this compressor - instance and output a JPEG image to the given destination buffer.
    - byte[]compress(int flags) - -
    -          Compress the uncompressed source image associated with this compressor - instance and return a buffer containing a JPEG image.
    - voidencodeYUV(java.awt.image.BufferedImage srcImage, - byte[] dstBuf, - int flags) - -
    -          Deprecated. Use - setSourceImage(BufferedImage, int, int, int, int) and - encodeYUV(byte[], int) instead.
    - byte[]encodeYUV(java.awt.image.BufferedImage srcImage, - int flags) - -
    -          Deprecated. Use - setSourceImage(BufferedImage, int, int, int, int) and - encodeYUV(int) instead.
    - voidencodeYUV(byte[] dstBuf, - int flags) - -
    -          Deprecated. Use encodeYUV(YUVImage, int) instead.
    - byte[]encodeYUV(int flags) - -
    -          Deprecated. Use encodeYUV(int, int) instead.
    - YUVImageencodeYUV(int pad, - int flags) - -
    -          Encode the uncompressed source image associated with this compressor + int flags) + +
    byte[]encodeYUV(java.awt.image.BufferedImage srcImage, + int flags) + +
    voidencodeYUV(byte[] dstBuf, + int flags) +
    Deprecated.  + +
    +
    byte[]encodeYUV(int flags) +
    Deprecated.  +
    Use encodeYUV(int, int) instead.
    +
    +
    YUVImageencodeYUV(int pad, + int flags) +
    Encode the uncompressed source image associated with this compressor instance into a YUV planar image and return a YUVImage - instance containing the encoded image.
    - voidencodeYUV(YUVImage dstImage, - int flags) - -
    -          Encode the uncompressed source image associated with this compressor + instance containing the encoded image. +
    voidencodeYUV(YUVImage dstImage, + int flags) +
    Encode the uncompressed source image associated with this compressor instance into a YUV planar image and store it in the given - YUVImage instance.
    -protected  voidfinalize() - -
    -           
    - intgetCompressedSize() - -
    -          Returns the size of the image (in bytes) generated by the most recent - compress/encode operation.
    - voidsetJPEGQuality(int quality) - -
    -          Set the JPEG image quality level for subsequent compress operations.
    - voidsetSourceImage(java.awt.image.BufferedImage srcImage, - int x, - int y, - int width, - int height) - -
    -          Associate an uncompressed RGB or grayscale source image with this - compressor instance.
    - voidsetSourceImage(byte[] srcImage, - int width, - int pitch, - int height, - int pixelFormat) - -
    -          Deprecated. Use - setSourceImage(byte[], int, int, int, int, int, int) instead.
    - voidsetSourceImage(byte[] srcImage, - int x, - int y, - int width, - int pitch, - int height, - int pixelFormat) - -
    -          Associate an uncompressed RGB, grayscale, or CMYK source image with this - compressor instance.
    - voidsetSourceImage(YUVImage srcImage) - -
    -          Associate an uncompressed YUV planar source image with this compressor - instance.
    - voidsetSubsamp(int newSubsamp) - -
    -          Set the level of chrominance subsampling for subsequent compress/encode - operations.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - + YUVImage instance. +

protected voidfinalize() 
intgetCompressedSize() +
Returns the size of the image (in bytes) generated by the most recent + compress/encode operation.
+
voidsetJPEGQuality(int quality) +
Set the JPEG image quality level for subsequent compress operations.
+
voidsetSourceImage(java.awt.image.BufferedImage srcImage, + int x, + int y, + int width, + int height) +
Associate an uncompressed RGB or grayscale source image with this + compressor instance.
+
voidsetSourceImage(byte[] srcImage, + int width, + int pitch, + int height, + int pixelFormat) + +
voidsetSourceImage(byte[] srcImage, + int x, + int y, + int width, + int pitch, + int height, + int pixelFormat) +
Associate an uncompressed RGB, grayscale, or CMYK source image with this + compressor instance.
+
voidsetSourceImage(YUVImage srcImage) +
Associate an uncompressed YUV planar source image with this compressor + instance.
+
voidsetSubsamp(int newSubsamp) +
Set the level of chrominance subsampling for subsequent compress/encode + operations.
+
+
    +
  • + + +

    Methods inherited from class java.lang.Object

    +clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • +
+ + + + +
+
+
    +
  • - - - - - - -
    -Constructor Detail
    - -

    -TJCompressor

    -
    -public TJCompressor()
    -             throws java.lang.Exception
    -
    -
    Create a TurboJPEG compressor instance. -

    -

    - -
    Throws: -
    java.lang.Exception
    -
    -
    - -

    -TJCompressor

    -
    -public TJCompressor(byte[] srcImage,
    -                    int x,
    -                    int y,
    -                    int width,
    -                    int pitch,
    -                    int height,
    -                    int pixelFormat)
    -             throws java.lang.Exception
    -
    -
    Create a TurboJPEG compressor instance and associate the uncompressed +
    -
    - -

    -TJCompressor

    -
    -@Deprecated
    -public TJCompressor(byte[] srcImage,
    -                               int width,
    -                               int pitch,
    -                               int height,
    -                               int pixelFormat)
    -             throws java.lang.Exception
    -
    -
    Deprecated. Use - TJCompressor(byte[], int, int, int, int, int, int) instead. -

    -

    - -
    Throws: -
    java.lang.Exception
    -
    -
    - -

    -TJCompressor

    -
    -public TJCompressor(java.awt.image.BufferedImage srcImage,
    -                    int x,
    -                    int y,
    -                    int width,
    -                    int height)
    -             throws java.lang.Exception
    -
    -
    Create a TurboJPEG compressor instance and associate the uncompressed + instance.
+
Parameters:
srcImage - see setSourceImage(byte[], int, int, int, int, int, int) for description
x - see setSourceImage(byte[], int, int, int, int, int, int) for description
y - see setSourceImage(byte[], int, int, int, int, int, int) for description
width - see setSourceImage(byte[], int, int, int, int, int, int) for description
pitch - see setSourceImage(byte[], int, int, int, int, int, int) for description
height - see setSourceImage(byte[], int, int, int, int, int, int) for description
pixelFormat - pixel format of the source image (one of + TJ.PF_*)
+
Throws:
+
java.lang.Exception
+ + + + + + + + + + + + - - - - - - -
-Method Detail
- -

-setSourceImage

-
-public void setSourceImage(byte[] srcImage,
-                           int x,
-                           int y,
-                           int width,
-                           int pitch,
-                           int height,
-                           int pixelFormat)
-                    throws java.lang.Exception
-
-
Associate an uncompressed RGB, grayscale, or CMYK source image with this - compressor instance. -

-

-
Parameters:
srcImage - image buffer containing RGB, grayscale, or CMYK pixels to - be compressed or encoded
x - x offset (in pixels) of the region in the source image from which - the JPEG or YUV image should be compressed/encoded
y - y offset (in pixels) of the region in the source image from which - the JPEG or YUV image should be compressed/encoded
width - width (in pixels) of the region in the source image from - which the JPEG or YUV image should be compressed/encoded
pitch - bytes per line of the source image. Normally, this should be +
    +
  • + + +

    Method Detail

    + + + +
      +
    • +

      setSourceImage

      +
      public void setSourceImage(byte[] srcImage,
      +                  int x,
      +                  int y,
      +                  int width,
      +                  int pitch,
      +                  int height,
      +                  int pixelFormat)
      +                    throws java.lang.Exception
      +
      Associate an uncompressed RGB, grayscale, or CMYK source image with this + compressor instance.
      +
      Parameters:
      srcImage - image buffer containing RGB, grayscale, or CMYK pixels to + be compressed or encoded
      x - x offset (in pixels) of the region in the source image from which + the JPEG or YUV image should be compressed/encoded
      y - y offset (in pixels) of the region in the source image from which + the JPEG or YUV image should be compressed/encoded
      width - width (in pixels) of the region in the source image from + which the JPEG or YUV image should be compressed/encoded
      pitch - bytes per line of the source image. Normally, this should be width * TJ.pixelSize(pixelFormat) if the source image is unpadded, but you can use this parameter to, for instance, specify that the scanlines in the source image are padded to a 4-byte boundary or to compress/encode a JPEG or YUV image from a region of a larger source image. You can also be clever and use this parameter to skip lines, etc. Setting this parameter to 0 is the equivalent of setting it to - width * TJ.pixelSize(pixelFormat).
      height - height (in pixels) of the region in the source image from - which the JPEG or YUV image should be compressed/encoded
      pixelFormat - pixel format of the source image (one of - TJ.PF_*) -
      Throws: -
      java.lang.Exception
      -
-
-
- -

-setSourceImage

-
-@Deprecated
-public void setSourceImage(byte[] srcImage,
-                                      int width,
-                                      int pitch,
-                                      int height,
-                                      int pixelFormat)
-                    throws java.lang.Exception
-
-
Deprecated. Use - setSourceImage(byte[], int, int, int, int, int, int) instead. -

-

- -
Throws: -
java.lang.Exception
-
-
-
- -

-setSourceImage

-
-public void setSourceImage(java.awt.image.BufferedImage srcImage,
-                           int x,
-                           int y,
-                           int width,
-                           int height)
-                    throws java.lang.Exception
-
-
Associate an uncompressed RGB or grayscale source image with this - compressor instance. -

-

-
Parameters:
srcImage - a BufferedImage instance containing RGB or - grayscale pixels to be compressed or encoded
x - x offset (in pixels) of the region in the source image from which - the JPEG or YUV image should be compressed/encoded
y - y offset (in pixels) of the region in the source image from which - the JPEG or YUV image should be compressed/encoded
width - width (in pixels) of the region in the source image from + width * TJ.pixelSize(pixelFormat).
height - height (in pixels) of the region in the source image from + which the JPEG or YUV image should be compressed/encoded
pixelFormat - pixel format of the source image (one of + TJ.PF_*)
+
Throws:
+
java.lang.Exception
+ + + + + +
    +
  • +

    setSourceImage

    +
    @Deprecated
    +public void setSourceImage(byte[] srcImage,
    +                             int width,
    +                             int pitch,
    +                             int height,
    +                             int pixelFormat)
    +                    throws java.lang.Exception
    + +
    Throws:
    +
    java.lang.Exception
    +
  • +
+ + + +
    +
  • +

    setSourceImage

    +
    public void setSourceImage(java.awt.image.BufferedImage srcImage,
    +                  int x,
    +                  int y,
    +                  int width,
    +                  int height)
    +                    throws java.lang.Exception
    +
    Associate an uncompressed RGB or grayscale source image with this + compressor instance.
    +
    Parameters:
    srcImage - a BufferedImage instance containing RGB or + grayscale pixels to be compressed or encoded
    x - x offset (in pixels) of the region in the source image from which + the JPEG or YUV image should be compressed/encoded
    y - y offset (in pixels) of the region in the source image from which + the JPEG or YUV image should be compressed/encoded
    width - width (in pixels) of the region in the source image from which the JPEG or YUV image should be compressed/encoded (0 = use the - width of the source image)
    height - height (in pixels) of the region in the source image from + width of the source image)
    height - height (in pixels) of the region in the source image from which the JPEG or YUV image should be compressed/encoded (0 = use the - height of the source image) -
    Throws: -
    java.lang.Exception
    -
-
-
- -

-setSourceImage

-
-public void setSourceImage(YUVImage srcImage)
-                    throws java.lang.Exception
-
-
Associate an uncompressed YUV planar source image with this compressor - instance. -

-

-
Parameters:
srcImage - YUV planar image to be compressed -
Throws: -
java.lang.Exception
-
-
-
- -

-setSubsamp

-
-public void setSubsamp(int newSubsamp)
-                throws java.lang.Exception
-
-
Set the level of chrominance subsampling for subsequent compress/encode + height of the source image)
+
Throws:
+
java.lang.Exception
+ + + + + +
    +
  • +

    setSourceImage

    +
    public void setSourceImage(YUVImage srcImage)
    +                    throws java.lang.Exception
    +
    Associate an uncompressed YUV planar source image with this compressor + instance.
    +
    Parameters:
    srcImage - YUV planar image to be compressed
    +
    Throws:
    +
    java.lang.Exception
    +
  • +
+ + + +
    +
  • +

    setSubsamp

    +
    public void setSubsamp(int newSubsamp)
    +                throws java.lang.Exception
    +
    Set the level of chrominance subsampling for subsequent compress/encode operations. When pixels are converted from RGB to YCbCr (see - TJ.CS_YCbCr) or from CMYK to YCCK (see TJ.CS_YCCK) as part + TJ.CS_YCbCr) or from CMYK to YCCK (see TJ.CS_YCCK) as part of the JPEG compression process, some of the Cb and Cr (chrominance) components can be discarded or averaged together to produce a smaller image with little perceptible loss of image clarity (the human eye is more @@ -601,352 +562,319 @@ public void setSubsamp(int newSubsamp) NOTE: This method has no effect when compressing a JPEG image from a YUV planar source. In that case, the level of chrominance subsampling in the JPEG image is determined by the source. Further, this method has no - effect when encoding to a pre-allocated YUVImage instance. In + effect when encoding to a pre-allocated YUVImage instance. In that case, the level of chrominance subsampling is determined by the - destination. -

    -

    -
    Parameters:
    newSubsamp - the level of chrominance subsampling to use in + destination.
    +
    Parameters:
    newSubsamp - the level of chrominance subsampling to use in subsequent compress/encode oeprations (one of - TJ.SAMP_*) -
    Throws: -
    java.lang.Exception
    -
-
-
- -

-setJPEGQuality

-
-public void setJPEGQuality(int quality)
-                    throws java.lang.Exception
-
-
Set the JPEG image quality level for subsequent compress operations. -

-

-
Parameters:
quality - the new JPEG image quality level (1 to 100, 1 = worst, - 100 = best) -
Throws: -
java.lang.Exception
-
-
-
- -

-compress

-
-public void compress(byte[] dstBuf,
-                     int flags)
-              throws java.lang.Exception
-
-
Compress the uncompressed source image associated with this compressor - instance and output a JPEG image to the given destination buffer. -

-

-
Parameters:
dstBuf - buffer that will receive the JPEG image. Use - TJ.bufSize(int, int, int) to determine the maximum size for this buffer based on + TJ.SAMP_*)
+
Throws:
+
java.lang.Exception
+ + + + + +
    +
  • +

    setJPEGQuality

    +
    public void setJPEGQuality(int quality)
    +                    throws java.lang.Exception
    +
    Set the JPEG image quality level for subsequent compress operations.
    +
    Parameters:
    quality - the new JPEG image quality level (1 to 100, 1 = worst, + 100 = best)
    +
    Throws:
    +
    java.lang.Exception
    +
  • +
+ + + +
    +
  • +

    compress

    +
    public void compress(byte[] dstBuf,
    +            int flags)
    +              throws java.lang.Exception
    +
    Compress the uncompressed source image associated with this compressor + instance and output a JPEG image to the given destination buffer.
    +
    Parameters:
    dstBuf - buffer that will receive the JPEG image. Use + TJ.bufSize(int, int, int) to determine the maximum size for this buffer based on the source image's width and height and the desired level of chrominance - subsampling.
    flags - the bitwise OR of one or more of - TJ.FLAG_* -
    Throws: -
    java.lang.Exception
    -
-
-
- -

-compress

-
-public byte[] compress(int flags)
-                throws java.lang.Exception
-
-
Compress the uncompressed source image associated with this compressor - instance and return a buffer containing a JPEG image. -

-

-
Parameters:
flags - the bitwise OR of one or more of - TJ.FLAG_* -
Returns:
a buffer containing a JPEG image. The length of this buffer will - not be equal to the size of the JPEG image. Use getCompressedSize() to obtain the size of the JPEG image. -
Throws: -
java.lang.Exception
-
-
-
- -

-compress

-
-@Deprecated
-public void compress(java.awt.image.BufferedImage srcImage,
-                                byte[] dstBuf,
-                                int flags)
-              throws java.lang.Exception
-
-
Deprecated. Use - setSourceImage(BufferedImage, int, int, int, int) and - compress(byte[], int) instead. -

-

- -
Throws: -
java.lang.Exception
-
-
-
- -

-compress

-
-@Deprecated
-public byte[] compress(java.awt.image.BufferedImage srcImage,
-                                  int flags)
-                throws java.lang.Exception
-
-
Deprecated. Use - setSourceImage(BufferedImage, int, int, int, int) and - compress(int) instead. -

-

- -
Throws: -
java.lang.Exception
-
-
-
- -

-encodeYUV

-
-public void encodeYUV(YUVImage dstImage,
-                      int flags)
-               throws java.lang.Exception
-
-
Encode the uncompressed source image associated with this compressor + subsampling.
flags - the bitwise OR of one or more of + TJ.FLAG_*
+
Throws:
+
java.lang.Exception
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
- -
- + + +
+ + +
+ + + - -
- - - + + diff --git a/java/doc/org/libjpegturbo/turbojpeg/TJCustomFilter.html b/java/doc/org/libjpegturbo/turbojpeg/TJCustomFilter.html index 3291c71..bac519b 100644 --- a/java/doc/org/libjpegturbo/turbojpeg/TJCustomFilter.html +++ b/java/doc/org/libjpegturbo/turbojpeg/TJCustomFilter.html @@ -1,238 +1,237 @@ - - - - -TJCustomFilter - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
- -
- + + +
+ + +
+ + + - -
-

- -org.libjpegturbo.turbojpeg -
-Interface TJCustomFilter

-
-
-
public interface TJCustomFilter
- - -

-Custom filter callback interface -

- -

-


- -

- +

+
org.libjpegturbo.turbojpeg
+

Interface TJCustomFilter

+
+
+
+
    +
  • +
    +
    +
    public interface TJCustomFilter
    +
    Custom filter callback interface
    +
  • +
+
+
+
    +
  • - - - - - - - - - + +
    -Method Summary
    - voidcustomFilter(java.nio.ShortBuffer coeffBuffer, - java.awt.Rectangle bufferRegion, - java.awt.Rectangle planeRegion, - int componentID, - int transformID, - TJTransform transform) - -
    -          A callback function that can be used to modify the DCT coefficients after +
      +
    • + + +

      Method Summary

      + + + + + + + + + - -
      Methods 
      Modifier and TypeMethod and Description
      voidcustomFilter(java.nio.ShortBuffer coeffBuffer, + java.awt.Rectangle bufferRegion, + java.awt.Rectangle planeRegion, + int componentID, + int transformID, + TJTransform transform) +
      A callback function that can be used to modify the DCT coefficients after they are losslessly transformed but before they are transcoded to a new - JPEG image.
      -  -

      - + JPEG image. +

    +
  • +
+ + +
+
+
    +
  • - - - - - - -
    -Method Detail
    - -

    -customFilter

    -
    -void customFilter(java.nio.ShortBuffer coeffBuffer,
    -                  java.awt.Rectangle bufferRegion,
    -                  java.awt.Rectangle planeRegion,
    -                  int componentID,
    -                  int transformID,
    -                  TJTransform transform)
    -                  throws java.lang.Exception
    -
    -
    A callback function that can be used to modify the DCT coefficients after +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        customFilter

        +
        void customFilter(java.nio.ShortBuffer coeffBuffer,
        +                java.awt.Rectangle bufferRegion,
        +                java.awt.Rectangle planeRegion,
        +                int componentID,
        +                int transformID,
        +                TJTransform transform)
        +                  throws java.lang.Exception
        +
        A callback function that can be used to modify the DCT coefficients after they are losslessly transformed but before they are transcoded to a new JPEG image. This allows for custom filters or other transformations to be - applied in the frequency domain. -

        -

        -
        Parameters:
        coeffBuffer - a buffer containing transformed DCT coefficients. + applied in the frequency domain.
        +
        Parameters:
        coeffBuffer - a buffer containing transformed DCT coefficients. (NOTE: this buffer is not guaranteed to be valid once the callback returns, so applications wishing to hand off the DCT coefficients to another function or library should make a copy of them within the body of - the callback.)
        bufferRegion - rectangle containing the width and height of + the callback.)
        bufferRegion - rectangle containing the width and height of coeffBuffer as well as its offset relative to the component plane. TurboJPEG implementations may choose to split each component plane into multiple DCT coefficient buffers and call the callback function once - for each buffer.
        planeRegion - rectangle containing the width and height of the - component plane to which coeffBuffer belongs
        componentID - ID number of the component plane to which + for each buffer.
        planeRegion - rectangle containing the width and height of the + component plane to which coeffBuffer belongs
        componentID - ID number of the component plane to which coeffBuffer belongs (Y, Cb, and Cr have, respectively, ID's - of 0, 1, and 2 in typical JPEG images.)
        transformID - ID number of the transformed image to which + of 0, 1, and 2 in typical JPEG images.)
        transformID - ID number of the transformed image to which coeffBuffer belongs. This is the same as the index of the - transform in the transforms array that was passed to TJTransformer.transform().
        transform - a TJTransform instance that specifies the - parameters and/or cropping region for this transform -
        Throws: -
        java.lang.Exception
        -
    -
    + transform in the transforms array that was passed to TJTransformer.transform().
    transform - a TJTransform instance that specifies the + parameters and/or cropping region for this transform
    +
    Throws:
    +
    java.lang.Exception
    +
  • +
+ + + + +
+
-
- - - - - - - - - - - - - - - - - - -
- -
- + + +
+ + +
+ + + - -
- - - + + diff --git a/java/doc/org/libjpegturbo/turbojpeg/TJDecompressor.html b/java/doc/org/libjpegturbo/turbojpeg/TJDecompressor.html index 01007b3..af6a902 100644 --- a/java/doc/org/libjpegturbo/turbojpeg/TJDecompressor.html +++ b/java/doc/org/libjpegturbo/turbojpeg/TJDecompressor.html @@ -1,978 +1,862 @@ - - - - -TJDecompressor - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
- -
- + + +
+ + +
+ + + - -
-

- -org.libjpegturbo.turbojpeg -
-Class TJDecompressor

-
-java.lang.Object
-  extended by org.libjpegturbo.turbojpeg.TJDecompressor
-
-
-
Direct Known Subclasses:
TJTransformer
-
-
-
-
public class TJDecompressor
extends java.lang.Object
- - -

-TurboJPEG decompressor -

- -

-


- -

+

+
org.libjpegturbo.turbojpeg
+

Class TJDecompressor

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    TJTransformer
    +
    +
    +
    +
    public class TJDecompressor
    +extends java.lang.Object
    +
    TurboJPEG decompressor
    +
  • +
+
+
+
    +
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Field Summary
    -protected  longhandle - -
    -           
    -protected  byte[]jpegBuf - -
    -           
    -protected  intjpegBufSize - -
    -           
    -protected  intsrcColorspace - -
    -           
    -protected  intsrcHeight - -
    -           
    -protected  intsrcSubsamp - -
    -           
    -protected  intsrcWidth - -
    -           
    -protected  YUVImageyuvImage - -
    -           
    -  + - - - - - - - - - - - - - - + +
    -Constructor Summary
    TJDecompressor() - -
    -          Create a TurboJPEG decompresssor instance.
    TJDecompressor(byte[] jpegImage) - -
    -          Create a TurboJPEG decompressor instance and associate the JPEG source - image stored in jpegImage with the newly created instance.
    TJDecompressor(byte[] jpegImage, - int imageSize) - -
    -          Create a TurboJPEG decompressor instance and associate the JPEG source +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + - - - + + + - -
      Constructors 
      Constructor and Description
      TJDecompressor() +
      Create a TurboJPEG decompresssor instance.
      +
      TJDecompressor(byte[] jpegImage) +
      Create a TurboJPEG decompressor instance and associate the JPEG source + image stored in jpegImage with the newly created instance.
      +
      TJDecompressor(byte[] jpegImage, + int imageSize) +
      Create a TurboJPEG decompressor instance and associate the JPEG source image of length imageSize bytes stored in - jpegImage with the newly created instance.
      TJDecompressor(YUVImage yuvImage) - -
      -          Create a TurboJPEG decompressor instance and associate the YUV planar + jpegImage with the newly created instance. +
      TJDecompressor(YUVImage yuvImage) +
      Create a TurboJPEG decompressor instance and associate the YUV planar source image stored in yuvImage with the newly created - instance.
      -  + instance. +
    +
  • +
- - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-Method Summary
- voidclose() - -
-          Free the native structures associated with this decompressor instance.
- voiddecompress(java.awt.image.BufferedImage dstImage, - int flags) - -
-          Decompress the JPEG source image or decode the YUV source image associated +
    +
  • + + +

    Method Summary

    + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - - - - + + + + - - - - + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods 
    Modifier and TypeMethod and Description
    voidclose() +
    Free the native structures associated with this decompressor instance.
    +
    voiddecompress(java.awt.image.BufferedImage dstImage, + int flags) +
    Decompress the JPEG source image or decode the YUV source image associated with this decompressor instance and output a decompressed/decoded image to - the given BufferedImage instance.
    - voiddecompress(byte[] dstBuf, - int desiredWidth, - int pitch, - int desiredHeight, - int pixelFormat, - int flags) - -
    -          Deprecated. Use - decompress(byte[], int, int, int, int, int, int, int) instead.
    - voiddecompress(byte[] dstBuf, - int x, - int y, - int desiredWidth, - int pitch, - int desiredHeight, - int pixelFormat, - int flags) - -
    -          Decompress the JPEG source image or decode the YUV source image associated + the given BufferedImage instance. +
    voiddecompress(byte[] dstBuf, + int desiredWidth, + int pitch, + int desiredHeight, + int pixelFormat, + int flags) + +
    voiddecompress(byte[] dstBuf, + int x, + int y, + int desiredWidth, + int pitch, + int desiredHeight, + int pixelFormat, + int flags) +
    Decompress the JPEG source image or decode the YUV source image associated with this decompressor instance and output a grayscale, RGB, or CMYK image - to the given destination buffer.
    - voiddecompress(int[] dstBuf, - int x, - int y, - int desiredWidth, - int stride, - int desiredHeight, - int pixelFormat, - int flags) - -
    -          Decompress the JPEG source image or decode the YUV source image associated + to the given destination buffer. +
    voiddecompress(int[] dstBuf, + int x, + int y, + int desiredWidth, + int stride, + int desiredHeight, + int pixelFormat, + int flags) +
    Decompress the JPEG source image or decode the YUV source image associated with this decompressor instance and output a grayscale, RGB, or CMYK image - to the given destination buffer.
    - java.awt.image.BufferedImagedecompress(int desiredWidth, - int desiredHeight, - int bufferedImageType, - int flags) - -
    -          Decompress the JPEG source image or decode the YUV source image associated + to the given destination buffer. +
    java.awt.image.BufferedImagedecompress(int desiredWidth, + int desiredHeight, + int bufferedImageType, + int flags) +
    Decompress the JPEG source image or decode the YUV source image associated with this decompressor instance and return a BufferedImage - instance containing the decompressed/decoded image.
    - byte[]decompress(int desiredWidth, - int pitch, - int desiredHeight, - int pixelFormat, - int flags) - -
    -          Decompress the JPEG source image associated with this decompressor - instance and return a buffer containing the decompressed image.
    - voiddecompressToYUV(byte[] dstBuf, - int flags) - -
    -          Deprecated. Use decompressToYUV(YUVImage, int) instead.
    - byte[]decompressToYUV(int flags) - -
    -          Deprecated. Use decompressToYUV(int, int, int, int) instead.
    - YUVImagedecompressToYUV(int desiredWidth, - int pad, - int desiredHeight, - int flags) - -
    -          Decompress the JPEG source image associated with this decompressor + instance containing the decompressed/decoded image. +
    byte[]decompress(int desiredWidth, + int pitch, + int desiredHeight, + int pixelFormat, + int flags) +
    Decompress the JPEG source image associated with this decompressor + instance and return a buffer containing the decompressed image.
    +
    voiddecompressToYUV(byte[] dstBuf, + int flags) +
    Deprecated.  + +
    +
    byte[]decompressToYUV(int flags) +
    Deprecated.  + +
    +
    YUVImagedecompressToYUV(int desiredWidth, + int pad, + int desiredHeight, + int flags) +
    Decompress the JPEG source image associated with this decompressor instance into a YUV planar image and return a YUVImage - instance containing the decompressed image.
    - voiddecompressToYUV(YUVImage dstImage, - int flags) - -
    -          Decompress the JPEG source image associated with this decompressor + instance containing the decompressed image. +
    voiddecompressToYUV(YUVImage dstImage, + int flags) +
    Decompress the JPEG source image associated with this decompressor instance into a YUV planar image and store it in the given - YUVImage instance.
    -protected  voidfinalize() - -
    -           
    - intgetColorspace() - -
    -          Returns the colorspace used in the source image (JPEG or YUV) associated - with this decompressor instance.
    - intgetHeight() - -
    -          Returns the height of the source image (JPEG or YUV) associated with this - decompressor instance.
    - byte[]getJPEGBuf() - -
    -          Deprecated. Use getSourceBuf() instead.
    - intgetJPEGSize() - -
    -          Deprecated. Use getSourceSize() instead.
    - intgetScaledHeight(int desiredWidth, - int desiredHeight) - -
    -          Returns the height of the largest scaled-down image that the TurboJPEG + YUVImage instance. +
    protected voidfinalize() 
    intgetColorspace() +
    Returns the colorspace used in the source image (JPEG or YUV) associated + with this decompressor instance.
    +
    intgetHeight() +
    Returns the height of the source image (JPEG or YUV) associated with this + decompressor instance.
    +
    byte[]getJPEGBuf() +
    Deprecated.  +
    Use getSourceBuf() instead.
    +
    +
    intgetJPEGSize() +
    Deprecated.  +
    Use getSourceSize() instead.
    +
    +
    intgetScaledHeight(int desiredWidth, + int desiredHeight) +
    Returns the height of the largest scaled-down image that the TurboJPEG decompressor can generate without exceeding the desired image width and - height.
    - intgetScaledWidth(int desiredWidth, - int desiredHeight) - -
    -          Returns the width of the largest scaled-down image that the TurboJPEG + height. +
    intgetScaledWidth(int desiredWidth, + int desiredHeight) +
    Returns the width of the largest scaled-down image that the TurboJPEG decompressor can generate without exceeding the desired image width and - height.
    - byte[]getSourceBuf() - -
    -          Returns the source image buffer associated with this decompressor - instance.
    - intgetSourceSize() - -
    -          Returns the size of the source image (in bytes) associated with this - decompressor instance.
    - intgetSubsamp() - -
    -          Returns the level of chrominance subsampling used in the source image - (JPEG or YUV) associated with this decompressor instance.
    - intgetWidth() - -
    -          Returns the width of the source image (JPEG or YUV) associated with this - decompressor instance.
    - voidsetJPEGImage(byte[] jpegImage, - int imageSize) - -
    -          Deprecated. Use setSourceImage(byte[], int) instead.
    - voidsetSourceImage(byte[] srcImage, - int imageSize) - -
    -          Associate the JPEG image of length imageSize bytes stored in - srcImage with this decompressor instance.
    - voidsetSourceImage(YUVImage srcImage) - -
    -          Associate the specified YUV planar source image with this decompressor - instance.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - + height. +

byte[]getSourceBuf() +
Returns the source image buffer associated with this decompressor + instance.
+
intgetSourceSize() +
Returns the size of the source image (in bytes) associated with this + decompressor instance.
+
intgetSubsamp() +
Returns the level of chrominance subsampling used in the source image + (JPEG or YUV) associated with this decompressor instance.
+
intgetWidth() +
Returns the width of the source image (JPEG or YUV) associated with this + decompressor instance.
+
voidsetJPEGImage(byte[] jpegImage, + int imageSize) +
Deprecated.  + +
+
voidsetSourceImage(byte[] srcImage, + int imageSize) +
Associate the JPEG image of length imageSize bytes stored in + srcImage with this decompressor instance.
+
voidsetSourceImage(YUVImage srcImage) +
Associate the specified YUV planar source image with this decompressor + instance.
+
+
    +
  • + + +

    Methods inherited from class java.lang.Object

    +clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • +
+ + + + +
+
+
    +
  • - - - - - - -
    -Field Detail
    - -

    -handle

    -
    -protected long handle
    -
    -
    -
    -
    -
    - -

    -jpegBuf

    -
    -protected byte[] jpegBuf
    -
    -
    -
    -
    -
    - -

    -jpegBufSize

    -
    -protected int jpegBufSize
    -
    -
    -
    -
    -
    - -

    -yuvImage

    -
    -protected YUVImage yuvImage
    -
    -
    -
    -
    -
    - -

    -srcWidth

    -
    -protected int srcWidth
    -
    -
    -
    -
    -
    - -

    -srcHeight

    -
    -protected int srcHeight
    -
    -
    -
    -
    -
    - -

    -srcSubsamp

    -
    -protected int srcSubsamp
    -
    -
    -
    -
    -
    - -

    -srcColorspace

    -
    -protected int srcColorspace
    -
    -
    -
    -
    - +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        handle

        +
        protected long handle
        +
      • +
      + + + +
        +
      • +

        jpegBuf

        +
        protected byte[] jpegBuf
        +
      • +
      + + + +
        +
      • +

        jpegBufSize

        +
        protected int jpegBufSize
        +
      • +
      + + + +
        +
      • +

        yuvImage

        +
        protected YUVImage yuvImage
        +
      • +
      + + + +
        +
      • +

        srcWidth

        +
        protected int srcWidth
        +
      • +
      + + + +
        +
      • +

        srcHeight

        +
        protected int srcHeight
        +
      • +
      + + + +
        +
      • +

        srcSubsamp

        +
        protected int srcSubsamp
        +
      • +
      + + + +
        +
      • +

        srcColorspace

        +
        protected int srcColorspace
        +
      • +
      +
    • +
    - - - - - - -
    -Constructor Detail
    - -

    -TJDecompressor

    -
    -public TJDecompressor()
    -               throws java.lang.Exception
    -
    -
    Create a TurboJPEG decompresssor instance. -

    -

    - -
    Throws: -
    java.lang.Exception
    -
    -
    - -

    -TJDecompressor

    -
    -public TJDecompressor(byte[] jpegImage)
    -               throws java.lang.Exception
    -
    -
    Create a TurboJPEG decompressor instance and associate the JPEG source - image stored in jpegImage with the newly created instance. -

    -

    -
    Parameters:
    jpegImage - JPEG image buffer (size of the JPEG image is assumed to - be the length of the array) -
    Throws: -
    java.lang.Exception
    -
    -
    - -

    -TJDecompressor

    -
    -public TJDecompressor(byte[] jpegImage,
    -                      int imageSize)
    -               throws java.lang.Exception
    -
    -
    Create a TurboJPEG decompressor instance and associate the JPEG source +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TJDecompressor

        +
        public TJDecompressor()
        +               throws java.lang.Exception
        +
        Create a TurboJPEG decompresssor instance.
        +
        Throws:
        +
        java.lang.Exception
        +
      • +
      + + + +
        +
      • +

        TJDecompressor

        +
        public TJDecompressor(byte[] jpegImage)
        +               throws java.lang.Exception
        +
        Create a TurboJPEG decompressor instance and associate the JPEG source + image stored in jpegImage with the newly created instance.
        +
        Parameters:
        jpegImage - JPEG image buffer (size of the JPEG image is assumed to + be the length of the array)
        +
        Throws:
        +
        java.lang.Exception
        +
      • +
      + + + +
        +
      • +

        TJDecompressor

        +
        public TJDecompressor(byte[] jpegImage,
        +              int imageSize)
        +               throws java.lang.Exception
        +
        Create a TurboJPEG decompressor instance and associate the JPEG source image of length imageSize bytes stored in - jpegImage with the newly created instance. -

        -

        -
        Parameters:
        jpegImage - JPEG image buffer
        imageSize - size of the JPEG image (in bytes) -
        Throws: -
        java.lang.Exception
        -
    -
    - -

    -TJDecompressor

    -
    -public TJDecompressor(YUVImage yuvImage)
    -               throws java.lang.Exception
    -
    -
    Create a TurboJPEG decompressor instance and associate the YUV planar + jpegImage with the newly created instance.
+
Parameters:
jpegImage - JPEG image buffer
imageSize - size of the JPEG image (in bytes)
+
Throws:
+
java.lang.Exception
+ + + + + + + + - - - - - - -
-Method Detail
- -

-setSourceImage

-
-public void setSourceImage(byte[] srcImage,
-                           int imageSize)
-                    throws java.lang.Exception
-
-
Associate the JPEG image of length imageSize bytes stored in +
    +
  • + + +

    Method Detail

    + + + +
      +
    • +

      setSourceImage

      +
      public void setSourceImage(byte[] srcImage,
      +                  int imageSize)
      +                    throws java.lang.Exception
      +
      Associate the JPEG image of length imageSize bytes stored in srcImage with this decompressor instance. This image will - be used as the source image for subsequent decompress operations. -

      -

      -
      Parameters:
      srcImage - JPEG image buffer
      imageSize - size of the JPEG image (in bytes) -
      Throws: -
      java.lang.Exception
      -
      -
-
- -

-setJPEGImage

-
-@Deprecated
-public void setJPEGImage(byte[] jpegImage,
-                                    int imageSize)
-                  throws java.lang.Exception
-
-
Deprecated. Use setSourceImage(byte[], int) instead. -

-

- -
Throws: -
java.lang.Exception
-
-
-
- -

-setSourceImage

-
-public void setSourceImage(YUVImage srcImage)
-                    throws java.lang.Exception
-
-
Associate the specified YUV planar source image with this decompressor + be used as the source image for subsequent decompress operations.
+
Parameters:
srcImage - JPEG image buffer
imageSize - size of the JPEG image (in bytes)
+
Throws:
+
java.lang.Exception
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
- - - - - - - - - - - - - - - - - - -
- -
- + + +
+ + +
+ + + - -
- - - + + diff --git a/java/doc/org/libjpegturbo/turbojpeg/TJScalingFactor.html b/java/doc/org/libjpegturbo/turbojpeg/TJScalingFactor.html index af29fc5..1b90147 100644 --- a/java/doc/org/libjpegturbo/turbojpeg/TJScalingFactor.html +++ b/java/doc/org/libjpegturbo/turbojpeg/TJScalingFactor.html @@ -1,356 +1,336 @@ - - - - -TJScalingFactor - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
- -
- + + +
+ + +
+ + + - -
-

- -org.libjpegturbo.turbojpeg -
-Class TJScalingFactor

-
-java.lang.Object
-  extended by org.libjpegturbo.turbojpeg.TJScalingFactor
-
-
-
-
public class TJScalingFactor
extends java.lang.Object
- - -

-Fractional scaling factor -

- -

-


- -

- +

+
org.libjpegturbo.turbojpeg
+

Class TJScalingFactor

+
+
+ +
+
    +
  • +
    +
    +
    public class TJScalingFactor
    +extends java.lang.Object
    +
    Fractional scaling factor
    +
  • +
+
+
+
    +
  • - - - - - - - - - -
    -Constructor Summary
    TJScalingFactor(int num, - int denom) - -
    -           
    -  +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      TJScalingFactor(int num, + int denom) 
      +
    • +
    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - booleanequals(TJScalingFactor other) - -
    -          Returns true or false, depending on whether this instance and - other have the same numerator and denominator.
    - intgetDenom() - -
    -          Returns denominator
    - intgetNum() - -
    -          Returns numerator
    - intgetScaled(int dimension) - -
    -          Returns the scaled value of dimension.
    - booleanisOne() - -
    -          Returns true or false, depending on whether this instance is equal to - 1/1.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - +

      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      booleanequals(TJScalingFactor other) +
      Returns true or false, depending on whether this instance and + other have the same numerator and denominator.
      +
      intgetDenom() +
      Returns denominator
      +
      intgetNum() +
      Returns numerator
      +
      intgetScaled(int dimension) +
      Returns the scaled value of dimension.
      +
      booleanisOne() +
      Returns true or false, depending on whether this instance is equal to + 1/1.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • - - - - - - -
    -Constructor Detail
    - -

    -TJScalingFactor

    -
    -public TJScalingFactor(int num,
    -                       int denom)
    -                throws java.lang.Exception
    -
    -
    - -
    Throws: -
    java.lang.Exception
    -
    - +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TJScalingFactor

        +
        public TJScalingFactor(int num,
        +               int denom)
        +                throws java.lang.Exception
        +
        Throws:
        +
        java.lang.Exception
        +
      • +
      +
    • +
    - - - - - - -
    -Method Detail
    - -

    -getNum

    -
    -public int getNum()
    -
    -
    Returns numerator -

    -

    - -
    Returns:
    numerator
    -
    -
    -
    - -

    -getDenom

    -
    -public int getDenom()
    -
    -
    Returns denominator -

    -

    - -
    Returns:
    denominator
    -
    -
    -
    - -

    -getScaled

    -
    -public int getScaled(int dimension)
    -
    -
    Returns the scaled value of dimension. This function +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getNum

        +
        public int getNum()
        +
        Returns numerator
        +
        Returns:
        numerator
        +
      • +
      + + + +
        +
      • +

        getDenom

        +
        public int getDenom()
        +
        Returns denominator
        +
        Returns:
        denominator
        +
      • +
      + + + +
        +
      • +

        getScaled

        +
        public int getScaled(int dimension)
        +
        Returns the scaled value of dimension. This function performs the integer equivalent of - ceil(dimension * scalingFactor). -

        -

        - -
        Returns:
        the scaled value of dimension
        -
        -
    -
    - -

    -equals

    -
    -public boolean equals(TJScalingFactor other)
    -
    -
    Returns true or false, depending on whether this instance and - other have the same numerator and denominator. -

    -

    - -
    Returns:
    true or false, depending on whether this instance and - other have the same numerator and denominator
    -
    -
    -
    - -

    -isOne

    -
    -public boolean isOne()
    -
    -
    Returns true or false, depending on whether this instance is equal to - 1/1. -

    -

    - -
    Returns:
    true or false, depending on whether this instance is equal to - 1/1
    -
    -
    + ceil(dimension * scalingFactor).
+
Returns:
the scaled value of dimension
+ + + + + + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
- -
- + + +
+ + +
+ + + - -
- - - + + diff --git a/java/doc/org/libjpegturbo/turbojpeg/TJTransform.html b/java/doc/org/libjpegturbo/turbojpeg/TJTransform.html index 3a68c9f..b4bd5cc 100644 --- a/java/doc/org/libjpegturbo/turbojpeg/TJTransform.html +++ b/java/doc/org/libjpegturbo/turbojpeg/TJTransform.html @@ -1,767 +1,712 @@ - - - - -TJTransform - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
- -
- + + +
+ + +
+ + + - -
-

- -org.libjpegturbo.turbojpeg -
-Class TJTransform

-
-java.lang.Object
-  extended by java.awt.geom.RectangularShape
-      extended by java.awt.geom.Rectangle2D
-          extended by java.awt.Rectangle
-              extended by org.libjpegturbo.turbojpeg.TJTransform
-
-
-
All Implemented Interfaces:
java.awt.Shape, java.io.Serializable, java.lang.Cloneable
-
-
-
-
public class TJTransform
extends java.awt.Rectangle
- - -

-Lossless transform parameters -

- -

-

-
See Also:
Serialized Form
-
- -

+

+
org.libjpegturbo.turbojpeg
+

Class TJTransform

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.awt.Shape, java.io.Serializable, java.lang.Cloneable
    +
    +
    +
    +
    public class TJTransform
    +extends java.awt.Rectangle
    +
    Lossless transform parameters
    +
    See Also:
    Serialized Form
    +
  • +
+
+
+
    +
  • - - - - - - -
    -Nested Class Summary
    - - - - - - - -
    Nested classes/interfaces inherited from class java.awt.geom.Rectangle2D
    java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float
    -  +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class java.awt.geom.Rectangle2D

        +java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float
      • +
      +
    • +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Field Summary
    - TJCustomFiltercf - -
    -          Custom filter instance
    -static intNUMOP - -
    -          The number of lossless transform operations
    - intop - -
    -          Transform operation (one of OP_*)
    -static intOP_HFLIP - -
    -          Flip (mirror) image horizontally.
    -static intOP_NONE - -
    -          Do not transform the position of the image pixels.
    -static intOP_ROT180 - -
    -          Rotate image 180 degrees.
    -static intOP_ROT270 - -
    -          Rotate image counter-clockwise by 90 degrees.
    -static intOP_ROT90 - -
    -          Rotate image clockwise by 90 degrees.
    -static intOP_TRANSPOSE - -
    -          Transpose image (flip/mirror along upper left to lower right axis).
    -static intOP_TRANSVERSE - -
    -          Transverse transpose image (flip/mirror along upper right to lower left - axis).
    -static intOP_VFLIP - -
    -          Flip (mirror) image vertically.
    -static intOPT_CROP - -
    -          This option will enable lossless cropping.
    -static intOPT_GRAY - -
    -          This option will discard the color data in the input image and produce - a grayscale output image.
    -static intOPT_NOOUTPUT - -
    -          This option will prevent TJTransformer.transform() from outputting a JPEG image for this - particular transform.
    -static intOPT_PERFECT - -
    -          This option will cause TJTransformer.transform() to throw an exception if the transform is not - perfect.
    -static intOPT_TRIM - -
    -          This option will discard any partial MCU blocks that cannot be - transformed.
    - intoptions - -
    -          Transform options (bitwise OR of one or more of OPT_*)
    - - - - - - - -
    Fields inherited from class java.awt.Rectangle
    height, width, x, y
    - - - - - - - -
    Fields inherited from class java.awt.geom.Rectangle2D
    OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
    -  +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      TJCustomFiltercf +
      Custom filter instance
      +
      static intNUMOP +
      The number of lossless transform operations
      +
      intop +
      Transform operation (one of OP_*)
      +
      static intOP_HFLIP +
      Flip (mirror) image horizontally.
      +
      static intOP_NONE +
      Do not transform the position of the image pixels.
      +
      static intOP_ROT180 +
      Rotate image 180 degrees.
      +
      static intOP_ROT270 +
      Rotate image counter-clockwise by 90 degrees.
      +
      static intOP_ROT90 +
      Rotate image clockwise by 90 degrees.
      +
      static intOP_TRANSPOSE +
      Transpose image (flip/mirror along upper left to lower right axis).
      +
      static intOP_TRANSVERSE +
      Transverse transpose image (flip/mirror along upper right to lower left + axis).
      +
      static intOP_VFLIP +
      Flip (mirror) image vertically.
      +
      static intOPT_CROP +
      This option will enable lossless cropping.
      +
      static intOPT_GRAY +
      This option will discard the color data in the input image and produce + a grayscale output image.
      +
      static intOPT_NOOUTPUT +
      This option will prevent TJTransformer.transform() from outputting a JPEG image for this + particular transform.
      +
      static intOPT_PERFECT +
      This option will cause TJTransformer.transform() to throw an exception if the transform is not + perfect.
      +
      static intOPT_TRIM +
      This option will discard any partial MCU blocks that cannot be + transformed.
      +
      intoptions +
      Transform options (bitwise OR of one or more of OPT_*)
      +
      +
        +
      • + + +

        Fields inherited from class java.awt.Rectangle

        +height, width, x, y
      • +
      +
        +
      • + + +

        Fields inherited from class java.awt.geom.Rectangle2D

        +OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
      • +
      +
    • +
    - - - - - - - - - - - - - - - -
    -Constructor Summary
    TJTransform() - -
    -          Create a new lossless transform instance.
    TJTransform(int x, - int y, - int w, - int h, - int op, - int options, - TJCustomFilter cf) - -
    -          Create a new lossless transform instance with the given parameters.
    TJTransform(java.awt.Rectangle r, - int op, - int options, - TJCustomFilter cf) - -
    -          Create a new lossless transform instance with the given parameters.
    -  +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      TJTransform() +
      Create a new lossless transform instance.
      +
      TJTransform(int x, + int y, + int w, + int h, + int op, + int options, + TJCustomFilter cf) +
      Create a new lossless transform instance with the given parameters.
      +
      TJTransform(java.awt.Rectangle r, + int op, + int options, + TJCustomFilter cf) +
      Create a new lossless transform instance with the given parameters.
      +
      +
    • +
    - - - - - - -
    -Method Summary
    - - - - - - - -
    Methods inherited from class java.awt.Rectangle
    add, add, add, contains, contains, contains, contains, createIntersection, createUnion, equals, getBounds, getBounds2D, getHeight, getLocation, getSize, getWidth, getX, getY, grow, inside, intersection, intersects, isEmpty, move, outcode, reshape, resize, setBounds, setBounds, setLocation, setLocation, setRect, setSize, setSize, toString, translate, union
    - - - - - - - -
    Methods inherited from class java.awt.geom.Rectangle2D
    add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, union
    - - - - - - - -
    Methods inherited from class java.awt.geom.RectangularShape
    clone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
    - - - - - - - -
    Methods inherited from class java.lang.Object
    finalize, getClass, notify, notifyAll, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface java.awt.Shape
    contains, contains, contains, contains, getPathIterator, getPathIterator, intersects, intersects
    -  -

    - +

      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.awt.Rectangle

        +add, add, add, contains, contains, contains, contains, createIntersection, createUnion, equals, getBounds, getBounds2D, getHeight, getLocation, getSize, getWidth, getX, getY, grow, inside, intersection, intersects, isEmpty, move, outcode, reshape, resize, setBounds, setBounds, setLocation, setLocation, setRect, setSize, setSize, toString, translate, union
      • +
      +
        +
      • + + +

        Methods inherited from class java.awt.geom.Rectangle2D

        +add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, union
      • +
      +
        +
      • + + +

        Methods inherited from class java.awt.geom.RectangularShape

        +clone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
        +
      • + + +

        Methods inherited from interface java.awt.Shape

        +contains, contains, contains, contains, getPathIterator, getPathIterator, intersects, intersects
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • - - - - - - -
    -Field Detail
    - -

    -NUMOP

    -
    -public static final int NUMOP
    -
    -
    The number of lossless transform operations -

    -

    -
    See Also:
    Constant Field Values
    -
    -
    - -

    -OP_NONE

    -
    -public static final int OP_NONE
    -
    -
    Do not transform the position of the image pixels. -

    -

    -
    See Also:
    Constant Field Values
    -
    -
    - -

    -OP_HFLIP

    -
    -public static final int OP_HFLIP
    -
    -
    Flip (mirror) image horizontally. This transform is imperfect if there - are any partial MCU blocks on the right edge. -

    -

    -
    See Also:
    OPT_PERFECT, -Constant Field Values
    -
    -
    - -

    -OP_VFLIP

    -
    -public static final int OP_VFLIP
    -
    -
    Flip (mirror) image vertically. This transform is imperfect if there are - any partial MCU blocks on the bottom edge. -

    -

    -
    See Also:
    OPT_PERFECT, -Constant Field Values
    -
    -
    - -

    -OP_TRANSPOSE

    -
    -public static final int OP_TRANSPOSE
    -
    -
    Transpose image (flip/mirror along upper left to lower right axis). This - transform is always perfect. -

    -

    -
    See Also:
    OPT_PERFECT, -Constant Field Values
    -
    -
    - -

    -OP_TRANSVERSE

    -
    -public static final int OP_TRANSVERSE
    -
    -
    Transverse transpose image (flip/mirror along upper right to lower left +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        NUMOP

        +
        public static final int NUMOP
        +
        The number of lossless transform operations
        +
        See Also:
        Constant Field Values
        +
      • +
      + + + +
        +
      • +

        OP_NONE

        +
        public static final int OP_NONE
        +
        Do not transform the position of the image pixels.
        +
        See Also:
        Constant Field Values
        +
      • +
      + + + +
        +
      • +

        OP_HFLIP

        +
        public static final int OP_HFLIP
        +
        Flip (mirror) image horizontally. This transform is imperfect if there + are any partial MCU blocks on the right edge.
        +
        See Also:
        OPT_PERFECT, +Constant Field Values
        +
      • +
      + + + +
        +
      • +

        OP_VFLIP

        +
        public static final int OP_VFLIP
        +
        Flip (mirror) image vertically. This transform is imperfect if there are + any partial MCU blocks on the bottom edge.
        +
        See Also:
        OPT_PERFECT, +Constant Field Values
        +
      • +
      + + + +
        +
      • +

        OP_TRANSPOSE

        +
        public static final int OP_TRANSPOSE
        +
        Transpose image (flip/mirror along upper left to lower right axis). This + transform is always perfect.
        +
        See Also:
        OPT_PERFECT, +Constant Field Values
        +
      • +
      + + + +
        +
      • +

        OP_TRANSVERSE

        +
        public static final int OP_TRANSVERSE
        +
        Transverse transpose image (flip/mirror along upper right to lower left axis). This transform is imperfect if there are any partial MCU blocks in - the image. -

        -

        -
        See Also:
        OPT_PERFECT, -Constant Field Values
        -
    -
    - -

    -OP_ROT90

    -
    -public static final int OP_ROT90
    -
    -
    Rotate image clockwise by 90 degrees. This transform is imperfect if - there are any partial MCU blocks on the bottom edge. -

    -

    -
    See Also:
    OPT_PERFECT, -Constant Field Values
    -
    -
    - -

    -OP_ROT180

    -
    -public static final int OP_ROT180
    -
    -
    Rotate image 180 degrees. This transform is imperfect if there are any - partial MCU blocks in the image. -

    -

    -
    See Also:
    OPT_PERFECT, -Constant Field Values
    -
    -
    - -

    -OP_ROT270

    -
    -public static final int OP_ROT270
    -
    -
    Rotate image counter-clockwise by 90 degrees. This transform is imperfect - if there are any partial MCU blocks on the right edge. -

    -

    -
    See Also:
    OPT_PERFECT, -Constant Field Values
    -
    -
    - -

    -OPT_PERFECT

    -
    -public static final int OPT_PERFECT
    -
    -
    This option will cause TJTransformer.transform() to throw an exception if the transform is not + the image.
+
See Also:
OPT_PERFECT, +Constant Field Values
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - -
-Constructor Detail
- -

-TJTransform

-
-public TJTransform()
-
-
Create a new lossless transform instance. -

-

-
- -

-TJTransform

-
-public TJTransform(int x,
-                   int y,
-                   int w,
-                   int h,
-                   int op,
-                   int options,
-                   TJCustomFilter cf)
-            throws java.lang.Exception
-
-
Create a new lossless transform instance with the given parameters. -

-

-
Parameters:
x - the left boundary of the cropping region. This must be evenly - divisible by the MCU block width (see TJ.getMCUWidth(int))
y - the upper boundary of the cropping region. This must be evenly - divisible by the MCU block height (see TJ.getMCUHeight(int))
w - the width of the cropping region. Setting this to 0 is the +
    +
  • + + +

    Constructor Detail

    + + + +
      +
    • +

      TJTransform

      +
      public TJTransform()
      +
      Create a new lossless transform instance.
      +
    • +
    + + + +
      +
    • +

      TJTransform

      +
      public TJTransform(int x,
      +           int y,
      +           int w,
      +           int h,
      +           int op,
      +           int options,
      +           TJCustomFilter cf)
      +            throws java.lang.Exception
      +
      Create a new lossless transform instance with the given parameters.
      +
      Parameters:
      x - the left boundary of the cropping region. This must be evenly + divisible by the MCU block width (see TJ.getMCUWidth(int))
      y - the upper boundary of the cropping region. This must be evenly + divisible by the MCU block height (see TJ.getMCUHeight(int))
      w - the width of the cropping region. Setting this to 0 is the equivalent of setting it to (width of the source JPEG image - - x).
      h - the height of the cropping region. Setting this to 0 is the + x).
      h - the height of the cropping region. Setting this to 0 is the equivalent of setting it to (height of the source JPEG image - - y).
      op - one of the transform operations (OP_*)
      options - the bitwise OR of one or more of the transform options - (OPT_*)
      cf - an instance of an object that implements the TJCustomFilter interface, or null if no custom filter is needed -
      Throws: -
      java.lang.Exception
      -
-
- -

-TJTransform

-
-public TJTransform(java.awt.Rectangle r,
-                   int op,
-                   int options,
-                   TJCustomFilter cf)
-            throws java.lang.Exception
-
-
Create a new lossless transform instance with the given parameters. -

-

-
Parameters:
r - a Rectangle instance that specifies the cropping - region. See TJTransform(int, int, int, int, int, int, TJCustomFilter) for more - detail.
op - one of the transform operations (OP_*)
options - the bitwise OR of one or more of the transform options - (OPT_*)
cf - an instance of an object that implements the TJCustomFilter interface, or null if no custom filter is needed -
Throws: -
java.lang.Exception
-
+ y).
op - one of the transform operations (OP_*)
options - the bitwise OR of one or more of the transform options + (OPT_*)
cf - an instance of an object that implements the TJCustomFilter interface, or null if no custom filter is needed
+
Throws:
+
java.lang.Exception
+ + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
- -
- + + +
+ + +
+ + + - -
- - - + + diff --git a/java/doc/org/libjpegturbo/turbojpeg/TJTransformer.html b/java/doc/org/libjpegturbo/turbojpeg/TJTransformer.html index 75fedf7..3be18ec 100644 --- a/java/doc/org/libjpegturbo/turbojpeg/TJTransformer.html +++ b/java/doc/org/libjpegturbo/turbojpeg/TJTransformer.html @@ -1,301 +1,291 @@ - - - - -TJTransformer - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
- -
- + + +
+ + +
+ + + - -
-

- -org.libjpegturbo.turbojpeg -
-Class TJTransformer

-
-java.lang.Object
-  extended by org.libjpegturbo.turbojpeg.TJDecompressor
-      extended by org.libjpegturbo.turbojpeg.TJTransformer
-
-
-
-
public class TJTransformer
extends TJDecompressor
- - -

-TurboJPEG lossless transformer -

- -

-


- -

+

+
org.libjpegturbo.turbojpeg
+

Class TJTransformer

+
+
+ +
+
    +
  • +
    +
    +
    public class TJTransformer
    +extends TJDecompressor
    +
    TurboJPEG lossless transformer
    +
  • +
+
+
+
    +
  • - - - - - - -
    -Field Summary
    - - - - - - - -
    Fields inherited from class org.libjpegturbo.turbojpeg.TJDecompressor
    handle, jpegBuf, jpegBufSize, srcColorspace, srcHeight, srcSubsamp, srcWidth, yuvImage
    -  + - - - - - - - - - - - - - - + +
    -Constructor Summary
    TJTransformer() - -
    -          Create a TurboJPEG lossless transformer instance.
    TJTransformer(byte[] jpegImage) - -
    -          Create a TurboJPEG lossless transformer instance and associate the JPEG - image stored in jpegImage with the newly created instance.
    TJTransformer(byte[] jpegImage, - int imageSize) - -
    -          Create a TurboJPEG lossless transformer instance and associate the JPEG +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + - -
      Constructors 
      Constructor and Description
      TJTransformer() +
      Create a TurboJPEG lossless transformer instance.
      +
      TJTransformer(byte[] jpegImage) +
      Create a TurboJPEG lossless transformer instance and associate the JPEG + image stored in jpegImage with the newly created instance.
      +
      TJTransformer(byte[] jpegImage, + int imageSize) +
      Create a TurboJPEG lossless transformer instance and associate the JPEG image of length imageSize bytes stored in - jpegImage with the newly created instance.
      -  + jpegImage with the newly created instance. +
    +
  • +
- - - - - - - - - - - - - + + + + + +
-Method Summary
- int[]getTransformedSizes() - -
-          Returns an array containing the sizes of the transformed JPEG images - generated by the most recent transform operation.
- voidtransform(byte[][] dstBufs, - TJTransform[] transforms, - int flags) - -
-          Losslessly transform the JPEG image associated with this transformer +
TJDecompressor[]transform(TJTransform[] transforms, + int flags) +
Losslessly transform the JPEG image associated with this transformer + instance and return an array of TJDecompressor instances, each of + which has a transformed JPEG image associated with it.
+
+ +
    +
  • + + +

    Methods inherited from class java.lang.Object

    +clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • +
+ + + + +
+
+
    +
  • - - - - - - -
    -Constructor Detail
    - -

    -TJTransformer

    -
    -public TJTransformer()
    -              throws java.lang.Exception
    -
    -
    Create a TurboJPEG lossless transformer instance. -

    -

    - -
    Throws: -
    java.lang.Exception
    -
    -
    - -

    -TJTransformer

    -
    -public TJTransformer(byte[] jpegImage)
    -              throws java.lang.Exception
    -
    -
    Create a TurboJPEG lossless transformer instance and associate the JPEG - image stored in jpegImage with the newly created instance. -

    -

    -
    Parameters:
    jpegImage - JPEG image buffer (size of the JPEG image is assumed to - be the length of the array) -
    Throws: -
    java.lang.Exception
    -
    -
    - -

    -TJTransformer

    -
    -public TJTransformer(byte[] jpegImage,
    -                     int imageSize)
    -              throws java.lang.Exception
    -
    -
    Create a TurboJPEG lossless transformer instance and associate the JPEG +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TJTransformer

        +
        public TJTransformer()
        +              throws java.lang.Exception
        +
        Create a TurboJPEG lossless transformer instance.
        +
        Throws:
        +
        java.lang.Exception
        +
      • +
      + + + +
        +
      • +

        TJTransformer

        +
        public TJTransformer(byte[] jpegImage)
        +              throws java.lang.Exception
        +
        Create a TurboJPEG lossless transformer instance and associate the JPEG + image stored in jpegImage with the newly created instance.
        +
        Parameters:
        jpegImage - JPEG image buffer (size of the JPEG image is assumed to + be the length of the array)
        +
        Throws:
        +
        java.lang.Exception
        +
      • +
      + + + +
        +
      • +

        TJTransformer

        +
        public TJTransformer(byte[] jpegImage,
        +             int imageSize)
        +              throws java.lang.Exception
        +
        Create a TurboJPEG lossless transformer instance and associate the JPEG image of length imageSize bytes stored in - jpegImage with the newly created instance. -

        -

        -
        Parameters:
        jpegImage - JPEG image buffer
        imageSize - size of the JPEG image (in bytes) -
        Throws: -
        java.lang.Exception
        -
    - + jpegImage with the newly created instance.
+
Parameters:
jpegImage - JPEG image buffer
imageSize - size of the JPEG image (in bytes)
+
Throws:
+
java.lang.Exception
+ + + + - - - - - - -
-Method Detail
- -

-transform

-
-public void transform(byte[][] dstBufs,
-                      TJTransform[] transforms,
-                      int flags)
-               throws java.lang.Exception
-
-
Losslessly transform the JPEG image associated with this transformer +
    +
  • + + +

    Method Detail

    + + + +
      +
    • +

      transform

      +
      public void transform(byte[][] dstBufs,
      +             TJTransform[] transforms,
      +             int flags)
      +               throws java.lang.Exception
      +
      Losslessly transform the JPEG image associated with this transformer instance into one or more JPEG images stored in the given destination buffers. Lossless transforms work by moving the raw coefficients from one JPEG image structure to another without altering the values of the @@ -306,123 +296,121 @@ public void transform(byte[][] dstBufs, size of the destination image. Thus, this method provides a means of generating multiple transformed images from the same source or of applying multiple transformations simultaneously, in order to eliminate the need to - read the source coefficients multiple times. -

      -

      -
      Parameters:
      dstBufs - an array of image buffers. dstbufs[i] will + read the source coefficients multiple times.
      +
      Parameters:
      dstBufs - an array of image buffers. dstbufs[i] will receive a JPEG image that has been transformed using the parameters in - transforms[i]. Use TJ.bufSize(int, int, int) to determine the + transforms[i]. Use TJ.bufSize(int, int, int) to determine the maximum size for each buffer based on the transformed or cropped width and - height and the level of subsampling used in the source image.
      transforms - an array of TJTransform instances, each of + height and the level of subsampling used in the source image.
      transforms - an array of TJTransform instances, each of which specifies the transform parameters and/or cropping region for the - corresponding transformed output image
      flags - the bitwise OR of one or more of - TJ.FLAG_* -
      Throws: -
      java.lang.Exception
      -
-
-
- -

-transform

-
-public TJDecompressor[] transform(TJTransform[] transforms,
-                                  int flags)
-                           throws java.lang.Exception
-
-
Losslessly transform the JPEG image associated with this transformer - instance and return an array of TJDecompressor instances, each of - which has a transformed JPEG image associated with it. -

-

-
Parameters:
transforms - an array of TJTransform instances, each of + corresponding transformed output image
flags - the bitwise OR of one or more of + TJ.FLAG_*
+
Throws:
+
java.lang.Exception
+ + + + + +
    +
  • +

    transform

    +
    public TJDecompressor[] transform(TJTransform[] transforms,
    +                         int flags)
    +                           throws java.lang.Exception
    +
    Losslessly transform the JPEG image associated with this transformer + instance and return an array of TJDecompressor instances, each of + which has a transformed JPEG image associated with it.
    +
    Parameters:
    transforms - an array of TJTransform instances, each of which specifies the transform parameters and/or cropping region for the - corresponding transformed output image
    flags - the bitwise OR of one or more of - TJ.FLAG_* -
    Returns:
    an array of TJDecompressor instances, each of - which has a transformed JPEG image associated with it -
    Throws: -
    java.lang.Exception
    -
-
-
- -

-getTransformedSizes

-
-public int[] getTransformedSizes()
-                          throws java.lang.Exception
-
-
Returns an array containing the sizes of the transformed JPEG images - generated by the most recent transform operation. -

-

- -
Returns:
an array containing the sizes of the transformed JPEG images - generated by the most recent transform operation -
Throws: -
java.lang.Exception
-
-
+ corresponding transformed output image
flags - the bitwise OR of one or more of + TJ.FLAG_*
+
Returns:
an array of TJDecompressor instances, each of + which has a transformed JPEG image associated with it
+
Throws:
+
java.lang.Exception
+ + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
- -
- + + +
+ + +
+ + + - -
- - - + + diff --git a/java/doc/org/libjpegturbo/turbojpeg/YUVImage.html b/java/doc/org/libjpegturbo/turbojpeg/YUVImage.html index 5edc6b0..8659aed 100644 --- a/java/doc/org/libjpegturbo/turbojpeg/YUVImage.html +++ b/java/doc/org/libjpegturbo/turbojpeg/YUVImage.html @@ -1,103 +1,100 @@ - - - - -YUVImage - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
- -
- + + +
+ + +
+ + + - -
-

- -org.libjpegturbo.turbojpeg -
-Class YUVImage

-
-java.lang.Object
-  extended by org.libjpegturbo.turbojpeg.YUVImage
-
-
-
-
public class YUVImage
extends java.lang.Object
- - -

-This class encapsulates a YUV planar image buffer and the metadata +

+
org.libjpegturbo.turbojpeg
+

Class YUVImage

+
+
+ +
+
    +
  • +
    +
    +
    public class YUVImage
    +extends java.lang.Object
    +
    This class encapsulates a YUV planar image buffer and the metadata associated with it. The TurboJPEG API allows both the JPEG compression and decompression pipelines to be split into stages: YUV encode, compress from YUV, decompress to YUV, and YUV decode. A YUVImage instance @@ -120,464 +117,417 @@ This class encapsulates a YUV planar image buffer and the metadata luminance plane would be 36 x 35 bytes, and each of the chrominance planes would be 18 x 35 bytes. If you specify, for instance, a line padding of 4 bytes on top of this, then the luminance plane would be 36 x 35 bytes, and - each of the chrominance planes would be 20 x 35 bytes. -

    - -

    -


    - -

    + each of the chrominance planes would be 20 x 35 bytes.

    +
  • +
+
+
+
    +
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Field Summary
    -protected  longhandle - -
    -           
    -protected  byte[]yuvBuf - -
    -           
    -protected  intyuvHeight - -
    -           
    -protected  intyuvPad - -
    -           
    -protected  intyuvSubsamp - -
    -           
    -protected  intyuvWidth - -
    -           
    -  +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      protected longhandle 
      protected byte[]yuvBuf 
      protected intyuvHeight 
      protected intyuvPad 
      protected intyuvSubsamp 
      protected intyuvWidth 
      +
    • +
    - - - - - - - - - - - - -
    -Constructor Summary
    YUVImage(byte[] yuvImage, - int width, - int pad, - int height, - int subsamp) - -
    -          Create a YUVImage instance from an existing YUV planar image - buffer.
    YUVImage(int width, - int pad, - int height, - int subsamp) - -
    -          Create a YUVImage instance with a new image buffer.
    -  +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      YUVImage(byte[] yuvImage, + int width, + int pad, + int height, + int subsamp) +
      Create a YUVImage instance from an existing YUV planar image + buffer.
      +
      YUVImage(int width, + int pad, + int height, + int subsamp) +
      Create a YUVImage instance with a new image buffer.
      +
      +
    • +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - byte[]getBuf() - -
    -          Returns the YUV image buffer
    - intgetHeight() - -
    -          Returns the height of the YUV image.
    - intgetPad() - -
    -          Returns the line padding used in the YUV image buffer.
    - intgetSize() - -
    -          Returns the size (in bytes) of the YUV image buffer
    - intgetSubsamp() - -
    -          Returns the level of chrominance subsampling used in the YUV image.
    - intgetWidth() - -
    -          Returns the width of the YUV image.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - +

      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      byte[]getBuf() +
      Returns the YUV image buffer
      +
      intgetHeight() +
      Returns the height of the YUV image.
      +
      intgetPad() +
      Returns the line padding used in the YUV image buffer.
      +
      intgetSize() +
      Returns the size (in bytes) of the YUV image buffer
      +
      intgetSubsamp() +
      Returns the level of chrominance subsampling used in the YUV image.
      +
      intgetWidth() +
      Returns the width of the YUV image.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • - - - - - - -
    -Field Detail
    - -

    -handle

    -
    -protected long handle
    -
    -
    -
    -
    -
    - -

    -yuvBuf

    -
    -protected byte[] yuvBuf
    -
    -
    -
    -
    -
    - -

    -yuvPad

    -
    -protected int yuvPad
    -
    -
    -
    -
    -
    - -

    -yuvWidth

    -
    -protected int yuvWidth
    -
    -
    -
    -
    -
    - -

    -yuvHeight

    -
    -protected int yuvHeight
    -
    -
    -
    -
    -
    - -

    -yuvSubsamp

    -
    -protected int yuvSubsamp
    -
    -
    -
    -
    - +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        handle

        +
        protected long handle
        +
      • +
      + + + +
        +
      • +

        yuvBuf

        +
        protected byte[] yuvBuf
        +
      • +
      + + + +
        +
      • +

        yuvPad

        +
        protected int yuvPad
        +
      • +
      + + + +
        +
      • +

        yuvWidth

        +
        protected int yuvWidth
        +
      • +
      + + + +
        +
      • +

        yuvHeight

        +
        protected int yuvHeight
        +
      • +
      + + + +
        +
      • +

        yuvSubsamp

        +
        protected int yuvSubsamp
        +
      • +
      +
    • +
    - - - - - - -
    -Constructor Detail
    - -

    -YUVImage

    -
    -public YUVImage(int width,
    -                int pad,
    -                int height,
    -                int subsamp)
    -         throws java.lang.Exception
    -
    -
    Create a YUVImage instance with a new image buffer. -

    -

    -
    Parameters:
    width - width (in pixels) of the YUV image
    pad - Each line of each plane in the YUV image buffer will be padded - to this number of bytes (must be a power of 2.)
    height - height (in pixels) of the YUV image
    subsamp - the level of chrominance subsampling to be used in the YUV - image (one of TJ.SAMP_*) -
    Throws: -
    java.lang.Exception
    -
    -
    - -

    -YUVImage

    -
    -public YUVImage(byte[] yuvImage,
    -                int width,
    -                int pad,
    -                int height,
    -                int subsamp)
    -         throws java.lang.Exception
    -
    -
    Create a YUVImage instance from an existing YUV planar image - buffer. -

    -

    -
    Parameters:
    yuvImage - image buffer that contains or will contain YUV planar - image data. See above for a description of the image - format. You can use TJ.bufSizeYUV(int, int, int, int) to determine the appropriate - size for this buffer.
    width - width (in pixels) of the YUV image
    pad - the line padding used in the YUV image buffer. For +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        YUVImage

        +
        public YUVImage(int width,
        +        int pad,
        +        int height,
        +        int subsamp)
        +         throws java.lang.Exception
        +
        Create a YUVImage instance with a new image buffer.
        +
        Parameters:
        width - width (in pixels) of the YUV image
        pad - Each line of each plane in the YUV image buffer will be padded + to this number of bytes (must be a power of 2.)
        height - height (in pixels) of the YUV image
        subsamp - the level of chrominance subsampling to be used in the YUV + image (one of TJ.SAMP_*)
        +
        Throws:
        +
        java.lang.Exception
        +
      • +
      + + + +
        +
      • +

        YUVImage

        +
        public YUVImage(byte[] yuvImage,
        +        int width,
        +        int pad,
        +        int height,
        +        int subsamp)
        +         throws java.lang.Exception
        +
        Create a YUVImage instance from an existing YUV planar image + buffer.
        +
        Parameters:
        yuvImage - image buffer that contains or will contain YUV planar + image data. See above for a description of the image + format. You can use TJ.bufSizeYUV(int, int, int, int) to determine the appropriate + size for this buffer.
        width - width (in pixels) of the YUV image
        pad - the line padding used in the YUV image buffer. For instance, if each line in each plane of the buffer is padded to the - nearest multiple of 4 bytes, then pad should be set to 4.
        height - height (in pixels) of the YUV image
        subsamp - the level of chrominance subsampling used in the YUV - image (one of TJ.SAMP_*) -
        Throws: -
        java.lang.Exception
        -
    - + nearest multiple of 4 bytes, then pad should be set to 4.
    height - height (in pixels) of the YUV image
    subsamp - the level of chrominance subsampling used in the YUV + image (one of TJ.SAMP_*)
    +
    Throws:
    +
    java.lang.Exception
    +
  • +
+ + - - - - - - -
-Method Detail
- -

-getWidth

-
-public int getWidth()
-             throws java.lang.Exception
-
-
Returns the width of the YUV image. -

-

- -
Returns:
the width of the YUV image -
Throws: -
java.lang.Exception
-
-
-
- -

-getHeight

-
-public int getHeight()
-              throws java.lang.Exception
-
-
Returns the height of the YUV image. -

-

- -
Returns:
the height of the YUV image -
Throws: -
java.lang.Exception
-
-
-
- -

-getPad

-
-public int getPad()
-           throws java.lang.Exception
-
-
Returns the line padding used in the YUV image buffer. -

-

- -
Returns:
the line padding used in the YUV image buffer -
Throws: -
java.lang.Exception
-
-
-
- -

-getSubsamp

-
-public int getSubsamp()
-               throws java.lang.Exception
-
-
Returns the level of chrominance subsampling used in the YUV image. See - TJ.SAMP_*. -

-

- -
Returns:
the level of chrominance subsampling used in the YUV image -
Throws: -
java.lang.Exception
-
-
-
- -

-getBuf

-
-public byte[] getBuf()
-              throws java.lang.Exception
-
-
Returns the YUV image buffer -

-

- -
Returns:
the YUV image buffer -
Throws: -
java.lang.Exception
-
-
-
- -

-getSize

-
-public int getSize()
-            throws java.lang.Exception
-
-
Returns the size (in bytes) of the YUV image buffer -

-

- -
Returns:
the size (in bytes) of the YUV image buffer -
Throws: -
java.lang.Exception
-
-
+
    +
  • + + +

    Method Detail

    + + + +
      +
    • +

      getWidth

      +
      public int getWidth()
      +             throws java.lang.Exception
      +
      Returns the width of the YUV image.
      +
      Returns:
      the width of the YUV image
      +
      Throws:
      +
      java.lang.Exception
      +
    • +
    + + + +
      +
    • +

      getHeight

      +
      public int getHeight()
      +              throws java.lang.Exception
      +
      Returns the height of the YUV image.
      +
      Returns:
      the height of the YUV image
      +
      Throws:
      +
      java.lang.Exception
      +
    • +
    + + + +
      +
    • +

      getPad

      +
      public int getPad()
      +           throws java.lang.Exception
      +
      Returns the line padding used in the YUV image buffer.
      +
      Returns:
      the line padding used in the YUV image buffer
      +
      Throws:
      +
      java.lang.Exception
      +
    • +
    + + + +
      +
    • +

      getSubsamp

      +
      public int getSubsamp()
      +               throws java.lang.Exception
      +
      Returns the level of chrominance subsampling used in the YUV image. See + TJ.SAMP_*.
      +
      Returns:
      the level of chrominance subsampling used in the YUV image
      +
      Throws:
      +
      java.lang.Exception
      +
    • +
    + + + +
      +
    • +

      getBuf

      +
      public byte[] getBuf()
      +              throws java.lang.Exception
      +
      Returns the YUV image buffer
      +
      Returns:
      the YUV image buffer
      +
      Throws:
      +
      java.lang.Exception
      +
    • +
    + + + +
      +
    • +

      getSize

      +
      public int getSize()
      +            throws java.lang.Exception
      +
      Returns the size (in bytes) of the YUV image buffer
      +
      Returns:
      the size (in bytes) of the YUV image buffer
      +
      Throws:
      +
      java.lang.Exception
      +
    • +
    +
  • +
+ + +
+
-
- - - - - - - - - - - - - - - - - - -
- -
- + + +
+ + +
+ + + - -
- - - + + diff --git a/java/doc/org/libjpegturbo/turbojpeg/package-frame.html b/java/doc/org/libjpegturbo/turbojpeg/package-frame.html index 215bdea..7cb8fa0 100644 --- a/java/doc/org/libjpegturbo/turbojpeg/package-frame.html +++ b/java/doc/org/libjpegturbo/turbojpeg/package-frame.html @@ -1,53 +1,27 @@ - - - - -org.libjpegturbo.turbojpeg - - - - - - - - - - -org.libjpegturbo.turbojpeg - - - - -
-Interfaces  - -
-TJCustomFilter
- - - - - - -
-Classes  - -
-TJ -
-TJCompressor -
-TJDecompressor -
-TJScalingFactor -
-TJTransform -
-TJTransformer -
-YUVImage
- - - - + + + +org.libjpegturbo.turbojpeg + + + +

org.libjpegturbo.turbojpeg

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/java/doc/org/libjpegturbo/turbojpeg/package-summary.html b/java/doc/org/libjpegturbo/turbojpeg/package-summary.html index 12c047b..c5e2f7d 100644 --- a/java/doc/org/libjpegturbo/turbojpeg/package-summary.html +++ b/java/doc/org/libjpegturbo/turbojpeg/package-summary.html @@ -1,190 +1,183 @@ - - - - -org.libjpegturbo.turbojpeg - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - -
- -
- + + + + + - -
-

-Package org.libjpegturbo.turbojpeg -

- - - - - - - - - -
-Interface Summary
TJCustomFilterCustom filter callback interface
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
TJTurboJPEG utility class (cannot be instantiated)
TJCompressorTurboJPEG compressor
TJDecompressorTurboJPEG decompressor
TJScalingFactorFractional scaling factor
TJTransformLossless transform parameters
TJTransformerTurboJPEG lossless transformer
YUVImageThis class encapsulates a YUV planar image buffer and the metadata - associated with it.
-  - -

-

-
-
- - +
+

Package org.libjpegturbo.turbojpeg

+
+
+ +
- - - - - - - - - - - - -
- -
- + + + + + - -
- - - + + diff --git a/java/doc/org/libjpegturbo/turbojpeg/package-tree.html b/java/doc/org/libjpegturbo/turbojpeg/package-tree.html index 5910278..1033ee5 100644 --- a/java/doc/org/libjpegturbo/turbojpeg/package-tree.html +++ b/java/doc/org/libjpegturbo/turbojpeg/package-tree.html @@ -1,159 +1,143 @@ - - - - -org.libjpegturbo.turbojpeg Class Hierarchy - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - -
- -
- + + + + + - -
-
-

-Hierarchy For Package org.libjpegturbo.turbojpeg -

-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - +
+

Hierarchy For Package org.libjpegturbo.turbojpeg

+
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
- - - - - - - - - - - - -
- -
- + + + + + - -
- - - + + diff --git a/java/doc/overview-tree.html b/java/doc/overview-tree.html index 563b579..eae18a1 100644 --- a/java/doc/overview-tree.html +++ b/java/doc/overview-tree.html @@ -1,161 +1,147 @@ - - - - -Class Hierarchy - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - -
- -
- + + + + + - -
-
-

-Hierarchy For All Packages

-
-
-
Package Hierarchies:
org.libjpegturbo.turbojpeg
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
- - - - - - - - - - - - -
- -
- + + + + + - -
- - - + + diff --git a/java/doc/resources/background.gif b/java/doc/resources/background.gif new file mode 100644 index 0000000000000000000000000000000000000000..f471940fde2f39ef8943a6af9569bcf986b1579b GIT binary patch literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5AY543-j^$^!EPz_4eHZ2#>)41`h@dc!2OAgN6$a zCS2I?;lqgx6IR4nkpTe;1RN0f=zxMq2O=q`94V5d$&e>Unta)^<;;^G3>e7yp=ZvW z6DIW3xpSvaogXF?_4%`@(V;s}NR^5J!3hrtJV@1QRV&r5S*L!zYE|rss${iFkg&!? zTN5V#)~=bmMorwgZsEpdOE)iExo+FO-8;8Kga{=HbSQCnF=E6W3?o*|ID%uwi5**> zJXy127Y9m+=HQ|PhXWi+xNwoWv}n_%Pq%(e+H~mGqhq5kv4Mo|-n~g|7!F*xZ{xv< zCpXS~dGg^IGK?4@J-T%b(XnUHFul6n<@2&4)zzyO2) z3Q8`i0+UKY*`$}e9mmp;tg*))`|PsK1|hAo%u0K$vDwm4gaSkm0j{`26k#qAKmbuhxZ#cquDR>B zD{s8+&TH-uNg$C#68QG}1HMBHfrP&L@@w$F_!itRzXdCN@V|LDAu%3!IDtq1#1UV7 z#1RxvT=B(DWbCoU5l=ia$Pp`Hgb_?Mp@hmtxZDI2N-)v#$}PXVvdm1d>@v(v`0TUJ zF)Pu89(q`zv=w^nVTIF3@3BYIPA}c`(@ZCAwbNBEt@PDUKe5CTR8aB66IE1!w%Amt zy+jpcn~k>GZpVFg+H6x{_uOksvBlq0OyT$6TyQZ37k(cOxZr|JEx1sGm<(M9gH z-~PMqyn|tT=))UN`|-FFFUA#KToK0fUOaz=7}Z~KeHhVC&%O27cTfHQ^WBU8z4p&T zp#>D|V}XShTD;Hx745Iz{`>K-Z$A|7!*Boo{mY;G21vjH8t{M!OrQc6$iN0V@PQDF zpadsK!3tXNf*8!81~qnXWuHZ)kytd=_y+ADWvw31ouV;CdZ#ya*(l7-A-C-Y^+iit8O zBy3*`Ls$|5Hn4m_^I^|C7{m7EFn|5vTk;|oywIgCc9Bb*=L+Y$)M>9GC<|HGs@6NB zHLY%03!dDf=eDRt2O6lVSFRcsuWZEwU?=z$CZ0W?#VJfdN>HG(l%oKpyiftJc|Y)xkjSJYCrQal-0PC~()T9xwF!Jf zVi1UA#3BBbh(i8r5&v#Pz!cF41KjbCc?4u2@@Q~oKLirt2TM30;y6b+zyX2`Yl9u; z`0$3;v0-YUp&7IIT!9-C*e{wE9>Kx3D)-;0v)C; KYxQGgum%9JOA&7X diff --git a/java/doc/resources/tab.gif b/java/doc/resources/tab.gif new file mode 100644 index 0000000000000000000000000000000000000000..1a73a83be11dde2d0003b716ca778fafc6f34ad7 GIT binary patch literal 291 zcmZ?wbhEHbWM+_KxXJ(m|NsBLKh^ZZLaX-+EFVob+gGEtw?=DMmFBi`jWca}`|GrK zS84620CF`ibs3!R&_C0rf3ijIM6=$}M%|-Lx`!Hcc2;Oz>NdPT#q`cZlbij$jvbRk6R>8g*>}*b9E+WDwmpHAAxYzyT aU_pX{M6b8i>#Dq3onfZy}_nli%!Q$ZV%e&!tN2 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 YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN literal 0 HcmV?d00001 diff --git a/java/doc/serialized-form.html b/java/doc/serialized-form.html index 8ba0661..bbe1805 100644 --- a/java/doc/serialized-form.html +++ b/java/doc/serialized-form.html @@ -1,200 +1,150 @@ - - - - -Serialized Form - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - -
- -
- + + + + + - -
-
-

-Serialized Form

-
-
- - - - - -
-Package org.libjpegturbo.turbojpeg
- -

- - - - - -
-Class org.libjpegturbo.turbojpeg.TJTransform extends java.awt.Rectangle implements Serializable
- -

-serialVersionUID: -127367705761430371L - -

- - - - - -
-Serialized Fields
- -

-op

-
-int op
-
-
Transform operation (one of OP_*) -

-

-
-
-
-

-options

-
-int options
-
-
Transform options (bitwise OR of one or more of OPT_*) -

-

-
-
-
-

-cf

-
-TJCustomFilter cf
-
-
Custom filter instance -

-

-
-
- -

-


- - +
+

Serialized Form

+
+
+
    +
  • +

    Package org.libjpegturbo.turbojpeg

    +
      +
    • + + +

      Class org.libjpegturbo.turbojpeg.TJTransform extends java.awt.Rectangle implements Serializable

      +
      +
      serialVersionUID:
      +
      -127367705761430371L
      +
      +
        +
      • + + +

        Serialized Fields

        +
          +
        • +

          op

          +
          int op
          +
          Transform operation (one of OP_*)
          +
        • +
        • +

          options

          +
          int options
          +
          Transform options (bitwise OR of one or more of OPT_*)
          +
        • +
        • +

          cf

          +
          TJCustomFilter cf
          +
          Custom filter instance
          +
        • +
        +
      • +
      +
    • +
    +
  • +
+
- - - - - - - - - - - - -
- -
- + + + + + - -
- - - + + diff --git a/java/doc/stylesheet.css b/java/doc/stylesheet.css index 6ea9e51..0aeaa97 100644 --- a/java/doc/stylesheet.css +++ b/java/doc/stylesheet.css @@ -1,29 +1,474 @@ /* Javadoc style sheet */ - -/* Define colors, fonts and other style attributes here to override the defaults */ - -/* Page background color */ -body { background-color: #FFFFFF; color:#000000 } - -/* Headings */ -h1 { font-size: 145% } - -/* Table colors */ -.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ -.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ -.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ - -/* Font used in left-hand frame lists */ -.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } -.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } -.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } - -/* Navigation bar fonts and colors */ -.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ -.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} - -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} - +/* +Overall document style +*/ +body { + background-color:#ffffff; + color:#353833; + font-family:Arial, Helvetica, sans-serif; + font-size:76%; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4c6b87; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4c6b87; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-size:1.3em; +} +h1 { + font-size:1.8em; +} +h2 { + font-size:1.5em; +} +h3 { + font-size:1.4em; +} +h4 { + font-size:1.3em; +} +h5 { + font-size:1.2em; +} +h6 { + font-size:1.1em; +} +ul { + list-style-type:disc; +} +code, tt { + font-size:1.2em; +} +dt code { + font-size:1.2em; +} +table tr td dt code { + font-size:1.2em; + vertical-align:top; +} +sup { + font-size:.6em; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:.8em; + z-index:200; + margin-top:-7px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + background-image:url(resources/titlebar.gif); + background-position:left top; + background-repeat:no-repeat; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:1em; + margin:0; +} +.topNav { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.bottomNav { + margin-top:10px; + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.subNav { + background-color:#dee3e9; + border-bottom:1px solid #9eadc0; + float:left; + width:100%; + overflow:hidden; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding:3px 6px; +} +ul.subNavList li{ + list-style:none; + float:left; + font-size:90%; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; +} +.navBarCell1Rev { + background-image:url(resources/tab.gif); + background-color:#a88834; + color:#FFFFFF; + margin: auto 5px; + border:1px solid #c9aa44; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader h1 { + font-size:1.3em; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 25px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:1.2em; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:1.0em; +} +.indexContainer h2 { + font-size:1.1em; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:1.1em; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:10px 0 10px 20px; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:25px; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #9eadc0; + background-color:#f9f9f9; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:1px solid #9eadc0; + border-top:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; + border-bottom:1px solid #9eadc0; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.contentContainer table, .classUseContainer table, .constantValuesContainer table { + border-bottom:1px solid #9eadc0; + width:100%; +} +.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { + width:100%; +} +.contentContainer .description table, .contentContainer .details table { + border-bottom:none; +} +.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ + vertical-align:top; + padding-right:20px; +} +.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, +.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, +.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, +.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { + padding-right:3px; +} +.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#FFFFFF; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + margin:0px; +} +caption a:link, caption a:hover, caption a:active, caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { + white-space:nowrap; + padding-top:8px; + padding-left:8px; + display:block; + float:left; + background-image:url(resources/titlebar.gif); + height:18px; +} +.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { + width:10px; + background-image:url(resources/titlebar_end.gif); + background-repeat:no-repeat; + background-position:top right; + position:relative; + float:left; +} +ul.blockList ul.blockList li.blockList table { + margin:0 0 12px 0px; + width:100%; +} +.tableSubHeadingColor { + background-color: #EEEEFF; +} +.altColor { + background-color:#eeeeef; +} +.rowColor { + background-color:#ffffff; +} +.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { + text-align:left; + padding:3px 3px 3px 7px; +} +th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { + background:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + text-align:left; + padding:3px 3px 3px 7px; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +td.colFirst, th.colFirst { + border-left:1px solid #9eadc0; + white-space:nowrap; +} +td.colLast, th.colLast { + border-right:1px solid #9eadc0; +} +td.colOne, th.colOne { + border-right:1px solid #9eadc0; + border-left:1px solid #9eadc0; +} +table.overviewSummary { + padding:0px; + margin-left:0px; +} +table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, +table.overviewSummary td.colOne, table.overviewSummary th.colOne { + width:25%; + vertical-align:middle; +} +table.packageSummary td.colFirst, table.overviewSummary th.colFirst { + width:25%; + vertical-align:middle; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:.9em; +} +.block { + display:block; + margin:3px 0 0 0; +} +.strong { + font-weight:bold; +} -- 2.40.0