DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 | <!--NewPage--> |
| 3 | <HTML> |
| 4 | <HEAD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 5 | <TITLE> |
| 6 | TJ |
| 7 | </TITLE> |
| 8 | |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 9 | |
| 10 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
| 11 | |
| 12 | <SCRIPT type="text/javascript"> |
| 13 | function windowTitle() |
| 14 | { |
| 15 | if (location.href.indexOf('is-external=true') == -1) { |
| 16 | parent.document.title="TJ"; |
| 17 | } |
| 18 | } |
| 19 | </SCRIPT> |
| 20 | <NOSCRIPT> |
| 21 | </NOSCRIPT> |
| 22 | |
| 23 | </HEAD> |
| 24 | |
| 25 | <BODY BGCOLOR="white" onload="windowTitle();"> |
| 26 | <HR> |
| 27 | |
| 28 | |
| 29 | <!-- ========= START OF TOP NAVBAR ======= --> |
| 30 | <A NAME="navbar_top"><!-- --></A> |
| 31 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| 32 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 33 | <TR> |
| 34 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 35 | <A NAME="navbar_top_firstrow"><!-- --></A> |
| 36 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 37 | <TR ALIGN="center" VALIGN="top"> |
| 38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/libjpegturbo/turbojpeg/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 39 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 42 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 44 | </TR> |
| 45 | </TABLE> |
| 46 | </TD> |
| 47 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 48 | </EM> |
| 49 | </TD> |
| 50 | </TR> |
| 51 | |
| 52 | <TR> |
| 53 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 54 | PREV CLASS |
DRC | b2f9415 | 2011-04-02 02:09:03 +0000 | [diff] [blame] | 55 | <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html" title="class in org.libjpegturbo.turbojpeg"><B>NEXT CLASS</B></A></FONT></TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 56 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 57 | <A HREF="../../../index.html?org/libjpegturbo/turbojpeg/TJ.html" target="_top"><B>FRAMES</B></A> |
| 58 | <A HREF="TJ.html" target="_top"><B>NO FRAMES</B></A> |
| 59 | <SCRIPT type="text/javascript"> |
| 60 | <!-- |
| 61 | if(window==top) { |
| 62 | document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 63 | } |
| 64 | //--> |
| 65 | </SCRIPT> |
| 66 | <NOSCRIPT> |
| 67 | <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 68 | </NOSCRIPT> |
| 69 | |
| 70 | |
| 71 | </FONT></TD> |
| 72 | </TR> |
| 73 | <TR> |
| 74 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
DRC | b2f9415 | 2011-04-02 02:09:03 +0000 | [diff] [blame] | 75 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 76 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 77 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 78 | </TR> |
| 79 | </TABLE> |
| 80 | <A NAME="skip-navbar_top"></A> |
| 81 | <!-- ========= END OF TOP NAVBAR ========= --> |
| 82 | |
| 83 | <HR> |
| 84 | <!-- ======== START OF CLASS DATA ======== --> |
| 85 | <H2> |
| 86 | <FONT SIZE="-1"> |
| 87 | org.libjpegturbo.turbojpeg</FONT> |
| 88 | <BR> |
| 89 | Class TJ</H2> |
| 90 | <PRE> |
| 91 | java.lang.Object |
| 92 | <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.libjpegturbo.turbojpeg.TJ</B> |
| 93 | </PRE> |
| 94 | <HR> |
| 95 | <DL> |
| 96 | <DT><PRE>public final class <B>TJ</B><DT>extends java.lang.Object</DL> |
| 97 | </PRE> |
| 98 | |
| 99 | <P> |
| 100 | TurboJPEG utility class (cannot be instantiated) |
| 101 | <P> |
| 102 | |
| 103 | <P> |
| 104 | <HR> |
| 105 | |
| 106 | <P> |
DRC | b2f9415 | 2011-04-02 02:09:03 +0000 | [diff] [blame] | 107 | <!-- =========== FIELD SUMMARY =========== --> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 108 | |
| 109 | <A NAME="field_summary"><!-- --></A> |
| 110 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 111 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 112 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 113 | <B>Field Summary</B></FONT></TH> |
| 114 | </TR> |
| 115 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 116 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 117 | <CODE>static int</CODE></FONT></TD> |
DRC | 73d74c1 | 2012-06-29 23:46:38 +0000 | [diff] [blame] | 118 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_ACCURATEDCT">FLAG_ACCURATEDCT</A></B></CODE> |
| 119 | |
| 120 | <BR> |
| 121 | Use the most accurate DCT/IDCT algorithm available in the underlying |
| 122 | codec.</TD> |
| 123 | </TR> |
| 124 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 125 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 126 | <CODE>static int</CODE></FONT></TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 127 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_BOTTOMUP">FLAG_BOTTOMUP</A></B></CODE> |
| 128 | |
| 129 | <BR> |
| 130 | The uncompressed source/destination image is stored in bottom-up (Windows, |
| 131 | OpenGL) order, not top-down (X11) order.</TD> |
| 132 | </TR> |
| 133 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 134 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 135 | <CODE>static int</CODE></FONT></TD> |
DRC | 73d74c1 | 2012-06-29 23:46:38 +0000 | [diff] [blame] | 136 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_FASTDCT">FLAG_FASTDCT</A></B></CODE> |
| 137 | |
| 138 | <BR> |
| 139 | Use the fastest DCT/IDCT algorithm available in the underlying codec.</TD> |
| 140 | </TR> |
| 141 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 142 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 143 | <CODE>static int</CODE></FONT></TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 144 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_FASTUPSAMPLE">FLAG_FASTUPSAMPLE</A></B></CODE> |
| 145 | |
| 146 | <BR> |
DRC | 65d4a46 | 2013-04-27 01:06:52 +0000 | [diff] [blame] | 147 | When decompressing an image that was compressed using chrominance |
| 148 | subsampling, use the fastest chrominance upsampling algorithm available in |
| 149 | the underlying codec.</TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 150 | </TR> |
| 151 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 152 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 153 | <CODE>static int</CODE></FONT></TD> |
| 154 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_FORCEMMX">FLAG_FORCEMMX</A></B></CODE> |
| 155 | |
| 156 | <BR> |
| 157 | Turn off CPU auto-detection and force TurboJPEG to use MMX code |
DRC | 73d74c1 | 2012-06-29 23:46:38 +0000 | [diff] [blame] | 158 | (if the underlying codec supports it.)</TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 159 | </TR> |
| 160 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 161 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 162 | <CODE>static int</CODE></FONT></TD> |
| 163 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_FORCESSE">FLAG_FORCESSE</A></B></CODE> |
| 164 | |
| 165 | <BR> |
| 166 | Turn off CPU auto-detection and force TurboJPEG to use SSE code |
DRC | 73d74c1 | 2012-06-29 23:46:38 +0000 | [diff] [blame] | 167 | (if the underlying codec supports it.)</TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 168 | </TR> |
| 169 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 170 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 171 | <CODE>static int</CODE></FONT></TD> |
| 172 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_FORCESSE2">FLAG_FORCESSE2</A></B></CODE> |
| 173 | |
| 174 | <BR> |
| 175 | Turn off CPU auto-detection and force TurboJPEG to use SSE2 code |
DRC | 73d74c1 | 2012-06-29 23:46:38 +0000 | [diff] [blame] | 176 | (if the underlying codec supports it.)</TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 177 | </TR> |
| 178 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 179 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 180 | <CODE>static int</CODE></FONT></TD> |
| 181 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_FORCESSE3">FLAG_FORCESSE3</A></B></CODE> |
| 182 | |
| 183 | <BR> |
| 184 | Turn off CPU auto-detection and force TurboJPEG to use SSE3 code |
DRC | 73d74c1 | 2012-06-29 23:46:38 +0000 | [diff] [blame] | 185 | (if the underlying codec supports it.)</TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 186 | </TR> |
| 187 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 188 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 189 | <CODE>static int</CODE></FONT></TD> |
| 190 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#NUMPF">NUMPF</A></B></CODE> |
| 191 | |
| 192 | <BR> |
| 193 | The number of pixel formats</TD> |
| 194 | </TR> |
| 195 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 196 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 197 | <CODE>static int</CODE></FONT></TD> |
| 198 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#NUMSAMP">NUMSAMP</A></B></CODE> |
| 199 | |
| 200 | <BR> |
| 201 | The number of chrominance subsampling options</TD> |
| 202 | </TR> |
| 203 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 204 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 205 | <CODE>static int</CODE></FONT></TD> |
DRC | 67ce3b2 | 2011-12-19 02:21:03 +0000 | [diff] [blame] | 206 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_ABGR">PF_ABGR</A></B></CODE> |
| 207 | |
| 208 | <BR> |
| 209 | ABGR pixel format.</TD> |
| 210 | </TR> |
| 211 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 212 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 213 | <CODE>static int</CODE></FONT></TD> |
| 214 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_ARGB">PF_ARGB</A></B></CODE> |
| 215 | |
| 216 | <BR> |
| 217 | ARGB pixel format.</TD> |
| 218 | </TR> |
| 219 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 220 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 221 | <CODE>static int</CODE></FONT></TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 222 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_BGR">PF_BGR</A></B></CODE> |
| 223 | |
| 224 | <BR> |
| 225 | BGR pixel format.</TD> |
| 226 | </TR> |
| 227 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 228 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 229 | <CODE>static int</CODE></FONT></TD> |
DRC | 67ce3b2 | 2011-12-19 02:21:03 +0000 | [diff] [blame] | 230 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_BGRA">PF_BGRA</A></B></CODE> |
| 231 | |
| 232 | <BR> |
| 233 | BGRA pixel format.</TD> |
| 234 | </TR> |
| 235 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 236 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 237 | <CODE>static int</CODE></FONT></TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 238 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_BGRX">PF_BGRX</A></B></CODE> |
| 239 | |
| 240 | <BR> |
| 241 | BGRX pixel format.</TD> |
| 242 | </TR> |
| 243 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 244 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 245 | <CODE>static int</CODE></FONT></TD> |
| 246 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_GRAY">PF_GRAY</A></B></CODE> |
| 247 | |
| 248 | <BR> |
| 249 | Grayscale pixel format.</TD> |
| 250 | </TR> |
| 251 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 252 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 253 | <CODE>static int</CODE></FONT></TD> |
| 254 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_RGB">PF_RGB</A></B></CODE> |
| 255 | |
| 256 | <BR> |
| 257 | RGB pixel format.</TD> |
| 258 | </TR> |
| 259 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 260 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 261 | <CODE>static int</CODE></FONT></TD> |
DRC | 67ce3b2 | 2011-12-19 02:21:03 +0000 | [diff] [blame] | 262 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_RGBA">PF_RGBA</A></B></CODE> |
| 263 | |
| 264 | <BR> |
| 265 | RGBA pixel format.</TD> |
| 266 | </TR> |
| 267 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 268 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 269 | <CODE>static int</CODE></FONT></TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 270 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_RGBX">PF_RGBX</A></B></CODE> |
| 271 | |
| 272 | <BR> |
| 273 | RGBX pixel format.</TD> |
| 274 | </TR> |
| 275 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 276 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 277 | <CODE>static int</CODE></FONT></TD> |
| 278 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_XBGR">PF_XBGR</A></B></CODE> |
| 279 | |
| 280 | <BR> |
| 281 | XBGR pixel format.</TD> |
| 282 | </TR> |
| 283 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 284 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 285 | <CODE>static int</CODE></FONT></TD> |
| 286 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_XRGB">PF_XRGB</A></B></CODE> |
| 287 | |
| 288 | <BR> |
| 289 | XRGB pixel format.</TD> |
| 290 | </TR> |
| 291 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 292 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 293 | <CODE>static int</CODE></FONT></TD> |
| 294 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#SAMP_420">SAMP_420</A></B></CODE> |
| 295 | |
| 296 | <BR> |
| 297 | 4:2:0 chrominance subsampling.</TD> |
| 298 | </TR> |
| 299 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 300 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 301 | <CODE>static int</CODE></FONT></TD> |
| 302 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#SAMP_422">SAMP_422</A></B></CODE> |
| 303 | |
| 304 | <BR> |
| 305 | 4:2:2 chrominance subsampling.</TD> |
| 306 | </TR> |
| 307 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 308 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 309 | <CODE>static int</CODE></FONT></TD> |
| 310 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#SAMP_440">SAMP_440</A></B></CODE> |
| 311 | |
| 312 | <BR> |
| 313 | 4:4:0 chrominance subsampling.</TD> |
| 314 | </TR> |
| 315 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 316 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 317 | <CODE>static int</CODE></FONT></TD> |
| 318 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#SAMP_444">SAMP_444</A></B></CODE> |
| 319 | |
| 320 | <BR> |
| 321 | 4:4:4 chrominance subsampling (no chrominance subsampling).</TD> |
| 322 | </TR> |
| 323 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 324 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 325 | <CODE>static int</CODE></FONT></TD> |
| 326 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#SAMP_GRAY">SAMP_GRAY</A></B></CODE> |
| 327 | |
| 328 | <BR> |
| 329 | Grayscale.</TD> |
| 330 | </TR> |
| 331 | </TABLE> |
| 332 | |
| 333 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| 334 | |
| 335 | <A NAME="constructor_summary"><!-- --></A> |
| 336 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 337 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 338 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 339 | <B>Constructor Summary</B></FONT></TH> |
| 340 | </TR> |
| 341 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 342 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#TJ()">TJ</A></B>()</CODE> |
| 343 | |
| 344 | <BR> |
| 345 | </TD> |
| 346 | </TR> |
| 347 | </TABLE> |
| 348 | |
| 349 | <!-- ========== METHOD SUMMARY =========== --> |
| 350 | |
| 351 | <A NAME="method_summary"><!-- --></A> |
| 352 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 353 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 354 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 355 | <B>Method Summary</B></FONT></TH> |
| 356 | </TR> |
| 357 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 358 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 359 | <CODE>static int</CODE></FONT></TD> |
DRC | 9b49f0e | 2011-07-12 03:17:23 +0000 | [diff] [blame] | 360 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#bufSize(int, int, int)">bufSize</A></B>(int width, |
| 361 | int height, |
| 362 | int jpegSubsamp)</CODE> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 363 | |
| 364 | <BR> |
| 365 | Returns the maximum size of the buffer (in bytes) required to hold a JPEG |
DRC | 65d4a46 | 2013-04-27 01:06:52 +0000 | [diff] [blame] | 366 | image with the given width, height, and level of chrominance subsampling.</TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 367 | </TR> |
| 368 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 369 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 370 | <CODE>static int</CODE></FONT></TD> |
| 371 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#bufSizeYUV(int, int, int)">bufSizeYUV</A></B>(int width, |
| 372 | int height, |
| 373 | int subsamp)</CODE> |
| 374 | |
| 375 | <BR> |
DRC | 2c74e51 | 2011-03-16 00:02:53 +0000 | [diff] [blame] | 376 | Returns the size of the buffer (in bytes) required to hold a YUV planar |
| 377 | image with the given width, height, and level of chrominance subsampling.</TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 378 | </TR> |
| 379 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 380 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 381 | <CODE>static int</CODE></FONT></TD> |
DRC | 2c74e51 | 2011-03-16 00:02:53 +0000 | [diff] [blame] | 382 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getBlueOffset(int)">getBlueOffset</A></B>(int pixelFormat)</CODE> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 383 | |
| 384 | <BR> |
DRC | 2c74e51 | 2011-03-16 00:02:53 +0000 | [diff] [blame] | 385 | For the given pixel format, returns the number of bytes that the blue |
| 386 | component is offset from the start of the pixel.</TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 387 | </TR> |
| 388 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 389 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 390 | <CODE>static int</CODE></FONT></TD> |
DRC | 2c74e51 | 2011-03-16 00:02:53 +0000 | [diff] [blame] | 391 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getGreenOffset(int)">getGreenOffset</A></B>(int pixelFormat)</CODE> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 392 | |
| 393 | <BR> |
DRC | 2c74e51 | 2011-03-16 00:02:53 +0000 | [diff] [blame] | 394 | For the given pixel format, returns the number of bytes that the green |
| 395 | component is offset from the start of the pixel.</TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 396 | </TR> |
| 397 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 398 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 399 | <CODE>static int</CODE></FONT></TD> |
| 400 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getMCUHeight(int)">getMCUHeight</A></B>(int subsamp)</CODE> |
| 401 | |
| 402 | <BR> |
| 403 | Returns the MCU block height for the given level of chrominance |
| 404 | subsampling.</TD> |
| 405 | </TR> |
| 406 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 407 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 408 | <CODE>static int</CODE></FONT></TD> |
| 409 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getMCUWidth(int)">getMCUWidth</A></B>(int subsamp)</CODE> |
| 410 | |
| 411 | <BR> |
| 412 | Returns the MCU block width for the given level of chrominance |
| 413 | subsampling.</TD> |
| 414 | </TR> |
| 415 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 416 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 417 | <CODE>static int</CODE></FONT></TD> |
| 418 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getPixelSize(int)">getPixelSize</A></B>(int pixelFormat)</CODE> |
| 419 | |
| 420 | <BR> |
DRC | 65d4a46 | 2013-04-27 01:06:52 +0000 | [diff] [blame] | 421 | Returns the pixel size (in bytes) for the given pixel format.</TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 422 | </TR> |
| 423 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 424 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 425 | <CODE>static int</CODE></FONT></TD> |
DRC | 2c74e51 | 2011-03-16 00:02:53 +0000 | [diff] [blame] | 426 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getRedOffset(int)">getRedOffset</A></B>(int pixelFormat)</CODE> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 427 | |
| 428 | <BR> |
DRC | 2c74e51 | 2011-03-16 00:02:53 +0000 | [diff] [blame] | 429 | For the given pixel format, returns the number of bytes that the red |
| 430 | component is offset from the start of the pixel.</TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 431 | </TR> |
| 432 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 433 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
DRC | b2f9415 | 2011-04-02 02:09:03 +0000 | [diff] [blame] | 434 | <CODE>static <A HREF="../../../org/libjpegturbo/turbojpeg/TJScalingFactor.html" title="class in org.libjpegturbo.turbojpeg">TJScalingFactor</A>[]</CODE></FONT></TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 435 | <TD><CODE><B><A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#getScalingFactors()">getScalingFactors</A></B>()</CODE> |
| 436 | |
| 437 | <BR> |
| 438 | Returns a list of fractional scaling factors that the JPEG decompressor in |
| 439 | this implementation of TurboJPEG supports.</TD> |
| 440 | </TR> |
| 441 | </TABLE> |
| 442 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| 443 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 444 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 445 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
| 446 | </TR> |
| 447 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
| 448 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| 449 | </TR> |
| 450 | </TABLE> |
| 451 | |
| 452 | <P> |
| 453 | |
| 454 | <!-- ============ FIELD DETAIL =========== --> |
| 455 | |
| 456 | <A NAME="field_detail"><!-- --></A> |
| 457 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 458 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 459 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 460 | <B>Field Detail</B></FONT></TH> |
| 461 | </TR> |
| 462 | </TABLE> |
| 463 | |
| 464 | <A NAME="NUMSAMP"><!-- --></A><H3> |
| 465 | NUMSAMP</H3> |
| 466 | <PRE> |
| 467 | public static final int <B>NUMSAMP</B></PRE> |
| 468 | <DL> |
| 469 | <DD>The number of chrominance subsampling options |
| 470 | <P> |
| 471 | <DL> |
| 472 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.NUMSAMP">Constant Field Values</A></DL> |
| 473 | </DL> |
| 474 | <HR> |
| 475 | |
| 476 | <A NAME="SAMP_444"><!-- --></A><H3> |
| 477 | SAMP_444</H3> |
| 478 | <PRE> |
| 479 | public static final int <B>SAMP_444</B></PRE> |
| 480 | <DL> |
| 481 | <DD>4:4:4 chrominance subsampling (no chrominance subsampling). The JPEG |
| 482 | or YUV image will contain one chrominance component for every pixel in the |
| 483 | source image. |
| 484 | <P> |
| 485 | <DL> |
| 486 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.SAMP_444">Constant Field Values</A></DL> |
| 487 | </DL> |
| 488 | <HR> |
| 489 | |
| 490 | <A NAME="SAMP_422"><!-- --></A><H3> |
| 491 | SAMP_422</H3> |
| 492 | <PRE> |
| 493 | public static final int <B>SAMP_422</B></PRE> |
| 494 | <DL> |
| 495 | <DD>4:2:2 chrominance subsampling. The JPEG or YUV image will contain one |
| 496 | chrominance component for every 2x1 block of pixels in the source image. |
| 497 | <P> |
| 498 | <DL> |
| 499 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.SAMP_422">Constant Field Values</A></DL> |
| 500 | </DL> |
| 501 | <HR> |
| 502 | |
| 503 | <A NAME="SAMP_420"><!-- --></A><H3> |
| 504 | SAMP_420</H3> |
| 505 | <PRE> |
| 506 | public static final int <B>SAMP_420</B></PRE> |
| 507 | <DL> |
| 508 | <DD>4:2:0 chrominance subsampling. The JPEG or YUV image will contain one |
| 509 | chrominance component for every 2x2 block of pixels in the source image. |
| 510 | <P> |
| 511 | <DL> |
| 512 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.SAMP_420">Constant Field Values</A></DL> |
| 513 | </DL> |
| 514 | <HR> |
| 515 | |
| 516 | <A NAME="SAMP_GRAY"><!-- --></A><H3> |
| 517 | SAMP_GRAY</H3> |
| 518 | <PRE> |
| 519 | public static final int <B>SAMP_GRAY</B></PRE> |
| 520 | <DL> |
| 521 | <DD>Grayscale. The JPEG or YUV image will contain no chrominance components. |
| 522 | <P> |
| 523 | <DL> |
| 524 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.SAMP_GRAY">Constant Field Values</A></DL> |
| 525 | </DL> |
| 526 | <HR> |
| 527 | |
| 528 | <A NAME="SAMP_440"><!-- --></A><H3> |
| 529 | SAMP_440</H3> |
| 530 | <PRE> |
| 531 | public static final int <B>SAMP_440</B></PRE> |
| 532 | <DL> |
| 533 | <DD>4:4:0 chrominance subsampling. The JPEG or YUV image will contain one |
| 534 | chrominance component for every 1x2 block of pixels in the source image. |
DRC | ae92418 | 2013-08-18 10:47:07 +0000 | [diff] [blame] | 535 | Note that 4:4:0 subsampling is not fully accelerated in libjpeg-turbo. |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 536 | <P> |
| 537 | <DL> |
| 538 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.SAMP_440">Constant Field Values</A></DL> |
| 539 | </DL> |
| 540 | <HR> |
| 541 | |
| 542 | <A NAME="NUMPF"><!-- --></A><H3> |
| 543 | NUMPF</H3> |
| 544 | <PRE> |
| 545 | public static final int <B>NUMPF</B></PRE> |
| 546 | <DL> |
| 547 | <DD>The number of pixel formats |
| 548 | <P> |
| 549 | <DL> |
| 550 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.NUMPF">Constant Field Values</A></DL> |
| 551 | </DL> |
| 552 | <HR> |
| 553 | |
| 554 | <A NAME="PF_RGB"><!-- --></A><H3> |
| 555 | PF_RGB</H3> |
| 556 | <PRE> |
| 557 | public static final int <B>PF_RGB</B></PRE> |
| 558 | <DL> |
| 559 | <DD>RGB pixel format. The red, green, and blue components in the image are |
| 560 | stored in 3-byte pixels in the order R, G, B from lowest to highest byte |
| 561 | address within each pixel. |
| 562 | <P> |
| 563 | <DL> |
| 564 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.PF_RGB">Constant Field Values</A></DL> |
| 565 | </DL> |
| 566 | <HR> |
| 567 | |
| 568 | <A NAME="PF_BGR"><!-- --></A><H3> |
| 569 | PF_BGR</H3> |
| 570 | <PRE> |
| 571 | public static final int <B>PF_BGR</B></PRE> |
| 572 | <DL> |
| 573 | <DD>BGR pixel format. The red, green, and blue components in the image are |
| 574 | stored in 3-byte pixels in the order B, G, R from lowest to highest byte |
| 575 | address within each pixel. |
| 576 | <P> |
| 577 | <DL> |
| 578 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.PF_BGR">Constant Field Values</A></DL> |
| 579 | </DL> |
| 580 | <HR> |
| 581 | |
| 582 | <A NAME="PF_RGBX"><!-- --></A><H3> |
| 583 | PF_RGBX</H3> |
| 584 | <PRE> |
| 585 | public static final int <B>PF_RGBX</B></PRE> |
| 586 | <DL> |
| 587 | <DD>RGBX pixel format. The red, green, and blue components in the image are |
| 588 | stored in 4-byte pixels in the order R, G, B from lowest to highest byte |
DRC | 67ce3b2 | 2011-12-19 02:21:03 +0000 | [diff] [blame] | 589 | address within each pixel. The X component is ignored when compressing |
| 590 | and undefined when decompressing. |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 591 | <P> |
| 592 | <DL> |
| 593 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.PF_RGBX">Constant Field Values</A></DL> |
| 594 | </DL> |
| 595 | <HR> |
| 596 | |
| 597 | <A NAME="PF_BGRX"><!-- --></A><H3> |
| 598 | PF_BGRX</H3> |
| 599 | <PRE> |
| 600 | public static final int <B>PF_BGRX</B></PRE> |
| 601 | <DL> |
| 602 | <DD>BGRX pixel format. The red, green, and blue components in the image are |
| 603 | stored in 4-byte pixels in the order B, G, R from lowest to highest byte |
DRC | 67ce3b2 | 2011-12-19 02:21:03 +0000 | [diff] [blame] | 604 | address within each pixel. The X component is ignored when compressing |
| 605 | and undefined when decompressing. |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 606 | <P> |
| 607 | <DL> |
| 608 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.PF_BGRX">Constant Field Values</A></DL> |
| 609 | </DL> |
| 610 | <HR> |
| 611 | |
| 612 | <A NAME="PF_XBGR"><!-- --></A><H3> |
| 613 | PF_XBGR</H3> |
| 614 | <PRE> |
| 615 | public static final int <B>PF_XBGR</B></PRE> |
| 616 | <DL> |
| 617 | <DD>XBGR pixel format. The red, green, and blue components in the image are |
| 618 | stored in 4-byte pixels in the order R, G, B from highest to lowest byte |
DRC | 67ce3b2 | 2011-12-19 02:21:03 +0000 | [diff] [blame] | 619 | address within each pixel. The X component is ignored when compressing |
| 620 | and undefined when decompressing. |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 621 | <P> |
| 622 | <DL> |
| 623 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.PF_XBGR">Constant Field Values</A></DL> |
| 624 | </DL> |
| 625 | <HR> |
| 626 | |
| 627 | <A NAME="PF_XRGB"><!-- --></A><H3> |
| 628 | PF_XRGB</H3> |
| 629 | <PRE> |
| 630 | public static final int <B>PF_XRGB</B></PRE> |
| 631 | <DL> |
| 632 | <DD>XRGB pixel format. The red, green, and blue components in the image are |
| 633 | stored in 4-byte pixels in the order B, G, R from highest to lowest byte |
DRC | 67ce3b2 | 2011-12-19 02:21:03 +0000 | [diff] [blame] | 634 | address within each pixel. The X component is ignored when compressing |
| 635 | and undefined when decompressing. |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 636 | <P> |
| 637 | <DL> |
| 638 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.PF_XRGB">Constant Field Values</A></DL> |
| 639 | </DL> |
| 640 | <HR> |
| 641 | |
| 642 | <A NAME="PF_GRAY"><!-- --></A><H3> |
| 643 | PF_GRAY</H3> |
| 644 | <PRE> |
| 645 | public static final int <B>PF_GRAY</B></PRE> |
| 646 | <DL> |
| 647 | <DD>Grayscale pixel format. Each 1-byte pixel represents a luminance |
| 648 | (brightness) level from 0 to 255. |
| 649 | <P> |
| 650 | <DL> |
| 651 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.PF_GRAY">Constant Field Values</A></DL> |
| 652 | </DL> |
| 653 | <HR> |
| 654 | |
DRC | 67ce3b2 | 2011-12-19 02:21:03 +0000 | [diff] [blame] | 655 | <A NAME="PF_RGBA"><!-- --></A><H3> |
| 656 | PF_RGBA</H3> |
| 657 | <PRE> |
| 658 | public static final int <B>PF_RGBA</B></PRE> |
| 659 | <DL> |
| 660 | <DD>RGBA pixel format. This is the same as <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_RGBX"><CODE>PF_RGBX</CODE></A>, except that when |
| 661 | decompressing, the X byte is guaranteed to be 0xFF, which can be |
| 662 | interpreted as an opaque alpha channel. |
| 663 | <P> |
| 664 | <DL> |
| 665 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.PF_RGBA">Constant Field Values</A></DL> |
| 666 | </DL> |
| 667 | <HR> |
| 668 | |
| 669 | <A NAME="PF_BGRA"><!-- --></A><H3> |
| 670 | PF_BGRA</H3> |
| 671 | <PRE> |
| 672 | public static final int <B>PF_BGRA</B></PRE> |
| 673 | <DL> |
| 674 | <DD>BGRA pixel format. This is the same as <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_BGRX"><CODE>PF_BGRX</CODE></A>, except that when |
| 675 | decompressing, the X byte is guaranteed to be 0xFF, which can be |
| 676 | interpreted as an opaque alpha channel. |
| 677 | <P> |
| 678 | <DL> |
| 679 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.PF_BGRA">Constant Field Values</A></DL> |
| 680 | </DL> |
| 681 | <HR> |
| 682 | |
| 683 | <A NAME="PF_ABGR"><!-- --></A><H3> |
| 684 | PF_ABGR</H3> |
| 685 | <PRE> |
| 686 | public static final int <B>PF_ABGR</B></PRE> |
| 687 | <DL> |
| 688 | <DD>ABGR pixel format. This is the same as <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_XBGR"><CODE>PF_XBGR</CODE></A>, except that when |
| 689 | decompressing, the X byte is guaranteed to be 0xFF, which can be |
| 690 | interpreted as an opaque alpha channel. |
| 691 | <P> |
| 692 | <DL> |
| 693 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.PF_ABGR">Constant Field Values</A></DL> |
| 694 | </DL> |
| 695 | <HR> |
| 696 | |
| 697 | <A NAME="PF_ARGB"><!-- --></A><H3> |
| 698 | PF_ARGB</H3> |
| 699 | <PRE> |
| 700 | public static final int <B>PF_ARGB</B></PRE> |
| 701 | <DL> |
| 702 | <DD>ARGB pixel format. This is the same as <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_XRGB"><CODE>PF_XRGB</CODE></A>, except that when |
| 703 | decompressing, the X byte is guaranteed to be 0xFF, which can be |
| 704 | interpreted as an opaque alpha channel. |
| 705 | <P> |
| 706 | <DL> |
| 707 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.PF_ARGB">Constant Field Values</A></DL> |
| 708 | </DL> |
| 709 | <HR> |
| 710 | |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 711 | <A NAME="FLAG_BOTTOMUP"><!-- --></A><H3> |
| 712 | FLAG_BOTTOMUP</H3> |
| 713 | <PRE> |
| 714 | public static final int <B>FLAG_BOTTOMUP</B></PRE> |
| 715 | <DL> |
| 716 | <DD>The uncompressed source/destination image is stored in bottom-up (Windows, |
| 717 | OpenGL) order, not top-down (X11) order. |
| 718 | <P> |
| 719 | <DL> |
| 720 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.FLAG_BOTTOMUP">Constant Field Values</A></DL> |
| 721 | </DL> |
| 722 | <HR> |
| 723 | |
| 724 | <A NAME="FLAG_FORCEMMX"><!-- --></A><H3> |
| 725 | FLAG_FORCEMMX</H3> |
| 726 | <PRE> |
| 727 | public static final int <B>FLAG_FORCEMMX</B></PRE> |
| 728 | <DL> |
| 729 | <DD>Turn off CPU auto-detection and force TurboJPEG to use MMX code |
DRC | 73d74c1 | 2012-06-29 23:46:38 +0000 | [diff] [blame] | 730 | (if the underlying codec supports it.) |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 731 | <P> |
| 732 | <DL> |
| 733 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.FLAG_FORCEMMX">Constant Field Values</A></DL> |
| 734 | </DL> |
| 735 | <HR> |
| 736 | |
| 737 | <A NAME="FLAG_FORCESSE"><!-- --></A><H3> |
| 738 | FLAG_FORCESSE</H3> |
| 739 | <PRE> |
| 740 | public static final int <B>FLAG_FORCESSE</B></PRE> |
| 741 | <DL> |
| 742 | <DD>Turn off CPU auto-detection and force TurboJPEG to use SSE code |
DRC | 73d74c1 | 2012-06-29 23:46:38 +0000 | [diff] [blame] | 743 | (if the underlying codec supports it.) |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 744 | <P> |
| 745 | <DL> |
| 746 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.FLAG_FORCESSE">Constant Field Values</A></DL> |
| 747 | </DL> |
| 748 | <HR> |
| 749 | |
| 750 | <A NAME="FLAG_FORCESSE2"><!-- --></A><H3> |
| 751 | FLAG_FORCESSE2</H3> |
| 752 | <PRE> |
| 753 | public static final int <B>FLAG_FORCESSE2</B></PRE> |
| 754 | <DL> |
| 755 | <DD>Turn off CPU auto-detection and force TurboJPEG to use SSE2 code |
DRC | 73d74c1 | 2012-06-29 23:46:38 +0000 | [diff] [blame] | 756 | (if the underlying codec supports it.) |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 757 | <P> |
| 758 | <DL> |
| 759 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.FLAG_FORCESSE2">Constant Field Values</A></DL> |
| 760 | </DL> |
| 761 | <HR> |
| 762 | |
| 763 | <A NAME="FLAG_FORCESSE3"><!-- --></A><H3> |
| 764 | FLAG_FORCESSE3</H3> |
| 765 | <PRE> |
| 766 | public static final int <B>FLAG_FORCESSE3</B></PRE> |
| 767 | <DL> |
| 768 | <DD>Turn off CPU auto-detection and force TurboJPEG to use SSE3 code |
DRC | 73d74c1 | 2012-06-29 23:46:38 +0000 | [diff] [blame] | 769 | (if the underlying codec supports it.) |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 770 | <P> |
| 771 | <DL> |
| 772 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.FLAG_FORCESSE3">Constant Field Values</A></DL> |
| 773 | </DL> |
| 774 | <HR> |
| 775 | |
| 776 | <A NAME="FLAG_FASTUPSAMPLE"><!-- --></A><H3> |
| 777 | FLAG_FASTUPSAMPLE</H3> |
| 778 | <PRE> |
| 779 | public static final int <B>FLAG_FASTUPSAMPLE</B></PRE> |
| 780 | <DL> |
DRC | 65d4a46 | 2013-04-27 01:06:52 +0000 | [diff] [blame] | 781 | <DD>When decompressing an image that was compressed using chrominance |
| 782 | subsampling, use the fastest chrominance upsampling algorithm available in |
| 783 | the underlying codec. The default is to use smooth upsampling, which |
| 784 | creates a smooth transition between neighboring chrominance components in |
| 785 | order to reduce upsampling artifacts in the decompressed image. |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 786 | <P> |
| 787 | <DL> |
| 788 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.FLAG_FASTUPSAMPLE">Constant Field Values</A></DL> |
| 789 | </DL> |
DRC | 73d74c1 | 2012-06-29 23:46:38 +0000 | [diff] [blame] | 790 | <HR> |
| 791 | |
| 792 | <A NAME="FLAG_FASTDCT"><!-- --></A><H3> |
| 793 | FLAG_FASTDCT</H3> |
| 794 | <PRE> |
| 795 | public static final int <B>FLAG_FASTDCT</B></PRE> |
| 796 | <DL> |
| 797 | <DD>Use the fastest DCT/IDCT algorithm available in the underlying codec. The |
DRC | ae92418 | 2013-08-18 10:47:07 +0000 | [diff] [blame] | 798 | default if this flag is not specified is implementation-specific. For |
| 799 | example, the implementation of TurboJPEG for libjpeg[-turbo] uses the fast |
| 800 | algorithm by default when compressing, because this has been shown to have |
| 801 | only a very slight effect on accuracy, but it uses the accurate algorithm |
| 802 | when decompressing, because this has been shown to have a larger effect. |
DRC | 73d74c1 | 2012-06-29 23:46:38 +0000 | [diff] [blame] | 803 | <P> |
| 804 | <DL> |
| 805 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.FLAG_FASTDCT">Constant Field Values</A></DL> |
| 806 | </DL> |
| 807 | <HR> |
| 808 | |
| 809 | <A NAME="FLAG_ACCURATEDCT"><!-- --></A><H3> |
| 810 | FLAG_ACCURATEDCT</H3> |
| 811 | <PRE> |
| 812 | public static final int <B>FLAG_ACCURATEDCT</B></PRE> |
| 813 | <DL> |
| 814 | <DD>Use the most accurate DCT/IDCT algorithm available in the underlying |
| 815 | codec. The default if this flag is not specified is |
DRC | ae92418 | 2013-08-18 10:47:07 +0000 | [diff] [blame] | 816 | implementation-specific. For example, the implementation of TurboJPEG for |
| 817 | libjpeg[-turbo] uses the fast algorithm by default when compressing, |
| 818 | because this has been shown to have only a very slight effect on accuracy, |
| 819 | but it uses the accurate algorithm when decompressing, because this has |
| 820 | been shown to have a larger effect. |
DRC | 73d74c1 | 2012-06-29 23:46:38 +0000 | [diff] [blame] | 821 | <P> |
| 822 | <DL> |
| 823 | <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJ.FLAG_ACCURATEDCT">Constant Field Values</A></DL> |
| 824 | </DL> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 825 | |
| 826 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 827 | |
| 828 | <A NAME="constructor_detail"><!-- --></A> |
| 829 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 830 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 831 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 832 | <B>Constructor Detail</B></FONT></TH> |
| 833 | </TR> |
| 834 | </TABLE> |
| 835 | |
| 836 | <A NAME="TJ()"><!-- --></A><H3> |
| 837 | TJ</H3> |
| 838 | <PRE> |
| 839 | public <B>TJ</B>()</PRE> |
| 840 | <DL> |
| 841 | </DL> |
| 842 | |
| 843 | <!-- ============ METHOD DETAIL ========== --> |
| 844 | |
| 845 | <A NAME="method_detail"><!-- --></A> |
| 846 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 847 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 848 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 849 | <B>Method Detail</B></FONT></TH> |
| 850 | </TR> |
| 851 | </TABLE> |
| 852 | |
| 853 | <A NAME="getMCUWidth(int)"><!-- --></A><H3> |
| 854 | getMCUWidth</H3> |
| 855 | <PRE> |
| 856 | public static int <B>getMCUWidth</B>(int subsamp) |
| 857 | throws java.lang.Exception</PRE> |
| 858 | <DL> |
| 859 | <DD>Returns the MCU block width for the given level of chrominance |
| 860 | subsampling. |
| 861 | <P> |
| 862 | <DD><DL> |
DRC | 2c74e51 | 2011-03-16 00:02:53 +0000 | [diff] [blame] | 863 | <DT><B>Parameters:</B><DD><CODE>subsamp</CODE> - the level of chrominance subsampling (one of |
| 864 | <code>SAMP_*</code>) |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 865 | <DT><B>Returns:</B><DD>the MCU block width for the given level of chrominance subsampling |
| 866 | <DT><B>Throws:</B> |
| 867 | <DD><CODE>java.lang.Exception</CODE></DL> |
| 868 | </DD> |
| 869 | </DL> |
| 870 | <HR> |
| 871 | |
| 872 | <A NAME="getMCUHeight(int)"><!-- --></A><H3> |
| 873 | getMCUHeight</H3> |
| 874 | <PRE> |
| 875 | public static int <B>getMCUHeight</B>(int subsamp) |
| 876 | throws java.lang.Exception</PRE> |
| 877 | <DL> |
| 878 | <DD>Returns the MCU block height for the given level of chrominance |
| 879 | subsampling. |
| 880 | <P> |
| 881 | <DD><DL> |
DRC | 2c74e51 | 2011-03-16 00:02:53 +0000 | [diff] [blame] | 882 | <DT><B>Parameters:</B><DD><CODE>subsamp</CODE> - the level of chrominance subsampling (one of |
| 883 | <code>SAMP_*</code>) |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 884 | <DT><B>Returns:</B><DD>the MCU block height for the given level of chrominance |
| 885 | subsampling |
| 886 | <DT><B>Throws:</B> |
| 887 | <DD><CODE>java.lang.Exception</CODE></DL> |
| 888 | </DD> |
| 889 | </DL> |
| 890 | <HR> |
| 891 | |
| 892 | <A NAME="getPixelSize(int)"><!-- --></A><H3> |
| 893 | getPixelSize</H3> |
| 894 | <PRE> |
| 895 | public static int <B>getPixelSize</B>(int pixelFormat) |
| 896 | throws java.lang.Exception</PRE> |
| 897 | <DL> |
DRC | 65d4a46 | 2013-04-27 01:06:52 +0000 | [diff] [blame] | 898 | <DD>Returns the pixel size (in bytes) for the given pixel format. |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 899 | <P> |
| 900 | <DD><DL> |
DRC | 2c74e51 | 2011-03-16 00:02:53 +0000 | [diff] [blame] | 901 | <DT><B>Parameters:</B><DD><CODE>pixelFormat</CODE> - the pixel format (one of <code>PF_*</code>) |
DRC | 65d4a46 | 2013-04-27 01:06:52 +0000 | [diff] [blame] | 902 | <DT><B>Returns:</B><DD>the pixel size (in bytes) for the given pixel format |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 903 | <DT><B>Throws:</B> |
| 904 | <DD><CODE>java.lang.Exception</CODE></DL> |
| 905 | </DD> |
| 906 | </DL> |
| 907 | <HR> |
| 908 | |
DRC | 2c74e51 | 2011-03-16 00:02:53 +0000 | [diff] [blame] | 909 | <A NAME="getRedOffset(int)"><!-- --></A><H3> |
| 910 | getRedOffset</H3> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 911 | <PRE> |
DRC | 2c74e51 | 2011-03-16 00:02:53 +0000 | [diff] [blame] | 912 | public static int <B>getRedOffset</B>(int pixelFormat) |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 913 | throws java.lang.Exception</PRE> |
| 914 | <DL> |
DRC | 2c74e51 | 2011-03-16 00:02:53 +0000 | [diff] [blame] | 915 | <DD>For the given pixel format, returns the number of bytes that the red |
| 916 | component is offset from the start of the pixel. For instance, if a pixel |
| 917 | of format <code>TJ.PF_BGRX</code> is stored in <code>char pixel[]</code>, |
| 918 | then the red component will be |
| 919 | <code>pixel[TJ.getRedOffset(TJ.PF_BGRX)]</code>. |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 920 | <P> |
| 921 | <DD><DL> |
DRC | 2c74e51 | 2011-03-16 00:02:53 +0000 | [diff] [blame] | 922 | <DT><B>Parameters:</B><DD><CODE>pixelFormat</CODE> - the pixel format (one of <code>PF_*</code>) |
| 923 | <DT><B>Returns:</B><DD>the red offset for the given pixel format |
| 924 | <DT><B>Throws:</B> |
| 925 | <DD><CODE>java.lang.Exception</CODE></DL> |
| 926 | </DD> |
| 927 | </DL> |
| 928 | <HR> |
| 929 | |
| 930 | <A NAME="getGreenOffset(int)"><!-- --></A><H3> |
| 931 | getGreenOffset</H3> |
| 932 | <PRE> |
| 933 | public static int <B>getGreenOffset</B>(int pixelFormat) |
| 934 | throws java.lang.Exception</PRE> |
| 935 | <DL> |
| 936 | <DD>For the given pixel format, returns the number of bytes that the green |
| 937 | component is offset from the start of the pixel. For instance, if a pixel |
| 938 | of format <code>TJ.PF_BGRX</code> is stored in <code>char pixel[]</code>, |
| 939 | then the green component will be |
| 940 | <code>pixel[TJ.getGreenOffset(TJ.PF_BGRX)]</code>. |
| 941 | <P> |
| 942 | <DD><DL> |
| 943 | <DT><B>Parameters:</B><DD><CODE>pixelFormat</CODE> - the pixel format (one of <code>PF_*</code>) |
| 944 | <DT><B>Returns:</B><DD>the green offset for the given pixel format |
| 945 | <DT><B>Throws:</B> |
| 946 | <DD><CODE>java.lang.Exception</CODE></DL> |
| 947 | </DD> |
| 948 | </DL> |
| 949 | <HR> |
| 950 | |
| 951 | <A NAME="getBlueOffset(int)"><!-- --></A><H3> |
| 952 | getBlueOffset</H3> |
| 953 | <PRE> |
| 954 | public static int <B>getBlueOffset</B>(int pixelFormat) |
| 955 | throws java.lang.Exception</PRE> |
| 956 | <DL> |
| 957 | <DD>For the given pixel format, returns the number of bytes that the blue |
| 958 | component is offset from the start of the pixel. For instance, if a pixel |
| 959 | of format <code>TJ.PF_BGRX</code> is stored in <code>char pixel[]</code>, |
| 960 | then the blue component will be |
| 961 | <code>pixel[TJ.getBlueOffset(TJ.PF_BGRX)]</code>. |
| 962 | <P> |
| 963 | <DD><DL> |
| 964 | <DT><B>Parameters:</B><DD><CODE>pixelFormat</CODE> - the pixel format (one of <code>PF_*</code>) |
| 965 | <DT><B>Returns:</B><DD>the blue offset for the given pixel format |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 966 | <DT><B>Throws:</B> |
| 967 | <DD><CODE>java.lang.Exception</CODE></DL> |
| 968 | </DD> |
| 969 | </DL> |
| 970 | <HR> |
| 971 | |
DRC | 9b49f0e | 2011-07-12 03:17:23 +0000 | [diff] [blame] | 972 | <A NAME="bufSize(int, int, int)"><!-- --></A><H3> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 973 | bufSize</H3> |
| 974 | <PRE> |
| 975 | public static int <B>bufSize</B>(int width, |
DRC | 9b49f0e | 2011-07-12 03:17:23 +0000 | [diff] [blame] | 976 | int height, |
| 977 | int jpegSubsamp) |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 978 | throws java.lang.Exception</PRE> |
| 979 | <DL> |
| 980 | <DD>Returns the maximum size of the buffer (in bytes) required to hold a JPEG |
DRC | 65d4a46 | 2013-04-27 01:06:52 +0000 | [diff] [blame] | 981 | image with the given width, height, and level of chrominance subsampling. |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 982 | <P> |
| 983 | <DD><DL> |
DRC | 9b49f0e | 2011-07-12 03:17:23 +0000 | [diff] [blame] | 984 | <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 |
| 985 | generating the JPEG image (one of <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.SAMP_*</CODE></A>) |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 986 | <DT><B>Returns:</B><DD>the maximum size of the buffer (in bytes) required to hold a JPEG |
DRC | 65d4a46 | 2013-04-27 01:06:52 +0000 | [diff] [blame] | 987 | image with the given width, height, and level of chrominance subsampling |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 988 | <DT><B>Throws:</B> |
| 989 | <DD><CODE>java.lang.Exception</CODE></DL> |
| 990 | </DD> |
| 991 | </DL> |
| 992 | <HR> |
| 993 | |
| 994 | <A NAME="bufSizeYUV(int, int, int)"><!-- --></A><H3> |
| 995 | bufSizeYUV</H3> |
| 996 | <PRE> |
| 997 | public static int <B>bufSizeYUV</B>(int width, |
| 998 | int height, |
| 999 | int subsamp) |
| 1000 | throws java.lang.Exception</PRE> |
| 1001 | <DL> |
DRC | 2c74e51 | 2011-03-16 00:02:53 +0000 | [diff] [blame] | 1002 | <DD>Returns the size of the buffer (in bytes) required to hold a YUV planar |
| 1003 | image with the given width, height, and level of chrominance subsampling. |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 1004 | <P> |
| 1005 | <DD><DL> |
| 1006 | <DT><B>Parameters:</B><DD><CODE>width</CODE> - the width (in pixels) of the YUV image<DD><CODE>height</CODE> - the height (in pixels) of the YUV image<DD><CODE>subsamp</CODE> - the level of chrominance subsampling used in the YUV |
DRC | 9b49f0e | 2011-07-12 03:17:23 +0000 | [diff] [blame] | 1007 | image (one of <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.SAMP_*</CODE></A>) |
DRC | 2c74e51 | 2011-03-16 00:02:53 +0000 | [diff] [blame] | 1008 | <DT><B>Returns:</B><DD>the size of the buffer (in bytes) required to hold a YUV planar |
| 1009 | image with the given width, height, and level of chrominance subsampling |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 1010 | <DT><B>Throws:</B> |
| 1011 | <DD><CODE>java.lang.Exception</CODE></DL> |
| 1012 | </DD> |
| 1013 | </DL> |
| 1014 | <HR> |
| 1015 | |
| 1016 | <A NAME="getScalingFactors()"><!-- --></A><H3> |
| 1017 | getScalingFactors</H3> |
| 1018 | <PRE> |
DRC | b2f9415 | 2011-04-02 02:09:03 +0000 | [diff] [blame] | 1019 | public static <A HREF="../../../org/libjpegturbo/turbojpeg/TJScalingFactor.html" title="class in org.libjpegturbo.turbojpeg">TJScalingFactor</A>[] <B>getScalingFactors</B>() |
| 1020 | throws java.lang.Exception</PRE> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 1021 | <DL> |
| 1022 | <DD>Returns a list of fractional scaling factors that the JPEG decompressor in |
| 1023 | this implementation of TurboJPEG supports. |
| 1024 | <P> |
| 1025 | <DD><DL> |
| 1026 | |
| 1027 | <DT><B>Returns:</B><DD>a list of fractional scaling factors that the JPEG decompressor in |
| 1028 | this implementation of TurboJPEG supports |
| 1029 | <DT><B>Throws:</B> |
| 1030 | <DD><CODE>java.lang.Exception</CODE></DL> |
| 1031 | </DD> |
| 1032 | </DL> |
| 1033 | <!-- ========= END OF CLASS DATA ========= --> |
| 1034 | <HR> |
| 1035 | |
| 1036 | |
| 1037 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| 1038 | <A NAME="navbar_bottom"><!-- --></A> |
| 1039 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 1040 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 1041 | <TR> |
| 1042 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 1043 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| 1044 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 1045 | <TR ALIGN="center" VALIGN="top"> |
| 1046 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/libjpegturbo/turbojpeg/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 1047 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 1048 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 1049 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 1050 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 1051 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 1052 | </TR> |
| 1053 | </TABLE> |
| 1054 | </TD> |
| 1055 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 1056 | </EM> |
| 1057 | </TD> |
| 1058 | </TR> |
| 1059 | |
| 1060 | <TR> |
| 1061 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 1062 | PREV CLASS |
DRC | b2f9415 | 2011-04-02 02:09:03 +0000 | [diff] [blame] | 1063 | <A HREF="../../../org/libjpegturbo/turbojpeg/TJCompressor.html" title="class in org.libjpegturbo.turbojpeg"><B>NEXT CLASS</B></A></FONT></TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 1064 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 1065 | <A HREF="../../../index.html?org/libjpegturbo/turbojpeg/TJ.html" target="_top"><B>FRAMES</B></A> |
| 1066 | <A HREF="TJ.html" target="_top"><B>NO FRAMES</B></A> |
| 1067 | <SCRIPT type="text/javascript"> |
| 1068 | <!-- |
| 1069 | if(window==top) { |
| 1070 | document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 1071 | } |
| 1072 | //--> |
| 1073 | </SCRIPT> |
| 1074 | <NOSCRIPT> |
| 1075 | <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 1076 | </NOSCRIPT> |
| 1077 | |
| 1078 | |
| 1079 | </FONT></TD> |
| 1080 | </TR> |
| 1081 | <TR> |
| 1082 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
DRC | b2f9415 | 2011-04-02 02:09:03 +0000 | [diff] [blame] | 1083 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
DRC | 92549de | 2011-03-15 20:52:02 +0000 | [diff] [blame] | 1084 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 1085 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 1086 | </TR> |
| 1087 | </TABLE> |
| 1088 | <A NAME="skip-navbar_bottom"></A> |
| 1089 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| 1090 | |
| 1091 | <HR> |
| 1092 | |
| 1093 | </BODY> |
| 1094 | </HTML> |