Java doc tweaks
This commit is contained in:
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:34 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
All Classes
|
All Classes
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:34 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
All Classes
|
All Classes
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:34 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Constant Field Values
|
Constant Field Values
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:34 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Deprecated List
|
Deprecated List
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
@@ -83,8 +83,30 @@ function windowTitle()
|
|||||||
</CENTER>
|
</CENTER>
|
||||||
<HR SIZE="4" NOSHADE>
|
<HR SIZE="4" NOSHADE>
|
||||||
<B>Contents</B><UL>
|
<B>Contents</B><UL>
|
||||||
|
<LI><A HREF="#method">Deprecated Methods</A>
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
|
<A NAME="method"><!-- --></A>
|
||||||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||||
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||||
|
<B>Deprecated Methods</B></FONT></TH>
|
||||||
|
</TR>
|
||||||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
|
<TD><A HREF="org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[], int, int, int, int, int)">org.libjpegturbo.turbojpeg.TJDecompressor.decompress(byte[], int, int, int, int, int)</A>
|
||||||
|
<BR>
|
||||||
|
<I>Use
|
||||||
|
<A HREF="org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[], int, int, int, int, int, int, int)"><CODE>TJDecompressor.decompress(byte[], int, int, int, int, int, int, int)</CODE></A> instead.</I> </TD>
|
||||||
|
</TR>
|
||||||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
|
<TD><A HREF="org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int)">org.libjpegturbo.turbojpeg.TJCompressor.setSourceImage(byte[], int, int, int, int)</A>
|
||||||
|
<BR>
|
||||||
|
<I>Use
|
||||||
|
<A HREF="org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>TJCompressor.setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> instead.</I> </TD>
|
||||||
|
</TR>
|
||||||
|
</TABLE>
|
||||||
|
|
||||||
|
<P>
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:35 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
API Help
|
API Help
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:34 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Index
|
Index
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="./stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="./stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
@@ -83,8 +83,7 @@ function windowTitle()
|
|||||||
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJ.html#bufSize(int, int, int)"><B>bufSize(int, int, int)</B></A> -
|
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJ.html#bufSize(int, int, int)"><B>bufSize(int, int, int)</B></A> -
|
||||||
Static method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg">TJ</A>
|
Static method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg">TJ</A>
|
||||||
<DD>Returns the maximum size of the buffer (in bytes) required to hold a JPEG
|
<DD>Returns the maximum size of the buffer (in bytes) required to hold a JPEG
|
||||||
image with the given width and height, and level of chrominance
|
image with the given width, height, and level of chrominance subsampling.
|
||||||
subsampling.
|
|
||||||
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJ.html#bufSizeYUV(int, int, int)"><B>bufSizeYUV(int, int, int)</B></A> -
|
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJ.html#bufSizeYUV(int, int, int)"><B>bufSizeYUV(int, int, int)</B></A> -
|
||||||
Static method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg">TJ</A>
|
Static method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg">TJ</A>
|
||||||
<DD>Returns the size of the buffer (in bytes) required to hold a YUV planar
|
<DD>Returns the size of the buffer (in bytes) required to hold a YUV planar
|
||||||
@@ -135,8 +134,8 @@ Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg
|
|||||||
instance and output a decompressed image to the given destination buffer.
|
instance and output a decompressed image to the given destination buffer.
|
||||||
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[], int, int, int, int, int)"><B>decompress(byte[], int, int, int, int, int)</B></A> -
|
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[], int, int, int, int, int)"><B>decompress(byte[], int, int, int, int, int)</B></A> -
|
||||||
Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg">TJDecompressor</A>
|
Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg">TJDecompressor</A>
|
||||||
<DD>Decompress the JPEG source image associated with this decompressor
|
<DD><B>Deprecated.</B> <I>Use
|
||||||
instance and output a decompressed image to the given destination buffer.
|
<A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[], int, int, int, int, int, int, int)"><CODE>TJDecompressor.decompress(byte[], int, int, int, int, int, int, int)</CODE></A> instead.</I>
|
||||||
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(int, int, int, int, int)"><B>decompress(int, int, int, int, int)</B></A> -
|
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(int, int, int, int, int)"><B>decompress(int, int, int, int, int)</B></A> -
|
||||||
Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg">TJDecompressor</A>
|
Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg">TJDecompressor</A>
|
||||||
<DD>Decompress the JPEG source image associated with this decompressor
|
<DD>Decompress the JPEG source image associated with this decompressor
|
||||||
@@ -212,8 +211,9 @@ Static variable in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/
|
|||||||
<DD>Use the fastest DCT/IDCT algorithm available in the underlying codec.
|
<DD>Use the fastest DCT/IDCT algorithm available in the underlying codec.
|
||||||
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJ.html#FLAG_FASTUPSAMPLE"><B>FLAG_FASTUPSAMPLE</B></A> -
|
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJ.html#FLAG_FASTUPSAMPLE"><B>FLAG_FASTUPSAMPLE</B></A> -
|
||||||
Static variable in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg">TJ</A>
|
Static variable in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg">TJ</A>
|
||||||
<DD>When decompressing, use the fastest chrominance upsampling algorithm
|
<DD>When decompressing an image that was compressed using chrominance
|
||||||
available in the underlying codec.
|
subsampling, use the fastest chrominance upsampling algorithm available in
|
||||||
|
the underlying codec.
|
||||||
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJ.html#FLAG_FORCEMMX"><B>FLAG_FORCEMMX</B></A> -
|
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJ.html#FLAG_FORCEMMX"><B>FLAG_FORCEMMX</B></A> -
|
||||||
Static variable in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg">TJ</A>
|
Static variable in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg">TJ</A>
|
||||||
<DD>Turn off CPU auto-detection and force TurboJPEG to use MMX code
|
<DD>Turn off CPU auto-detection and force TurboJPEG to use MMX code
|
||||||
@@ -274,7 +274,7 @@ Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg
|
|||||||
<DD>Returns numerator
|
<DD>Returns numerator
|
||||||
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJ.html#getPixelSize(int)"><B>getPixelSize(int)</B></A> -
|
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJ.html#getPixelSize(int)"><B>getPixelSize(int)</B></A> -
|
||||||
Static method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg">TJ</A>
|
Static method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg">TJ</A>
|
||||||
<DD>Returns the pixel size (in bytes) of the given pixel format.
|
<DD>Returns the pixel size (in bytes) for the given pixel format.
|
||||||
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJ.html#getRedOffset(int)"><B>getRedOffset(int)</B></A> -
|
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJ.html#getRedOffset(int)"><B>getRedOffset(int)</B></A> -
|
||||||
Static method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg">TJ</A>
|
Static method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg">TJ</A>
|
||||||
<DD>For the given pixel format, returns the number of bytes that the red
|
<DD>For the given pixel format, returns the number of bytes that the red
|
||||||
@@ -284,12 +284,12 @@ Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg
|
|||||||
<DD>Returns the scaled value of <code>dimension</code>.
|
<DD>Returns the scaled value of <code>dimension</code>.
|
||||||
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html#getScaledHeight(int, int)"><B>getScaledHeight(int, int)</B></A> -
|
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html#getScaledHeight(int, int)"><B>getScaledHeight(int, int)</B></A> -
|
||||||
Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg">TJDecompressor</A>
|
Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg">TJDecompressor</A>
|
||||||
<DD>Returns the height of the largest scaled down image that the TurboJPEG
|
<DD>Returns the height of the largest scaled-down image that the TurboJPEG
|
||||||
decompressor can generate without exceeding the desired image width and
|
decompressor can generate without exceeding the desired image width and
|
||||||
height.
|
height.
|
||||||
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html#getScaledWidth(int, int)"><B>getScaledWidth(int, int)</B></A> -
|
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html#getScaledWidth(int, int)"><B>getScaledWidth(int, int)</B></A> -
|
||||||
Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg">TJDecompressor</A>
|
Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg">TJDecompressor</A>
|
||||||
<DD>Returns the width of the largest scaled down image that the TurboJPEG
|
<DD>Returns the width of the largest scaled-down image that the TurboJPEG
|
||||||
decompressor can generate without exceeding the desired image width and
|
decompressor can generate without exceeding the desired image width and
|
||||||
height.
|
height.
|
||||||
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJ.html#getScalingFactors()"><B>getScalingFactors()</B></A> -
|
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJ.html#getScalingFactors()"><B>getScalingFactors()</B></A> -
|
||||||
@@ -484,7 +484,8 @@ Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg
|
|||||||
<DD>Associate an uncompressed source image with this compressor instance.
|
<DD>Associate an uncompressed source image with this compressor instance.
|
||||||
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int)"><B>setSourceImage(byte[], int, int, int, int)</B></A> -
|
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int)"><B>setSourceImage(byte[], int, int, int, int)</B></A> -
|
||||||
Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJCompressor.html" title="class in org.libjpegturbo.turbojpeg">TJCompressor</A>
|
Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJCompressor.html" title="class in org.libjpegturbo.turbojpeg">TJCompressor</A>
|
||||||
<DD>Associate an uncompressed source image with this compressor instance.
|
<DD><B>Deprecated.</B> <I>Use
|
||||||
|
<A HREF="./org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>TJCompressor.setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> instead.</I>
|
||||||
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJCompressor.html#setSubsamp(int)"><B>setSubsamp(int)</B></A> -
|
<DT><A HREF="./org/libjpegturbo/turbojpeg/TJCompressor.html#setSubsamp(int)"><B>setSubsamp(int)</B></A> -
|
||||||
Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJCompressor.html" title="class in org.libjpegturbo.turbojpeg">TJCompressor</A>
|
Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJCompressor.html" title="class in org.libjpegturbo.turbojpeg">TJCompressor</A>
|
||||||
<DD>Set the level of chrominance subsampling for subsequent compress/encode
|
<DD>Set the level of chrominance subsampling for subsequent compress/encode
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc on Sun Sep 23 19:56:07 CDT 2012-->
|
<!-- Generated by javadoc on Fri Apr 26 20:05:34 CDT 2013-->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Generated Documentation (Untitled)
|
Generated Documentation (Untitled)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:33 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
TJ
|
TJ
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
@@ -146,8 +146,9 @@ TurboJPEG utility class (cannot be instantiated)
|
|||||||
<TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_FASTUPSAMPLE">FLAG_FASTUPSAMPLE</A></B></CODE>
|
<TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_FASTUPSAMPLE">FLAG_FASTUPSAMPLE</A></B></CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
When decompressing, use the fastest chrominance upsampling algorithm
|
When decompressing an image that was compressed using chrominance
|
||||||
available in the underlying codec.</TD>
|
subsampling, use the fastest chrominance upsampling algorithm available in
|
||||||
|
the underlying codec.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
@@ -364,8 +365,7 @@ TurboJPEG utility class (cannot be instantiated)
|
|||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Returns the maximum size of the buffer (in bytes) required to hold a JPEG
|
Returns the maximum size of the buffer (in bytes) required to hold a JPEG
|
||||||
image with the given width and height, and level of chrominance
|
image with the given width, height, and level of chrominance subsampling.</TD>
|
||||||
subsampling.</TD>
|
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
@@ -420,7 +420,7 @@ TurboJPEG utility class (cannot be instantiated)
|
|||||||
<TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getPixelSize(int)">getPixelSize</A></B>(int pixelFormat)</CODE>
|
<TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getPixelSize(int)">getPixelSize</A></B>(int pixelFormat)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Returns the pixel size (in bytes) of the given pixel format.</TD>
|
Returns the pixel size (in bytes) for the given pixel format.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
@@ -779,11 +779,11 @@ FLAG_FASTUPSAMPLE</H3>
|
|||||||
<PRE>
|
<PRE>
|
||||||
public static final int <B>FLAG_FASTUPSAMPLE</B></PRE>
|
public static final int <B>FLAG_FASTUPSAMPLE</B></PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>When decompressing, use the fastest chrominance upsampling algorithm
|
<DD>When decompressing an image that was compressed using chrominance
|
||||||
available in the underlying codec. The default is to use smooth
|
subsampling, use the fastest chrominance upsampling algorithm available in
|
||||||
upsampling, which creates a smooth transition between neighboring
|
the underlying codec. The default is to use smooth upsampling, which
|
||||||
chrominance components in order to reduce upsampling artifacts in the
|
creates a smooth transition between neighboring chrominance components in
|
||||||
decompressed image.
|
order to reduce upsampling artifacts in the decompressed image.
|
||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.FLAG_FASTUPSAMPLE">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.FLAG_FASTUPSAMPLE">Constant Field Values</A></DL>
|
||||||
@@ -896,11 +896,11 @@ getPixelSize</H3>
|
|||||||
public static int <B>getPixelSize</B>(int pixelFormat)
|
public static int <B>getPixelSize</B>(int pixelFormat)
|
||||||
throws java.lang.Exception</PRE>
|
throws java.lang.Exception</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Returns the pixel size (in bytes) of the given pixel format.
|
<DD>Returns the pixel size (in bytes) for the given pixel format.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>pixelFormat</CODE> - the pixel format (one of <code>PF_*</code>)
|
<DT><B>Parameters:</B><DD><CODE>pixelFormat</CODE> - the pixel format (one of <code>PF_*</code>)
|
||||||
<DT><B>Returns:</B><DD>the pixel size (in bytes) of the given pixel format
|
<DT><B>Returns:</B><DD>the pixel size (in bytes) for the given pixel format
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE>java.lang.Exception</CODE></DL>
|
<DD><CODE>java.lang.Exception</CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
@@ -979,15 +979,13 @@ public static int <B>bufSize</B>(int width,
|
|||||||
throws java.lang.Exception</PRE>
|
throws java.lang.Exception</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Returns the maximum size of the buffer (in bytes) required to hold a JPEG
|
<DD>Returns the maximum size of the buffer (in bytes) required to hold a JPEG
|
||||||
image with the given width and height, and level of chrominance
|
image with the given width, height, and level of chrominance subsampling.
|
||||||
subsampling.
|
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>width</CODE> - the width (in pixels) of the JPEG image<DD><CODE>height</CODE> - the height (in pixels) of the JPEG image<DD><CODE>jpegSubsamp</CODE> - the level of chrominance subsampling to be used when
|
<DT><B>Parameters:</B><DD><CODE>width</CODE> - the width (in pixels) of the JPEG image<DD><CODE>height</CODE> - the height (in pixels) of the JPEG image<DD><CODE>jpegSubsamp</CODE> - the level of chrominance subsampling to be used when
|
||||||
generating the JPEG image (one of <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.SAMP_*</CODE></A>)
|
generating the JPEG image (one of <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.SAMP_*</CODE></A>)
|
||||||
<DT><B>Returns:</B><DD>the maximum size of the buffer (in bytes) required to hold a JPEG
|
<DT><B>Returns:</B><DD>the maximum size of the buffer (in bytes) required to hold a JPEG
|
||||||
image with the given width and height, and level of chrominance
|
image with the given width, height, and level of chrominance subsampling
|
||||||
subsampling
|
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE>java.lang.Exception</CODE></DL>
|
<DD><CODE>java.lang.Exception</CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:34 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
TJCompressor
|
TJCompressor
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
@@ -280,7 +280,8 @@ TurboJPEG compressor
|
|||||||
int pixelFormat)</CODE>
|
int pixelFormat)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Associate an uncompressed source image with this compressor instance.</TD>
|
<B>Deprecated.</B> <I>Use
|
||||||
|
<A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> instead.</I></TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
@@ -358,7 +359,8 @@ public <B>TJCompressor</B>(byte[] srcImage,
|
|||||||
instance.
|
instance.
|
||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>srcImage</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>width</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>pitch</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>height</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>pixelFormat</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description
|
<DT><B>Parameters:</B><DD><CODE>srcImage</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>width</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>pitch</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>height</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>pixelFormat</CODE> - pixel format of the source image (one of
|
||||||
|
<A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.PF_*</CODE></A>)
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE>java.lang.Exception</CODE></DL>
|
<DD><CODE>java.lang.Exception</CODE></DL>
|
||||||
</DL>
|
</DL>
|
||||||
@@ -381,7 +383,8 @@ public <B>TJCompressor</B>(byte[] srcImage,
|
|||||||
instance.
|
instance.
|
||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>srcImage</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>x</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>y</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>width</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>pitch</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>height</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>pixelFormat</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description
|
<DT><B>Parameters:</B><DD><CODE>srcImage</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>x</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>y</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>width</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>pitch</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>height</CODE> - see <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for description<DD><CODE>pixelFormat</CODE> - pixel format of the source image (one of
|
||||||
|
<A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.PF_*</CODE></A>)
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE>java.lang.Exception</CODE></DL>
|
<DD><CODE>java.lang.Exception</CODE></DL>
|
||||||
</DL>
|
</DL>
|
||||||
@@ -441,19 +444,11 @@ public void <B>setSourceImage</B>(byte[] srcImage,
|
|||||||
int pixelFormat)
|
int pixelFormat)
|
||||||
throws java.lang.Exception</PRE>
|
throws java.lang.Exception</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Associate an uncompressed source image with this compressor instance.
|
<DD><B>Deprecated.</B> <I>Use
|
||||||
|
<A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> instead.</I>
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>srcImage</CODE> - see
|
|
||||||
<A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for
|
|
||||||
description<DD><CODE>width</CODE> - see
|
|
||||||
<A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for
|
|
||||||
description<DD><CODE>pitch</CODE> - see
|
|
||||||
<A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for
|
|
||||||
description<DD><CODE>height</CODE> - see
|
|
||||||
<A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#setSourceImage(byte[], int, int, int, int, int, int)"><CODE>setSourceImage(byte[], int, int, int, int, int, int)</CODE></A> for
|
|
||||||
description<DD><CODE>pixelFormat</CODE> - pixel format of the source image (one of
|
|
||||||
<A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.PF_*</CODE></A>)
|
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE>java.lang.Exception</CODE></DL>
|
<DD><CODE>java.lang.Exception</CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
@@ -508,7 +503,7 @@ public void <B>compress</B>(byte[] dstBuf,
|
|||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>dstBuf</CODE> - buffer that will receive the JPEG image. Use
|
<DT><B>Parameters:</B><DD><CODE>dstBuf</CODE> - buffer that will receive the JPEG image. Use
|
||||||
<A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#bufSize(int, int, int)"><CODE>TJ.bufSize(int, int, int)</CODE></A> to determine the maximum size for this buffer based on
|
<A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#bufSize(int, int, int)"><CODE>TJ.bufSize(int, int, int)</CODE></A> to determine the maximum size for this buffer based on
|
||||||
the image width and height.<DD><CODE>flags</CODE> - the bitwise OR of one or more of <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.FLAG_*</CODE></A>
|
the image width, height, and level of chrominance subsampling.<DD><CODE>flags</CODE> - the bitwise OR of one or more of <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.FLAG_*</CODE></A>
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE>java.lang.Exception</CODE></DL>
|
<DD><CODE>java.lang.Exception</CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
@@ -549,7 +544,7 @@ public void <B>compress</B>(java.awt.image.BufferedImage srcImage,
|
|||||||
<DT><B>Parameters:</B><DD><CODE>srcImage</CODE> - a <code>BufferedImage</code> instance containing RGB or
|
<DT><B>Parameters:</B><DD><CODE>srcImage</CODE> - a <code>BufferedImage</code> instance containing RGB or
|
||||||
grayscale pixels to be compressed<DD><CODE>dstBuf</CODE> - buffer that will receive the JPEG image. Use
|
grayscale pixels to be compressed<DD><CODE>dstBuf</CODE> - buffer that will receive the JPEG image. Use
|
||||||
<A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#bufSize(int, int, int)"><CODE>TJ.bufSize(int, int, int)</CODE></A> to determine the maximum size for this buffer based on
|
<A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#bufSize(int, int, int)"><CODE>TJ.bufSize(int, int, int)</CODE></A> to determine the maximum size for this buffer based on
|
||||||
the image width and height.<DD><CODE>flags</CODE> - the bitwise OR of one or more of <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.FLAG_*</CODE></A>
|
the image width, height, and level of chrominance subsampling.<DD><CODE>flags</CODE> - the bitwise OR of one or more of <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.FLAG_*</CODE></A>
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE>java.lang.Exception</CODE></DL>
|
<DD><CODE>java.lang.Exception</CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
@@ -590,13 +585,13 @@ public void <B>encodeYUV</B>(byte[] dstBuf,
|
|||||||
TurboJPEG's underlying codec to produce a planar YUV image that is
|
TurboJPEG's underlying codec to produce a planar YUV image that is
|
||||||
suitable for direct video display. Specifically, if the chrominance
|
suitable for direct video display. Specifically, if the chrominance
|
||||||
components are subsampled along the horizontal dimension, then the width
|
components are subsampled along the horizontal dimension, then the width
|
||||||
of the luminance plane is padded to 2 in the output image (same goes for
|
of the luminance plane is padded to the nearest multiple of 2 in the
|
||||||
the height of the luminance plane, if the chrominance components are
|
output image (same goes for the height of the luminance plane, if the
|
||||||
subsampled along the vertical dimension.) Also, each line of each plane
|
chrominance components are subsampled along the vertical dimension.)
|
||||||
in the output image is padded to 4 bytes. Although this will work with
|
Also, each line of each plane in the output image is padded to 4 bytes.
|
||||||
any subsampling option, it is really only useful in combination with
|
Although this will work with any subsampling option, it is really only
|
||||||
<A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#SAMP_420"><CODE>TJ.SAMP_420</CODE></A>, which produces an image compatible with the I420 (AKA
|
useful in combination with <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#SAMP_420"><CODE>TJ.SAMP_420</CODE></A>, which produces an image
|
||||||
"YUV420P") format.
|
compatible with the I420 (AKA "YUV420P") format.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>dstBuf</CODE> - buffer that will receive the YUV planar image. Use
|
<DT><B>Parameters:</B><DD><CODE>dstBuf</CODE> - buffer that will receive the YUV planar image. Use
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:34 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
TJCustomFilter
|
TJCustomFilter
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
@@ -167,10 +167,10 @@ void <B>customFilter</B>(java.nio.ShortBuffer coeffBuffer,
|
|||||||
into multiple DCT coefficient buffers and call the callback function once
|
into multiple DCT coefficient buffers and call the callback function once
|
||||||
for each buffer.<DD><CODE>planeRegion</CODE> - rectangle containing the width and height of the
|
for each buffer.<DD><CODE>planeRegion</CODE> - rectangle containing the width and height of the
|
||||||
component plane to which <code>coeffBuffer</code> belongs<DD><CODE>componentID</CODE> - ID number of the component plane to which
|
component plane to which <code>coeffBuffer</code> belongs<DD><CODE>componentID</CODE> - ID number of the component plane to which
|
||||||
<code>coeffBuffer</code>belongs (Y, Cb, and Cr have, respectively, ID's of
|
<code>coeffBuffer</code> belongs (Y, U, and V have, respectively, ID's of
|
||||||
0, 1, and 2 in typical JPEG images.)<DD><CODE>transformID</CODE> - ID number of the transformed image to which
|
0, 1, and 2 in typical JPEG images.)<DD><CODE>transformID</CODE> - ID number of the transformed image to which
|
||||||
<code>coeffBuffer</code> belongs. This is the same as the index of the
|
<code>coeffBuffer</code> belongs. This is the same as the index of the
|
||||||
transform in the transforms array that was passed to <A HREF="../../../org/libjpegturbo/turbojpeg/TJTransformer.html#transform(byte[][], org.libjpegturbo.turbojpeg.TJTransform[], int)"><CODE>TJTransformer.transform()</CODE></A>.<DD><CODE>transform</CODE> - a <A HREF="../../../org/libjpegturbo/turbojpeg/TJTransform.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJTransform</CODE></A> instance that specifies the
|
transform in the <code>transforms</code> array that was passed to <A HREF="../../../org/libjpegturbo/turbojpeg/TJTransformer.html#transform(byte[][], org.libjpegturbo.turbojpeg.TJTransform[], int)"><CODE>TJTransformer.transform()</CODE></A>.<DD><CODE>transform</CODE> - a <A HREF="../../../org/libjpegturbo/turbojpeg/TJTransform.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJTransform</CODE></A> instance that specifies the
|
||||||
parameters and/or cropping region for this transform
|
parameters and/or cropping region for this transform
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE>java.lang.Exception</CODE></DL>
|
<DD><CODE>java.lang.Exception</CODE></DL>
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:34 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
TJDecompressor
|
TJDecompressor
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
@@ -237,8 +237,8 @@ TurboJPEG decompressor
|
|||||||
int flags)</CODE>
|
int flags)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Decompress the JPEG source image associated with this decompressor
|
<B>Deprecated.</B> <I>Use
|
||||||
instance and output a decompressed image to the given destination buffer.</TD>
|
<A HREF="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[], int, int, int, int, int, int, int)"><CODE>decompress(byte[], int, int, int, int, int, int, int)</CODE></A> instead.</I></TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
@@ -358,7 +358,7 @@ TurboJPEG decompressor
|
|||||||
int desiredHeight)</CODE>
|
int desiredHeight)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Returns the height of the largest scaled down image that the TurboJPEG
|
Returns the height of the largest scaled-down image that the TurboJPEG
|
||||||
decompressor can generate without exceeding the desired image width and
|
decompressor can generate without exceeding the desired image width and
|
||||||
height.</TD>
|
height.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
@@ -369,7 +369,7 @@ TurboJPEG decompressor
|
|||||||
int desiredHeight)</CODE>
|
int desiredHeight)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Returns the width of the largest scaled down image that the TurboJPEG
|
Returns the width of the largest scaled-down image that the TurboJPEG
|
||||||
decompressor can generate without exceeding the desired image width and
|
decompressor can generate without exceeding the desired image width and
|
||||||
height.</TD>
|
height.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
@@ -671,7 +671,7 @@ public int <B>getScaledWidth</B>(int desiredWidth,
|
|||||||
int desiredHeight)
|
int desiredHeight)
|
||||||
throws java.lang.Exception</PRE>
|
throws java.lang.Exception</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Returns the width of the largest scaled down image that the TurboJPEG
|
<DD>Returns the width of the largest scaled-down image that the TurboJPEG
|
||||||
decompressor can generate without exceeding the desired image width and
|
decompressor can generate without exceeding the desired image width and
|
||||||
height.
|
height.
|
||||||
<P>
|
<P>
|
||||||
@@ -683,7 +683,7 @@ public int <B>getScaledWidth</B>(int desiredWidth,
|
|||||||
Setting this to 0 is the same as setting it to the height of the JPEG
|
Setting this to 0 is the same as setting it to the height of the JPEG
|
||||||
image (in other words, the height will not be considered when determining
|
image (in other words, the height will not be considered when determining
|
||||||
the scaled image size.)
|
the scaled image size.)
|
||||||
<DT><B>Returns:</B><DD>the width of the largest scaled down image that the TurboJPEG
|
<DT><B>Returns:</B><DD>the width of the largest scaled-down image that the TurboJPEG
|
||||||
decompressor can generate without exceeding the desired image width and
|
decompressor can generate without exceeding the desired image width and
|
||||||
height
|
height
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
@@ -699,7 +699,7 @@ public int <B>getScaledHeight</B>(int desiredWidth,
|
|||||||
int desiredHeight)
|
int desiredHeight)
|
||||||
throws java.lang.Exception</PRE>
|
throws java.lang.Exception</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Returns the height of the largest scaled down image that the TurboJPEG
|
<DD>Returns the height of the largest scaled-down image that the TurboJPEG
|
||||||
decompressor can generate without exceeding the desired image width and
|
decompressor can generate without exceeding the desired image width and
|
||||||
height.
|
height.
|
||||||
<P>
|
<P>
|
||||||
@@ -711,7 +711,7 @@ public int <B>getScaledHeight</B>(int desiredWidth,
|
|||||||
Setting this to 0 is the same as setting it to the height of the JPEG
|
Setting this to 0 is the same as setting it to the height of the JPEG
|
||||||
image (in other words, the height will not be considered when determining
|
image (in other words, the height will not be considered when determining
|
||||||
the scaled image size.)
|
the scaled image size.)
|
||||||
<DT><B>Returns:</B><DD>the height of the largest scaled down image that the TurboJPEG
|
<DT><B>Returns:</B><DD>the height of the largest scaled-down image that the TurboJPEG
|
||||||
decompressor can generate without exceeding the desired image width and
|
decompressor can generate without exceeding the desired image width and
|
||||||
height
|
height
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
@@ -747,13 +747,13 @@ public void <B>decompress</B>(byte[] dstBuf,
|
|||||||
parameters can be used to specify the region into which the JPEG image
|
parameters can be used to specify the region into which the JPEG image
|
||||||
should be decompressed.<DD><CODE>x</CODE> - x offset (in pixels) of the region into which the JPEG image
|
should be decompressed.<DD><CODE>x</CODE> - x offset (in pixels) of the region into which the JPEG image
|
||||||
should be decompressed, relative to the start of <code>dstBuf</code>.<DD><CODE>y</CODE> - y offset (in pixels) of the region into which the JPEG image
|
should be decompressed, relative to the start of <code>dstBuf</code>.<DD><CODE>y</CODE> - y offset (in pixels) of the region into which the JPEG image
|
||||||
should be decompressed, relative to the start of <code>dstBuf</code>.<DD><CODE>desiredWidth</CODE> - desired width (in pixels) of the decompressed image.
|
should be decompressed, relative to the start of <code>dstBuf</code>.<DD><CODE>desiredWidth</CODE> - desired width (in pixels) of the decompressed image
|
||||||
If the desired image dimensions are smaller than the dimensions of the
|
(or image region.) If the desired image dimensions are different than the
|
||||||
JPEG image being decompressed, then TurboJPEG will use scaling in the JPEG
|
dimensions of the JPEG image being decompressed, then TurboJPEG will use
|
||||||
decompressor to generate the largest possible image that will fit within
|
scaling in the JPEG decompressor to generate the largest possible image
|
||||||
the desired dimensions. Setting this to 0 is the same as setting it to
|
that will fit within the desired dimensions. Setting this to 0 is the
|
||||||
the width of the JPEG image (in other words, the width will not be
|
same as setting it to the width of the JPEG image (in other words, the
|
||||||
considered when determining the scaled image size.)<DD><CODE>pitch</CODE> - bytes per line of the destination image. Normally, this
|
width will not be considered when determining the scaled image size.)<DD><CODE>pitch</CODE> - bytes per line of the destination image. Normally, this
|
||||||
should be set to <code>scaledWidth * TJ.pixelSize(pixelFormat)</code> if
|
should be set to <code>scaledWidth * TJ.pixelSize(pixelFormat)</code> if
|
||||||
the decompressed image is unpadded, but you can use this to, for instance,
|
the decompressed image is unpadded, but you can use this to, for instance,
|
||||||
pad each line of the decompressed image to a 4-byte boundary or to
|
pad each line of the decompressed image to a 4-byte boundary or to
|
||||||
@@ -762,13 +762,13 @@ public void <B>decompress</B>(byte[] dstBuf,
|
|||||||
scalingFactor.<A HREF="../../../org/libjpegturbo/turbojpeg/TJScalingFactor.html#getScaled(int)"><CODE>getScaled</CODE></A>(jpegWidth)
|
scalingFactor.<A HREF="../../../org/libjpegturbo/turbojpeg/TJScalingFactor.html#getScaled(int)"><CODE>getScaled</CODE></A>(jpegWidth)
|
||||||
</code> or by calling <A HREF="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#getScaledWidth(int, int)"><CODE>getScaledWidth(int, int)</CODE></A>. Setting this parameter to
|
</code> or by calling <A HREF="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#getScaledWidth(int, int)"><CODE>getScaledWidth(int, int)</CODE></A>. Setting this parameter to
|
||||||
0 is the equivalent of setting it to <code>scaledWidth *
|
0 is the equivalent of setting it to <code>scaledWidth *
|
||||||
TJ.pixelSize(pixelFormat)</code>.<DD><CODE>desiredHeight</CODE> - desired height (in pixels) of the decompressed image.
|
TJ.pixelSize(pixelFormat)</code>.<DD><CODE>desiredHeight</CODE> - desired height (in pixels) of the decompressed image
|
||||||
If the desired image dimensions are smaller than the dimensions of the
|
(or image region.) If the desired image dimensions are different than the
|
||||||
JPEG image being decompressed, then TurboJPEG will use scaling in the JPEG
|
dimensions of the JPEG image being decompressed, then TurboJPEG will use
|
||||||
decompressor to generate the largest possible image that will fit within
|
scaling in the JPEG decompressor to generate the largest possible image
|
||||||
the desired dimensions. Setting this to 0 is the same as setting it to
|
that will fit within the desired dimensions. Setting this to 0 is the
|
||||||
the height of the JPEG image (in other words, the height will not be
|
same as setting it to the height of the JPEG image (in other words, the
|
||||||
considered when determining the scaled image size.)<DD><CODE>pixelFormat</CODE> - pixel format of the decompressed image (one of
|
height will not be considered when determining the scaled image size.)<DD><CODE>pixelFormat</CODE> - pixel format of the decompressed image (one of
|
||||||
<A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.PF_*</CODE></A>)<DD><CODE>flags</CODE> - the bitwise OR of one or more of <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.FLAG_*</CODE></A>
|
<A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.PF_*</CODE></A>)<DD><CODE>flags</CODE> - the bitwise OR of one or more of <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.FLAG_*</CODE></A>
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE>java.lang.Exception</CODE></DL>
|
<DD><CODE>java.lang.Exception</CODE></DL>
|
||||||
@@ -787,20 +787,11 @@ public void <B>decompress</B>(byte[] dstBuf,
|
|||||||
int flags)
|
int flags)
|
||||||
throws java.lang.Exception</PRE>
|
throws java.lang.Exception</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Decompress the JPEG source image associated with this decompressor
|
<DD><B>Deprecated.</B> <I>Use
|
||||||
instance and output a decompressed image to the given destination buffer.
|
<A HREF="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[], int, int, int, int, int, int, int)"><CODE>decompress(byte[], int, int, int, int, int, int, int)</CODE></A> instead.</I>
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>dstBuf</CODE> - see
|
|
||||||
<A HREF="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[], int, int, int, int, int, int, int)"><CODE>decompress(byte[], int, int, int, int, int, int, int)</CODE></A>
|
|
||||||
for description<DD><CODE>desiredWidth</CODE> - see
|
|
||||||
<A HREF="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[], int, int, int, int, int, int, int)"><CODE>decompress(byte[], int, int, int, int, int, int, int)</CODE></A>
|
|
||||||
for description<DD><CODE>pitch</CODE> - see
|
|
||||||
<A HREF="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[], int, int, int, int, int, int, int)"><CODE>decompress(byte[], int, int, int, int, int, int, int)</CODE></A>
|
|
||||||
for description<DD><CODE>desiredHeight</CODE> - see
|
|
||||||
<A HREF="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[], int, int, int, int, int, int, int)"><CODE>decompress(byte[], int, int, int, int, int, int, int)</CODE></A>
|
|
||||||
for description<DD><CODE>pixelFormat</CODE> - pixel format of the decompressed image (one of
|
|
||||||
<A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.PF_*</CODE></A>)<DD><CODE>flags</CODE> - the bitwise OR of one or more of <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.FLAG_*</CODE></A>
|
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE>java.lang.Exception</CODE></DL>
|
<DD><CODE>java.lang.Exception</CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
@@ -847,11 +838,11 @@ public void <B>decompressToYUV</B>(byte[] dstBuf,
|
|||||||
instance and output a YUV planar image to the given destination buffer.
|
instance and output a YUV planar image to the given destination buffer.
|
||||||
This method performs JPEG decompression but leaves out the color
|
This method performs JPEG decompression but leaves out the color
|
||||||
conversion step, so a planar YUV image is generated instead of an RGB
|
conversion step, so a planar YUV image is generated instead of an RGB
|
||||||
image. The padding of the planes in this image is the same as the images
|
image. The padding of the planes in this image is the same as in the
|
||||||
generated by <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#encodeYUV(byte[], int)"><CODE>TJCompressor.encodeYUV(byte[], int)</CODE></A>. Note that, if
|
images generated by <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html#encodeYUV(byte[], int)"><CODE>TJCompressor.encodeYUV(byte[], int)</CODE></A>. Note
|
||||||
the width or height of the image is not an even multiple of the MCU block
|
that, if the width or height of the image is not an even multiple of the
|
||||||
size (see <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getMCUWidth(int)"><CODE>TJ.getMCUWidth(int)</CODE></A> and <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getMCUHeight(int)"><CODE>TJ.getMCUHeight(int)</CODE></A>), then an
|
MCU block size (see <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getMCUWidth(int)"><CODE>TJ.getMCUWidth(int)</CODE></A> and <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getMCUHeight(int)"><CODE>TJ.getMCUHeight(int)</CODE></A>),
|
||||||
intermediate buffer copy will be performed within TurboJPEG.
|
then an intermediate buffer copy will be performed within TurboJPEG.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>dstBuf</CODE> - buffer that will receive the YUV planar image. Use
|
<DT><B>Parameters:</B><DD><CODE>dstBuf</CODE> - buffer that will receive the YUV planar image. Use
|
||||||
@@ -908,25 +899,25 @@ public void <B>decompress</B>(int[] dstBuf,
|
|||||||
parameters can be used to specify the region into which the JPEG image
|
parameters can be used to specify the region into which the JPEG image
|
||||||
should be decompressed.<DD><CODE>x</CODE> - x offset (in pixels) of the region into which the JPEG image
|
should be decompressed.<DD><CODE>x</CODE> - x offset (in pixels) of the region into which the JPEG image
|
||||||
should be decompressed, relative to the start of <code>dstBuf</code>.<DD><CODE>y</CODE> - y offset (in pixels) of the region into which the JPEG image
|
should be decompressed, relative to the start of <code>dstBuf</code>.<DD><CODE>y</CODE> - y offset (in pixels) of the region into which the JPEG image
|
||||||
should be decompressed, relative to the start of <code>dstBuf</code>.<DD><CODE>desiredWidth</CODE> - desired width (in pixels) of the decompressed image.
|
should be decompressed, relative to the start of <code>dstBuf</code>.<DD><CODE>desiredWidth</CODE> - desired width (in pixels) of the decompressed image
|
||||||
If the desired image dimensions are smaller than the dimensions of the
|
(or image region.) If the desired image dimensions are different than the
|
||||||
JPEG image being decompressed, then TurboJPEG will use scaling in the JPEG
|
dimensions of the JPEG image being decompressed, then TurboJPEG will use
|
||||||
decompressor to generate the largest possible image that will fit within
|
scaling in the JPEG decompressor to generate the largest possible image
|
||||||
the desired dimensions. Setting this to 0 is the same as setting it to
|
that will fit within the desired dimensions. Setting this to 0 is the
|
||||||
the width of the JPEG image (in other words, the width will not be
|
same as setting it to the width of the JPEG image (in other words, the
|
||||||
considered when determining the scaled image size.)<DD><CODE>stride</CODE> - pixels per line of the destination image. Normally, this
|
width will not be considered when determining the scaled image size.)<DD><CODE>stride</CODE> - pixels per line of the destination image. Normally, this
|
||||||
should be set to <code>scaledWidth</code>, but you can use this to, for
|
should be set to <code>scaledWidth</code>, but you can use this to, for
|
||||||
instance, decompress the JPEG image into a region of a larger image.
|
instance, decompress the JPEG image into a region of a larger image.
|
||||||
NOTE: <code>scaledWidth</code> can be determined by calling <code>
|
NOTE: <code>scaledWidth</code> can be determined by calling <code>
|
||||||
scalingFactor.<A HREF="../../../org/libjpegturbo/turbojpeg/TJScalingFactor.html#getScaled(int)"><CODE>getScaled</CODE></A>(jpegWidth)
|
scalingFactor.<A HREF="../../../org/libjpegturbo/turbojpeg/TJScalingFactor.html#getScaled(int)"><CODE>getScaled</CODE></A>(jpegWidth)
|
||||||
</code> or by calling <A HREF="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#getScaledWidth(int, int)"><CODE>getScaledWidth(int, int)</CODE></A>. Setting this parameter to
|
</code> or by calling <A HREF="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#getScaledWidth(int, int)"><CODE>getScaledWidth(int, int)</CODE></A>. Setting this parameter to
|
||||||
0 is the equivalent of setting it to <code>scaledWidth</code>.<DD><CODE>desiredHeight</CODE> - desired height (in pixels) of the decompressed image.
|
0 is the equivalent of setting it to <code>scaledWidth</code>.<DD><CODE>desiredHeight</CODE> - desired height (in pixels) of the decompressed image
|
||||||
If the desired image dimensions are smaller than the dimensions of the
|
(or image region.) If the desired image dimensions are different than the
|
||||||
JPEG image being decompressed, then TurboJPEG will use scaling in the JPEG
|
dimensions of the JPEG image being decompressed, then TurboJPEG will use
|
||||||
decompressor to generate the largest possible image that will fit within
|
scaling in the JPEG decompressor to generate the largest possible image
|
||||||
the desired dimensions. Setting this to 0 is the same as setting it to
|
that will fit within the desired dimensions. Setting this to 0 is the
|
||||||
the height of the JPEG image (in other words, the height will not be
|
same as setting it to the height of the JPEG image (in other words, the
|
||||||
considered when determining the scaled image size.)<DD><CODE>pixelFormat</CODE> - pixel format of the decompressed image (one of
|
height will not be considered when determining the scaled image size.)<DD><CODE>pixelFormat</CODE> - pixel format of the decompressed image (one of
|
||||||
<A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.PF_*</CODE></A>)<DD><CODE>flags</CODE> - the bitwise OR of one or more of <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.FLAG_*</CODE></A>
|
<A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.PF_*</CODE></A>)<DD><CODE>flags</CODE> - the bitwise OR of one or more of <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.FLAG_*</CODE></A>
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE>java.lang.Exception</CODE></DL>
|
<DD><CODE>java.lang.Exception</CODE></DL>
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:34 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
TJScalingFactor
|
TJScalingFactor
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:34 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
TJTransform
|
TJTransform
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
@@ -676,8 +676,10 @@ public <B>TJTransform</B>(int x,
|
|||||||
<DT><B>Parameters:</B><DD><CODE>x</CODE> - the left boundary of the cropping region. This must be evenly
|
<DT><B>Parameters:</B><DD><CODE>x</CODE> - the left boundary of the cropping region. This must be evenly
|
||||||
divisible by the MCU block width (see <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getMCUWidth(int)"><CODE>TJ.getMCUWidth(int)</CODE></A>)<DD><CODE>y</CODE> - the upper boundary of the cropping region. This must be evenly
|
divisible by the MCU block width (see <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getMCUWidth(int)"><CODE>TJ.getMCUWidth(int)</CODE></A>)<DD><CODE>y</CODE> - the upper boundary of the cropping region. This must be evenly
|
||||||
divisible by the MCU block height (see <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getMCUHeight(int)"><CODE>TJ.getMCUHeight(int)</CODE></A>)<DD><CODE>w</CODE> - the width of the cropping region. Setting this to 0 is the
|
divisible by the MCU block height (see <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getMCUHeight(int)"><CODE>TJ.getMCUHeight(int)</CODE></A>)<DD><CODE>w</CODE> - the width of the cropping region. Setting this to 0 is the
|
||||||
equivalent of setting it to the width of the source JPEG image - x.<DD><CODE>h</CODE> - the height of the cropping region. Setting this to 0 is the
|
equivalent of setting it to (width of the source JPEG image -
|
||||||
equivalent of setting it to the height of the source JPEG image - y.<DD><CODE>op</CODE> - one of the transform operations (<code>OP_*</code>)<DD><CODE>options</CODE> - the bitwise OR of one or more of the transform options
|
<code>x</code>).<DD><CODE>h</CODE> - the height of the cropping region. Setting this to 0 is the
|
||||||
|
equivalent of setting it to (height of the source JPEG image -
|
||||||
|
<code>y</code>).<DD><CODE>op</CODE> - one of the transform operations (<code>OP_*</code>)<DD><CODE>options</CODE> - the bitwise OR of one or more of the transform options
|
||||||
(<code>OPT_*</code>)<DD><CODE>cf</CODE> - an instance of an object that implements the <A HREF="../../../org/libjpegturbo/turbojpeg/TJCustomFilter.html" title="interface in org.libjpegturbo.turbojpeg"><CODE>TJCustomFilter</CODE></A> interface, or null if no custom filter is needed
|
(<code>OPT_*</code>)<DD><CODE>cf</CODE> - an instance of an object that implements the <A HREF="../../../org/libjpegturbo/turbojpeg/TJCustomFilter.html" title="interface in org.libjpegturbo.turbojpeg"><CODE>TJCustomFilter</CODE></A> interface, or null if no custom filter is needed
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE>java.lang.Exception</CODE></DL>
|
<DD><CODE>java.lang.Exception</CODE></DL>
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:34 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
TJTransformer
|
TJTransformer
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
@@ -303,18 +303,19 @@ public void <B>transform</B>(byte[][] dstBufs,
|
|||||||
JPEG image structure to another without altering the values of the
|
JPEG image structure to another without altering the values of the
|
||||||
coefficients. While this is typically faster than decompressing the
|
coefficients. While this is typically faster than decompressing the
|
||||||
image, transforming it, and re-compressing it, lossless transforms are not
|
image, transforming it, and re-compressing it, lossless transforms are not
|
||||||
free. Each lossless transform requires reading and Huffman decoding all
|
free. Each lossless transform requires reading and performing Huffman
|
||||||
of the coefficients in the source image, regardless of the size of the
|
decoding on all of the coefficients in the source image, regardless of the
|
||||||
destination image. Thus, this method provides a means of generating
|
size of the destination image. Thus, this method provides a means of
|
||||||
multiple transformed images from the same source or of applying multiple
|
generating multiple transformed images from the same source or of applying
|
||||||
transformations simultaneously, in order to eliminate the need to read the
|
multiple transformations simultaneously, in order to eliminate the need to
|
||||||
source coefficients multiple times.
|
read the source coefficients multiple times.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>dstBufs</CODE> - an array of image buffers. <code>dstbufs[i]</code> will
|
<DT><B>Parameters:</B><DD><CODE>dstBufs</CODE> - an array of image buffers. <code>dstbufs[i]</code> will
|
||||||
receive a JPEG image that has been transformed using the parameters in
|
receive a JPEG image that has been transformed using the parameters in
|
||||||
<code>transforms[i]</code>. Use <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#bufSize(int, int, int)"><CODE>TJ.bufSize(int, int, int)</CODE></A> to determine the
|
<code>transforms[i]</code>. Use <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#bufSize(int, int, int)"><CODE>TJ.bufSize(int, int, int)</CODE></A> to determine the
|
||||||
maximum size for each buffer based on the cropped width and height.<DD><CODE>transforms</CODE> - an array of <A HREF="../../../org/libjpegturbo/turbojpeg/TJTransform.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJTransform</CODE></A> instances, each of
|
maximum size for each buffer based on the transformed or cropped width and
|
||||||
|
height.<DD><CODE>transforms</CODE> - an array of <A HREF="../../../org/libjpegturbo/turbojpeg/TJTransform.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJTransform</CODE></A> instances, each of
|
||||||
which specifies the transform parameters and/or cropping region for the
|
which specifies the transform parameters and/or cropping region for the
|
||||||
corresponding transformed output image<DD><CODE>flags</CODE> - the bitwise OR of one or more of <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.FLAG_*</CODE></A>
|
corresponding transformed output image<DD><CODE>flags</CODE> - the bitwise OR of one or more of <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.FLAG_*</CODE></A>
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:34 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
org.libjpegturbo.turbojpeg
|
org.libjpegturbo.turbojpeg
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:34 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
org.libjpegturbo.turbojpeg
|
org.libjpegturbo.turbojpeg
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:34 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
org.libjpegturbo.turbojpeg Class Hierarchy
|
org.libjpegturbo.turbojpeg Class Hierarchy
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:34 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Class Hierarchy
|
Class Hierarchy
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_35) on Sun Sep 23 19:56:07 CDT 2012 -->
|
<!-- Generated by javadoc (build 1.6.0_43) on Fri Apr 26 20:05:34 CDT 2013 -->
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Serialized Form
|
Serialized Form
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2012-09-23">
|
<META NAME="date" CONTENT="2013-04-26">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C)2011-2012 D. R. Commander. All Rights Reserved.
|
* Copyright (C)2011-2013 D. R. Commander. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
@@ -182,11 +182,11 @@ final public class TJ {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the pixel size (in bytes) of the given pixel format.
|
* Returns the pixel size (in bytes) for the given pixel format.
|
||||||
*
|
*
|
||||||
* @param pixelFormat the pixel format (one of <code>PF_*</code>)
|
* @param pixelFormat the pixel format (one of <code>PF_*</code>)
|
||||||
*
|
*
|
||||||
* @return the pixel size (in bytes) of the given pixel format
|
* @return the pixel size (in bytes) for the given pixel format
|
||||||
*/
|
*/
|
||||||
public static int getPixelSize(int pixelFormat) throws Exception {
|
public static int getPixelSize(int pixelFormat) throws Exception {
|
||||||
if(pixelFormat < 0 || pixelFormat >= NUMPF)
|
if(pixelFormat < 0 || pixelFormat >= NUMPF)
|
||||||
@@ -291,11 +291,11 @@ final public class TJ {
|
|||||||
*/
|
*/
|
||||||
final public static int FLAG_FORCESSE3 = 128;
|
final public static int FLAG_FORCESSE3 = 128;
|
||||||
/**
|
/**
|
||||||
* When decompressing, use the fastest chrominance upsampling algorithm
|
* When decompressing an image that was compressed using chrominance
|
||||||
* available in the underlying codec. The default is to use smooth
|
* subsampling, use the fastest chrominance upsampling algorithm available in
|
||||||
* upsampling, which creates a smooth transition between neighboring
|
* the underlying codec. The default is to use smooth upsampling, which
|
||||||
* chrominance components in order to reduce upsampling artifacts in the
|
* creates a smooth transition between neighboring chrominance components in
|
||||||
* decompressed image.
|
* order to reduce upsampling artifacts in the decompressed image.
|
||||||
*/
|
*/
|
||||||
final public static int FLAG_FASTUPSAMPLE = 256;
|
final public static int FLAG_FASTUPSAMPLE = 256;
|
||||||
/**
|
/**
|
||||||
@@ -321,8 +321,7 @@ final public class TJ {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the maximum size of the buffer (in bytes) required to hold a JPEG
|
* Returns the maximum size of the buffer (in bytes) required to hold a JPEG
|
||||||
* image with the given width and height, and level of chrominance
|
* image with the given width, height, and level of chrominance subsampling.
|
||||||
* subsampling.
|
|
||||||
*
|
*
|
||||||
* @param width the width (in pixels) of the JPEG image
|
* @param width the width (in pixels) of the JPEG image
|
||||||
*
|
*
|
||||||
@@ -332,8 +331,7 @@ final public class TJ {
|
|||||||
* generating the JPEG image (one of {@link TJ TJ.SAMP_*})
|
* generating the JPEG image (one of {@link TJ TJ.SAMP_*})
|
||||||
*
|
*
|
||||||
* @return the maximum size of the buffer (in bytes) required to hold a JPEG
|
* @return the maximum size of the buffer (in bytes) required to hold a JPEG
|
||||||
* image with the given width and height, and level of chrominance
|
* image with the given width, height, and level of chrominance subsampling
|
||||||
* subsampling
|
|
||||||
*/
|
*/
|
||||||
public native static int bufSize(int width, int height, int jpegSubsamp)
|
public native static int bufSize(int width, int height, int jpegSubsamp)
|
||||||
throws Exception;
|
throws Exception;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C)2011-2012 D. R. Commander. All Rights Reserved.
|
* Copyright (C)2011-2013 D. R. Commander. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
@@ -59,7 +59,8 @@ public class TJCompressor {
|
|||||||
*
|
*
|
||||||
* @param height see {@link #setSourceImage} for description
|
* @param height see {@link #setSourceImage} for description
|
||||||
*
|
*
|
||||||
* @param pixelFormat see {@link #setSourceImage} for description
|
* @param pixelFormat pixel format of the source image (one of
|
||||||
|
* {@link TJ TJ.PF_*})
|
||||||
*/
|
*/
|
||||||
public TJCompressor(byte[] srcImage, int width, int pitch, int height,
|
public TJCompressor(byte[] srcImage, int width, int pitch, int height,
|
||||||
int pixelFormat) throws Exception {
|
int pixelFormat) throws Exception {
|
||||||
@@ -83,7 +84,8 @@ public class TJCompressor {
|
|||||||
*
|
*
|
||||||
* @param height see {@link #setSourceImage} for description
|
* @param height see {@link #setSourceImage} for description
|
||||||
*
|
*
|
||||||
* @param pixelFormat see {@link #setSourceImage} for description
|
* @param pixelFormat pixel format of the source image (one of
|
||||||
|
* {@link TJ TJ.PF_*})
|
||||||
*/
|
*/
|
||||||
public TJCompressor(byte[] srcImage, int x, int y, int width, int pitch,
|
public TJCompressor(byte[] srcImage, int x, int y, int width, int pitch,
|
||||||
int height, int pixelFormat) throws Exception {
|
int height, int pixelFormat) throws Exception {
|
||||||
@@ -137,28 +139,9 @@ public class TJCompressor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Associate an uncompressed source image with this compressor instance.
|
* @deprecated Use
|
||||||
*
|
* {@link #setSourceImage(byte[], int, int, int, int, int, int)} instead.
|
||||||
* @param srcImage see
|
|
||||||
* {@link #setSourceImage(byte[], int, int, int, int, int, int)} for
|
|
||||||
* description
|
|
||||||
*
|
|
||||||
* @param width see
|
|
||||||
* {@link #setSourceImage(byte[], int, int, int, int, int, int)} for
|
|
||||||
* description
|
|
||||||
*
|
|
||||||
* @param pitch see
|
|
||||||
* {@link #setSourceImage(byte[], int, int, int, int, int, int)} for
|
|
||||||
* description
|
|
||||||
*
|
|
||||||
* @param height see
|
|
||||||
* {@link #setSourceImage(byte[], int, int, int, int, int, int)} for
|
|
||||||
* description
|
|
||||||
*
|
|
||||||
* @param pixelFormat pixel format of the source image (one of
|
|
||||||
* {@link TJ TJ.PF_*})
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public void setSourceImage(byte[] srcImage, int width, int pitch,
|
public void setSourceImage(byte[] srcImage, int width, int pitch,
|
||||||
int height, int pixelFormat) throws Exception {
|
int height, int pixelFormat) throws Exception {
|
||||||
setSourceImage(srcImage, 0, 0, width, pitch, height, pixelFormat);
|
setSourceImage(srcImage, 0, 0, width, pitch, height, pixelFormat);
|
||||||
@@ -197,7 +180,7 @@ public class TJCompressor {
|
|||||||
*
|
*
|
||||||
* @param dstBuf buffer that will receive the JPEG image. Use
|
* @param dstBuf buffer that will receive the JPEG image. Use
|
||||||
* {@link TJ#bufSize} to determine the maximum size for this buffer based on
|
* {@link TJ#bufSize} to determine the maximum size for this buffer based on
|
||||||
* the image width and height.
|
* the image width, height, and level of chrominance subsampling.
|
||||||
*
|
*
|
||||||
* @param flags the bitwise OR of one or more of {@link TJ TJ.FLAG_*}
|
* @param flags the bitwise OR of one or more of {@link TJ TJ.FLAG_*}
|
||||||
*/
|
*/
|
||||||
@@ -242,7 +225,7 @@ public class TJCompressor {
|
|||||||
*
|
*
|
||||||
* @param dstBuf buffer that will receive the JPEG image. Use
|
* @param dstBuf buffer that will receive the JPEG image. Use
|
||||||
* {@link TJ#bufSize} to determine the maximum size for this buffer based on
|
* {@link TJ#bufSize} to determine the maximum size for this buffer based on
|
||||||
* the image width and height.
|
* the image width, height, and level of chrominance subsampling.
|
||||||
*
|
*
|
||||||
* @param flags the bitwise OR of one or more of {@link TJ TJ.FLAG_*}
|
* @param flags the bitwise OR of one or more of {@link TJ TJ.FLAG_*}
|
||||||
*/
|
*/
|
||||||
@@ -342,13 +325,13 @@ public class TJCompressor {
|
|||||||
* TurboJPEG's underlying codec to produce a planar YUV image that is
|
* TurboJPEG's underlying codec to produce a planar YUV image that is
|
||||||
* suitable for direct video display. Specifically, if the chrominance
|
* suitable for direct video display. Specifically, if the chrominance
|
||||||
* components are subsampled along the horizontal dimension, then the width
|
* components are subsampled along the horizontal dimension, then the width
|
||||||
* of the luminance plane is padded to 2 in the output image (same goes for
|
* of the luminance plane is padded to the nearest multiple of 2 in the
|
||||||
* the height of the luminance plane, if the chrominance components are
|
* output image (same goes for the height of the luminance plane, if the
|
||||||
* subsampled along the vertical dimension.) Also, each line of each plane
|
* chrominance components are subsampled along the vertical dimension.)
|
||||||
* in the output image is padded to 4 bytes. Although this will work with
|
* Also, each line of each plane in the output image is padded to 4 bytes.
|
||||||
* any subsampling option, it is really only useful in combination with
|
* Although this will work with any subsampling option, it is really only
|
||||||
* {@link TJ#SAMP_420}, which produces an image compatible with the I420 (AKA
|
* useful in combination with {@link TJ#SAMP_420}, which produces an image
|
||||||
* "YUV420P") format.
|
* compatible with the I420 (AKA "YUV420P") format.
|
||||||
*
|
*
|
||||||
* @param dstBuf buffer that will receive the YUV planar image. Use
|
* @param dstBuf buffer that will receive the YUV planar image. Use
|
||||||
* {@link TJ#bufSizeYUV} to determine the appropriate size for this buffer
|
* {@link TJ#bufSizeYUV} to determine the appropriate size for this buffer
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C)2011 D. R. Commander. All Rights Reserved.
|
* Copyright (C)2011, 2013 D. R. Commander. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
@@ -58,12 +58,12 @@ public interface TJCustomFilter {
|
|||||||
* component plane to which <code>coeffBuffer</code> belongs
|
* component plane to which <code>coeffBuffer</code> belongs
|
||||||
*
|
*
|
||||||
* @param componentID ID number of the component plane to which
|
* @param componentID ID number of the component plane to which
|
||||||
* <code>coeffBuffer</code>belongs (Y, Cb, and Cr have, respectively, ID's of
|
* <code>coeffBuffer</code> belongs (Y, U, and V have, respectively, ID's of
|
||||||
* 0, 1, and 2 in typical JPEG images.)
|
* 0, 1, and 2 in typical JPEG images.)
|
||||||
*
|
*
|
||||||
* @param transformID ID number of the transformed image to which
|
* @param transformID ID number of the transformed image to which
|
||||||
* <code>coeffBuffer</code> belongs. This is the same as the index of the
|
* <code>coeffBuffer</code> belongs. This is the same as the index of the
|
||||||
* transform in the transforms array that was passed to {@link
|
* transform in the <code>transforms</code> array that was passed to {@link
|
||||||
* TJTransformer#transform TJTransformer.transform()}.
|
* TJTransformer#transform TJTransformer.transform()}.
|
||||||
*
|
*
|
||||||
* @param transform a {@link TJTransform} instance that specifies the
|
* @param transform a {@link TJTransform} instance that specifies the
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C)2011-2012 D. R. Commander. All Rights Reserved.
|
* Copyright (C)2011-2013 D. R. Commander. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
@@ -151,7 +151,7 @@ public class TJDecompressor {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the width of the largest scaled down image that the TurboJPEG
|
* Returns the width of the largest scaled-down image that the TurboJPEG
|
||||||
* decompressor can generate without exceeding the desired image width and
|
* decompressor can generate without exceeding the desired image width and
|
||||||
* height.
|
* height.
|
||||||
*
|
*
|
||||||
@@ -165,7 +165,7 @@ public class TJDecompressor {
|
|||||||
* image (in other words, the height will not be considered when determining
|
* image (in other words, the height will not be considered when determining
|
||||||
* the scaled image size.)
|
* the scaled image size.)
|
||||||
*
|
*
|
||||||
* @return the width of the largest scaled down image that the TurboJPEG
|
* @return the width of the largest scaled-down image that the TurboJPEG
|
||||||
* decompressor can generate without exceeding the desired image width and
|
* decompressor can generate without exceeding the desired image width and
|
||||||
* height
|
* height
|
||||||
*/
|
*/
|
||||||
@@ -191,7 +191,7 @@ public class TJDecompressor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the height of the largest scaled down image that the TurboJPEG
|
* Returns the height of the largest scaled-down image that the TurboJPEG
|
||||||
* decompressor can generate without exceeding the desired image width and
|
* decompressor can generate without exceeding the desired image width and
|
||||||
* height.
|
* height.
|
||||||
*
|
*
|
||||||
@@ -205,7 +205,7 @@ public class TJDecompressor {
|
|||||||
* image (in other words, the height will not be considered when determining
|
* image (in other words, the height will not be considered when determining
|
||||||
* the scaled image size.)
|
* the scaled image size.)
|
||||||
*
|
*
|
||||||
* @return the height of the largest scaled down image that the TurboJPEG
|
* @return the height of the largest scaled-down image that the TurboJPEG
|
||||||
* decompressor can generate without exceeding the desired image width and
|
* decompressor can generate without exceeding the desired image width and
|
||||||
* height
|
* height
|
||||||
*/
|
*/
|
||||||
@@ -251,13 +251,13 @@ public class TJDecompressor {
|
|||||||
* @param y y offset (in pixels) of the region into which the JPEG image
|
* @param y y offset (in pixels) of the region into which the JPEG image
|
||||||
* should be decompressed, relative to the start of <code>dstBuf</code>.
|
* should be decompressed, relative to the start of <code>dstBuf</code>.
|
||||||
*
|
*
|
||||||
* @param desiredWidth desired width (in pixels) of the decompressed image.
|
* @param desiredWidth desired width (in pixels) of the decompressed image
|
||||||
* If the desired image dimensions are smaller than the dimensions of the
|
* (or image region.) If the desired image dimensions are different than the
|
||||||
* JPEG image being decompressed, then TurboJPEG will use scaling in the JPEG
|
* dimensions of the JPEG image being decompressed, then TurboJPEG will use
|
||||||
* decompressor to generate the largest possible image that will fit within
|
* scaling in the JPEG decompressor to generate the largest possible image
|
||||||
* the desired dimensions. Setting this to 0 is the same as setting it to
|
* that will fit within the desired dimensions. Setting this to 0 is the
|
||||||
* the width of the JPEG image (in other words, the width will not be
|
* same as setting it to the width of the JPEG image (in other words, the
|
||||||
* considered when determining the scaled image size.)
|
* width will not be considered when determining the scaled image size.)
|
||||||
*
|
*
|
||||||
* @param pitch bytes per line of the destination image. Normally, this
|
* @param pitch bytes per line of the destination image. Normally, this
|
||||||
* should be set to <code>scaledWidth * TJ.pixelSize(pixelFormat)</code> if
|
* should be set to <code>scaledWidth * TJ.pixelSize(pixelFormat)</code> if
|
||||||
@@ -270,13 +270,13 @@ public class TJDecompressor {
|
|||||||
* 0 is the equivalent of setting it to <code>scaledWidth *
|
* 0 is the equivalent of setting it to <code>scaledWidth *
|
||||||
* TJ.pixelSize(pixelFormat)</code>.
|
* TJ.pixelSize(pixelFormat)</code>.
|
||||||
*
|
*
|
||||||
* @param desiredHeight desired height (in pixels) of the decompressed image.
|
* @param desiredHeight desired height (in pixels) of the decompressed image
|
||||||
* If the desired image dimensions are smaller than the dimensions of the
|
* (or image region.) If the desired image dimensions are different than the
|
||||||
* JPEG image being decompressed, then TurboJPEG will use scaling in the JPEG
|
* dimensions of the JPEG image being decompressed, then TurboJPEG will use
|
||||||
* decompressor to generate the largest possible image that will fit within
|
* scaling in the JPEG decompressor to generate the largest possible image
|
||||||
* the desired dimensions. Setting this to 0 is the same as setting it to
|
* that will fit within the desired dimensions. Setting this to 0 is the
|
||||||
* the height of the JPEG image (in other words, the height will not be
|
* same as setting it to the height of the JPEG image (in other words, the
|
||||||
* considered when determining the scaled image size.)
|
* height will not be considered when determining the scaled image size.)
|
||||||
*
|
*
|
||||||
* @param pixelFormat pixel format of the decompressed image (one of
|
* @param pixelFormat pixel format of the decompressed image (one of
|
||||||
* {@link TJ TJ.PF_*})
|
* {@link TJ TJ.PF_*})
|
||||||
@@ -296,29 +296,8 @@ public class TJDecompressor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Decompress the JPEG source image associated with this decompressor
|
* @deprecated Use
|
||||||
* instance and output a decompressed image to the given destination buffer.
|
* {@link #decompress(byte[], int, int, int, int, int, int, int)} instead.
|
||||||
*
|
|
||||||
* @param dstBuf see
|
|
||||||
* {@link #decompress(byte[], int, int, int, int, int, int, int)}
|
|
||||||
* for description
|
|
||||||
*
|
|
||||||
* @param desiredWidth see
|
|
||||||
* {@link #decompress(byte[], int, int, int, int, int, int, int)}
|
|
||||||
* for description
|
|
||||||
*
|
|
||||||
* @param pitch see
|
|
||||||
* {@link #decompress(byte[], int, int, int, int, int, int, int)}
|
|
||||||
* for description
|
|
||||||
*
|
|
||||||
* @param desiredHeight see
|
|
||||||
* {@link #decompress(byte[], int, int, int, int, int, int, int)}
|
|
||||||
* for description
|
|
||||||
*
|
|
||||||
* @param pixelFormat pixel format of the decompressed image (one of
|
|
||||||
* {@link TJ TJ.PF_*})
|
|
||||||
*
|
|
||||||
* @param flags the bitwise OR of one or more of {@link TJ TJ.FLAG_*}
|
|
||||||
*/
|
*/
|
||||||
public void decompress(byte[] dstBuf, int desiredWidth, int pitch,
|
public void decompress(byte[] dstBuf, int desiredWidth, int pitch,
|
||||||
int desiredHeight, int pixelFormat, int flags)
|
int desiredHeight, int pixelFormat, int flags)
|
||||||
@@ -369,11 +348,11 @@ public class TJDecompressor {
|
|||||||
* instance and output a YUV planar image to the given destination buffer.
|
* instance and output a YUV planar image to the given destination buffer.
|
||||||
* This method performs JPEG decompression but leaves out the color
|
* This method performs JPEG decompression but leaves out the color
|
||||||
* conversion step, so a planar YUV image is generated instead of an RGB
|
* conversion step, so a planar YUV image is generated instead of an RGB
|
||||||
* image. The padding of the planes in this image is the same as the images
|
* image. The padding of the planes in this image is the same as in the
|
||||||
* generated by {@link TJCompressor#encodeYUV(byte[], int)}. Note that, if
|
* images generated by {@link TJCompressor#encodeYUV(byte[], int)}. Note
|
||||||
* the width or height of the image is not an even multiple of the MCU block
|
* that, if the width or height of the image is not an even multiple of the
|
||||||
* size (see {@link TJ#getMCUWidth} and {@link TJ#getMCUHeight}), then an
|
* MCU block size (see {@link TJ#getMCUWidth} and {@link TJ#getMCUHeight}),
|
||||||
* intermediate buffer copy will be performed within TurboJPEG.
|
* then an intermediate buffer copy will be performed within TurboJPEG.
|
||||||
*
|
*
|
||||||
* @param dstBuf buffer that will receive the YUV planar image. Use
|
* @param dstBuf buffer that will receive the YUV planar image. Use
|
||||||
* {@link TJ#bufSizeYUV} to determine the appropriate size for this buffer
|
* {@link TJ#bufSizeYUV} to determine the appropriate size for this buffer
|
||||||
@@ -431,13 +410,13 @@ public class TJDecompressor {
|
|||||||
* @param y y offset (in pixels) of the region into which the JPEG image
|
* @param y y offset (in pixels) of the region into which the JPEG image
|
||||||
* should be decompressed, relative to the start of <code>dstBuf</code>.
|
* should be decompressed, relative to the start of <code>dstBuf</code>.
|
||||||
*
|
*
|
||||||
* @param desiredWidth desired width (in pixels) of the decompressed image.
|
* @param desiredWidth desired width (in pixels) of the decompressed image
|
||||||
* If the desired image dimensions are smaller than the dimensions of the
|
* (or image region.) If the desired image dimensions are different than the
|
||||||
* JPEG image being decompressed, then TurboJPEG will use scaling in the JPEG
|
* dimensions of the JPEG image being decompressed, then TurboJPEG will use
|
||||||
* decompressor to generate the largest possible image that will fit within
|
* scaling in the JPEG decompressor to generate the largest possible image
|
||||||
* the desired dimensions. Setting this to 0 is the same as setting it to
|
* that will fit within the desired dimensions. Setting this to 0 is the
|
||||||
* the width of the JPEG image (in other words, the width will not be
|
* same as setting it to the width of the JPEG image (in other words, the
|
||||||
* considered when determining the scaled image size.)
|
* width will not be considered when determining the scaled image size.)
|
||||||
*
|
*
|
||||||
* @param stride pixels per line of the destination image. Normally, this
|
* @param stride pixels per line of the destination image. Normally, this
|
||||||
* should be set to <code>scaledWidth</code>, but you can use this to, for
|
* should be set to <code>scaledWidth</code>, but you can use this to, for
|
||||||
@@ -447,13 +426,13 @@ public class TJDecompressor {
|
|||||||
* </code> or by calling {@link #getScaledWidth}. Setting this parameter to
|
* </code> or by calling {@link #getScaledWidth}. Setting this parameter to
|
||||||
* 0 is the equivalent of setting it to <code>scaledWidth</code>.
|
* 0 is the equivalent of setting it to <code>scaledWidth</code>.
|
||||||
*
|
*
|
||||||
* @param desiredHeight desired height (in pixels) of the decompressed image.
|
* @param desiredHeight desired height (in pixels) of the decompressed image
|
||||||
* If the desired image dimensions are smaller than the dimensions of the
|
* (or image region.) If the desired image dimensions are different than the
|
||||||
* JPEG image being decompressed, then TurboJPEG will use scaling in the JPEG
|
* dimensions of the JPEG image being decompressed, then TurboJPEG will use
|
||||||
* decompressor to generate the largest possible image that will fit within
|
* scaling in the JPEG decompressor to generate the largest possible image
|
||||||
* the desired dimensions. Setting this to 0 is the same as setting it to
|
* that will fit within the desired dimensions. Setting this to 0 is the
|
||||||
* the height of the JPEG image (in other words, the height will not be
|
* same as setting it to the height of the JPEG image (in other words, the
|
||||||
* considered when determining the scaled image size.)
|
* height will not be considered when determining the scaled image size.)
|
||||||
*
|
*
|
||||||
* @param pixelFormat pixel format of the decompressed image (one of
|
* @param pixelFormat pixel format of the decompressed image (one of
|
||||||
* {@link TJ TJ.PF_*})
|
* {@link TJ TJ.PF_*})
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C)2011 D. R. Commander. All Rights Reserved.
|
* Copyright (C)2011, 2013 D. R. Commander. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
@@ -144,10 +144,12 @@ public class TJTransform extends Rectangle {
|
|||||||
* divisible by the MCU block height (see {@link TJ#getMCUHeight})
|
* divisible by the MCU block height (see {@link TJ#getMCUHeight})
|
||||||
*
|
*
|
||||||
* @param w the width of the cropping region. Setting this to 0 is the
|
* @param w the width of the cropping region. Setting this to 0 is the
|
||||||
* equivalent of setting it to the width of the source JPEG image - x.
|
* equivalent of setting it to (width of the source JPEG image -
|
||||||
|
* <code>x</code>).
|
||||||
*
|
*
|
||||||
* @param h the height of the cropping region. Setting this to 0 is the
|
* @param h the height of the cropping region. Setting this to 0 is the
|
||||||
* equivalent of setting it to the height of the source JPEG image - y.
|
* equivalent of setting it to (height of the source JPEG image -
|
||||||
|
* <code>y</code>).
|
||||||
*
|
*
|
||||||
* @param op one of the transform operations (<code>OP_*</code>)
|
* @param op one of the transform operations (<code>OP_*</code>)
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C)2011 D. R. Commander. All Rights Reserved.
|
* Copyright (C)2011, 2013 D. R. Commander. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
@@ -73,17 +73,18 @@ public class TJTransformer extends TJDecompressor {
|
|||||||
* JPEG image structure to another without altering the values of the
|
* JPEG image structure to another without altering the values of the
|
||||||
* coefficients. While this is typically faster than decompressing the
|
* coefficients. While this is typically faster than decompressing the
|
||||||
* image, transforming it, and re-compressing it, lossless transforms are not
|
* image, transforming it, and re-compressing it, lossless transforms are not
|
||||||
* free. Each lossless transform requires reading and Huffman decoding all
|
* free. Each lossless transform requires reading and performing Huffman
|
||||||
* of the coefficients in the source image, regardless of the size of the
|
* decoding on all of the coefficients in the source image, regardless of the
|
||||||
* destination image. Thus, this method provides a means of generating
|
* size of the destination image. Thus, this method provides a means of
|
||||||
* multiple transformed images from the same source or of applying multiple
|
* generating multiple transformed images from the same source or of applying
|
||||||
* transformations simultaneously, in order to eliminate the need to read the
|
* multiple transformations simultaneously, in order to eliminate the need to
|
||||||
* source coefficients multiple times.
|
* read the source coefficients multiple times.
|
||||||
*
|
*
|
||||||
* @param dstBufs an array of image buffers. <code>dstbufs[i]</code> will
|
* @param dstBufs an array of image buffers. <code>dstbufs[i]</code> will
|
||||||
* receive a JPEG image that has been transformed using the parameters in
|
* receive a JPEG image that has been transformed using the parameters in
|
||||||
* <code>transforms[i]</code>. Use {@link TJ#bufSize} to determine the
|
* <code>transforms[i]</code>. Use {@link TJ#bufSize} to determine the
|
||||||
* maximum size for each buffer based on the cropped width and height.
|
* maximum size for each buffer based on the transformed or cropped width and
|
||||||
|
* height.
|
||||||
*
|
*
|
||||||
* @param transforms an array of {@link TJTransform} instances, each of
|
* @param transforms an array of {@link TJTransform} instances, each of
|
||||||
* which specifies the transform parameters and/or cropping region for the
|
* which specifies the transform parameters and/or cropping region for the
|
||||||
|
|||||||
Reference in New Issue
Block a user