OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or
g/TR/html4/loose.dtd"> |
| 2 <!-- NewPage --> |
| 3 <html lang="en"> |
| 4 <head> |
| 5 <title>TJScalingFactor</title> |
| 6 <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Sty
le"> |
| 7 </head> |
| 8 <body> |
| 9 <script type="text/javascript"><!-- |
| 10 if (location.href.indexOf('is-external=true') == -1) { |
| 11 parent.document.title="TJScalingFactor"; |
| 12 } |
| 13 //--> |
| 14 </script> |
| 15 <noscript> |
| 16 <div>JavaScript is disabled on your browser.</div> |
| 17 </noscript> |
| 18 <!-- ========= START OF TOP NAVBAR ======= --> |
| 19 <div class="topNav"><a name="navbar_top"> |
| 20 <!-- --> |
| 21 </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar
_top_firstrow"> |
| 22 <!-- --> |
| 23 </a> |
| 24 <ul class="navList" title="Navigation"> |
| 25 <li><a href="../../../org/libjpegturbo/turbojpeg/package-summary.html">Package</
a></li> |
| 26 <li class="navBarCell1Rev">Class</li> |
| 27 <li><a href="package-tree.html">Tree</a></li> |
| 28 <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| 29 <li><a href="../../../index-all.html">Index</a></li> |
| 30 <li><a href="../../../help-doc.html">Help</a></li> |
| 31 </ul> |
| 32 </div> |
| 33 <div class="subNav"> |
| 34 <ul class="navList"> |
| 35 <li><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class
in org.libjpegturbo.turbojpeg"><span class="strong">Prev Class</span></a></li> |
| 36 <li><a href="../../../org/libjpegturbo/turbojpeg/TJTransform.html" title="class
in org.libjpegturbo.turbojpeg"><span class="strong">Next Class</span></a></li> |
| 37 </ul> |
| 38 <ul class="navList"> |
| 39 <li><a href="../../../index.html?org/libjpegturbo/turbojpeg/TJScalingFactor.html
" target="_top">Frames</a></li> |
| 40 <li><a href="TJScalingFactor.html" target="_top">No Frames</a></li> |
| 41 </ul> |
| 42 <ul class="navList" id="allclasses_navbar_top"> |
| 43 <li><a href="../../../allclasses-noframe.html">All Classes</a></li> |
| 44 </ul> |
| 45 <div> |
| 46 <script type="text/javascript"><!-- |
| 47 allClassesLink = document.getElementById("allclasses_navbar_top"); |
| 48 if(window==top) { |
| 49 allClassesLink.style.display = "block"; |
| 50 } |
| 51 else { |
| 52 allClassesLink.style.display = "none"; |
| 53 } |
| 54 //--> |
| 55 </script> |
| 56 </div> |
| 57 <div> |
| 58 <ul class="subNavList"> |
| 59 <li>Summary: </li> |
| 60 <li>Nested | </li> |
| 61 <li>Field | </li> |
| 62 <li><a href="#constructor_summary">Constr</a> | </li> |
| 63 <li><a href="#method_summary">Method</a></li> |
| 64 </ul> |
| 65 <ul class="subNavList"> |
| 66 <li>Detail: </li> |
| 67 <li>Field | </li> |
| 68 <li><a href="#constructor_detail">Constr</a> | </li> |
| 69 <li><a href="#method_detail">Method</a></li> |
| 70 </ul> |
| 71 </div> |
| 72 <a name="skip-navbar_top"> |
| 73 <!-- --> |
| 74 </a></div> |
| 75 <!-- ========= END OF TOP NAVBAR ========= --> |
| 76 <!-- ======== START OF CLASS DATA ======== --> |
| 77 <div class="header"> |
| 78 <div class="subTitle">org.libjpegturbo.turbojpeg</div> |
| 79 <h2 title="Class TJScalingFactor" class="title">Class TJScalingFactor</h2> |
| 80 </div> |
| 81 <div class="contentContainer"> |
| 82 <ul class="inheritance"> |
| 83 <li>java.lang.Object</li> |
| 84 <li> |
| 85 <ul class="inheritance"> |
| 86 <li>org.libjpegturbo.turbojpeg.TJScalingFactor</li> |
| 87 </ul> |
| 88 </li> |
| 89 </ul> |
| 90 <div class="description"> |
| 91 <ul class="blockList"> |
| 92 <li class="blockList"> |
| 93 <hr> |
| 94 <br> |
| 95 <pre>public class <span class="strong">TJScalingFactor</span> |
| 96 extends java.lang.Object</pre> |
| 97 <div class="block">Fractional scaling factor</div> |
| 98 </li> |
| 99 </ul> |
| 100 </div> |
| 101 <div class="summary"> |
| 102 <ul class="blockList"> |
| 103 <li class="blockList"> |
| 104 <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| 105 <ul class="blockList"> |
| 106 <li class="blockList"><a name="constructor_summary"> |
| 107 <!-- --> |
| 108 </a> |
| 109 <h3>Constructor Summary</h3> |
| 110 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summar
y="Constructor Summary table, listing constructors, and an explanation"> |
| 111 <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| 112 <tr> |
| 113 <th class="colOne" scope="col">Constructor and Description</th> |
| 114 </tr> |
| 115 <tr class="altColor"> |
| 116 <td class="colOne"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJ
ScalingFactor.html#TJScalingFactor(int,%20int)">TJScalingFactor</a></strong>(int
num, |
| 117 int denom)</code> </td> |
| 118 </tr> |
| 119 </table> |
| 120 </li> |
| 121 </ul> |
| 122 <!-- ========== METHOD SUMMARY =========== --> |
| 123 <ul class="blockList"> |
| 124 <li class="blockList"><a name="method_summary"> |
| 125 <!-- --> |
| 126 </a> |
| 127 <h3>Method Summary</h3> |
| 128 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summar
y="Method Summary table, listing methods, and an explanation"> |
| 129 <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| 130 <tr> |
| 131 <th class="colFirst" scope="col">Modifier and Type</th> |
| 132 <th class="colLast" scope="col">Method and Description</th> |
| 133 </tr> |
| 134 <tr class="altColor"> |
| 135 <td class="colFirst"><code>boolean</code></td> |
| 136 <td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/T
JScalingFactor.html#equals(org.libjpegturbo.turbojpeg.TJScalingFactor)">equals</
a></strong>(<a href="../../../org/libjpegturbo/turbojpeg/TJScalingFactor.html" t
itle="class in org.libjpegturbo.turbojpeg">TJScalingFactor</a> other)</code
> |
| 137 <div class="block">Returns true or false, depending on whether this instance and |
| 138 <code>other</code> have the same numerator and denominator.</div> |
| 139 </td> |
| 140 </tr> |
| 141 <tr class="rowColor"> |
| 142 <td class="colFirst"><code>int</code></td> |
| 143 <td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/T
JScalingFactor.html#getDenom()">getDenom</a></strong>()</code> |
| 144 <div class="block">Returns denominator</div> |
| 145 </td> |
| 146 </tr> |
| 147 <tr class="altColor"> |
| 148 <td class="colFirst"><code>int</code></td> |
| 149 <td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/T
JScalingFactor.html#getNum()">getNum</a></strong>()</code> |
| 150 <div class="block">Returns numerator</div> |
| 151 </td> |
| 152 </tr> |
| 153 <tr class="rowColor"> |
| 154 <td class="colFirst"><code>int</code></td> |
| 155 <td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/T
JScalingFactor.html#getScaled(int)">getScaled</a></strong>(int dimension)</
code> |
| 156 <div class="block">Returns the scaled value of <code>dimension</code>.</div> |
| 157 </td> |
| 158 </tr> |
| 159 <tr class="altColor"> |
| 160 <td class="colFirst"><code>boolean</code></td> |
| 161 <td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/T
JScalingFactor.html#isOne()">isOne</a></strong>()</code> |
| 162 <div class="block">Returns true or false, depending on whether this instance is
equal to |
| 163 1/1.</div> |
| 164 </td> |
| 165 </tr> |
| 166 </table> |
| 167 <ul class="blockList"> |
| 168 <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| 169 <!-- --> |
| 170 </a> |
| 171 <h3>Methods inherited from class java.lang.Object</h3> |
| 172 <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString,
wait, wait, wait</code></li> |
| 173 </ul> |
| 174 </li> |
| 175 </ul> |
| 176 </li> |
| 177 </ul> |
| 178 </div> |
| 179 <div class="details"> |
| 180 <ul class="blockList"> |
| 181 <li class="blockList"> |
| 182 <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 183 <ul class="blockList"> |
| 184 <li class="blockList"><a name="constructor_detail"> |
| 185 <!-- --> |
| 186 </a> |
| 187 <h3>Constructor Detail</h3> |
| 188 <a name="TJScalingFactor(int, int)"> |
| 189 <!-- --> |
| 190 </a> |
| 191 <ul class="blockListLast"> |
| 192 <li class="blockList"> |
| 193 <h4>TJScalingFactor</h4> |
| 194 <pre>public TJScalingFactor(int num, |
| 195 int denom)</pre> |
| 196 </li> |
| 197 </ul> |
| 198 </li> |
| 199 </ul> |
| 200 <!-- ============ METHOD DETAIL ========== --> |
| 201 <ul class="blockList"> |
| 202 <li class="blockList"><a name="method_detail"> |
| 203 <!-- --> |
| 204 </a> |
| 205 <h3>Method Detail</h3> |
| 206 <a name="getNum()"> |
| 207 <!-- --> |
| 208 </a> |
| 209 <ul class="blockList"> |
| 210 <li class="blockList"> |
| 211 <h4>getNum</h4> |
| 212 <pre>public int getNum()</pre> |
| 213 <div class="block">Returns numerator</div> |
| 214 <dl><dt><span class="strong">Returns:</span></dt><dd>numerator</dd></dl> |
| 215 </li> |
| 216 </ul> |
| 217 <a name="getDenom()"> |
| 218 <!-- --> |
| 219 </a> |
| 220 <ul class="blockList"> |
| 221 <li class="blockList"> |
| 222 <h4>getDenom</h4> |
| 223 <pre>public int getDenom()</pre> |
| 224 <div class="block">Returns denominator</div> |
| 225 <dl><dt><span class="strong">Returns:</span></dt><dd>denominator</dd></dl> |
| 226 </li> |
| 227 </ul> |
| 228 <a name="getScaled(int)"> |
| 229 <!-- --> |
| 230 </a> |
| 231 <ul class="blockList"> |
| 232 <li class="blockList"> |
| 233 <h4>getScaled</h4> |
| 234 <pre>public int getScaled(int dimension)</pre> |
| 235 <div class="block">Returns the scaled value of <code>dimension</code>. This fun
ction |
| 236 performs the integer equivalent of |
| 237 <code>ceil(dimension * scalingFactor)</code>.</div> |
| 238 <dl><dt><span class="strong">Returns:</span></dt><dd>the scaled value of <code>d
imension</code>.</dd></dl> |
| 239 </li> |
| 240 </ul> |
| 241 <a name="equals(org.libjpegturbo.turbojpeg.TJScalingFactor)"> |
| 242 <!-- --> |
| 243 </a> |
| 244 <ul class="blockList"> |
| 245 <li class="blockList"> |
| 246 <h4>equals</h4> |
| 247 <pre>public boolean equals(<a href="../../../org/libjpegturbo/turbojpe
g/TJScalingFactor.html" title="class in org.libjpegturbo.turbojpeg">TJScalingFac
tor</a> other)</pre> |
| 248 <div class="block">Returns true or false, depending on whether this instance and |
| 249 <code>other</code> have the same numerator and denominator.</div> |
| 250 <dl><dt><span class="strong">Returns:</span></dt><dd>true or false, depending on
whether this instance and |
| 251 <code>other</code> have the same numerator and denominator.</dd></dl> |
| 252 </li> |
| 253 </ul> |
| 254 <a name="isOne()"> |
| 255 <!-- --> |
| 256 </a> |
| 257 <ul class="blockListLast"> |
| 258 <li class="blockList"> |
| 259 <h4>isOne</h4> |
| 260 <pre>public boolean isOne()</pre> |
| 261 <div class="block">Returns true or false, depending on whether this instance is
equal to |
| 262 1/1.</div> |
| 263 <dl><dt><span class="strong">Returns:</span></dt><dd>true or false, depending on
whether this instance is equal to |
| 264 1/1.</dd></dl> |
| 265 </li> |
| 266 </ul> |
| 267 </li> |
| 268 </ul> |
| 269 </li> |
| 270 </ul> |
| 271 </div> |
| 272 </div> |
| 273 <!-- ========= END OF CLASS DATA ========= --> |
| 274 <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| 275 <div class="bottomNav"><a name="navbar_bottom"> |
| 276 <!-- --> |
| 277 </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="nav
bar_bottom_firstrow"> |
| 278 <!-- --> |
| 279 </a> |
| 280 <ul class="navList" title="Navigation"> |
| 281 <li><a href="../../../org/libjpegturbo/turbojpeg/package-summary.html">Package</
a></li> |
| 282 <li class="navBarCell1Rev">Class</li> |
| 283 <li><a href="package-tree.html">Tree</a></li> |
| 284 <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| 285 <li><a href="../../../index-all.html">Index</a></li> |
| 286 <li><a href="../../../help-doc.html">Help</a></li> |
| 287 </ul> |
| 288 </div> |
| 289 <div class="subNav"> |
| 290 <ul class="navList"> |
| 291 <li><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class
in org.libjpegturbo.turbojpeg"><span class="strong">Prev Class</span></a></li> |
| 292 <li><a href="../../../org/libjpegturbo/turbojpeg/TJTransform.html" title="class
in org.libjpegturbo.turbojpeg"><span class="strong">Next Class</span></a></li> |
| 293 </ul> |
| 294 <ul class="navList"> |
| 295 <li><a href="../../../index.html?org/libjpegturbo/turbojpeg/TJScalingFactor.html
" target="_top">Frames</a></li> |
| 296 <li><a href="TJScalingFactor.html" target="_top">No Frames</a></li> |
| 297 </ul> |
| 298 <ul class="navList" id="allclasses_navbar_bottom"> |
| 299 <li><a href="../../../allclasses-noframe.html">All Classes</a></li> |
| 300 </ul> |
| 301 <div> |
| 302 <script type="text/javascript"><!-- |
| 303 allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| 304 if(window==top) { |
| 305 allClassesLink.style.display = "block"; |
| 306 } |
| 307 else { |
| 308 allClassesLink.style.display = "none"; |
| 309 } |
| 310 //--> |
| 311 </script> |
| 312 </div> |
| 313 <div> |
| 314 <ul class="subNavList"> |
| 315 <li>Summary: </li> |
| 316 <li>Nested | </li> |
| 317 <li>Field | </li> |
| 318 <li><a href="#constructor_summary">Constr</a> | </li> |
| 319 <li><a href="#method_summary">Method</a></li> |
| 320 </ul> |
| 321 <ul class="subNavList"> |
| 322 <li>Detail: </li> |
| 323 <li>Field | </li> |
| 324 <li><a href="#constructor_detail">Constr</a> | </li> |
| 325 <li><a href="#method_detail">Method</a></li> |
| 326 </ul> |
| 327 </div> |
| 328 <a name="skip-navbar_bottom"> |
| 329 <!-- --> |
| 330 </a></div> |
| 331 <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| 332 </body> |
| 333 </html> |
OLD | NEW |