| Index: java/doc/org/libjpegturbo/turbojpeg/TJCustomFilter.html
|
| diff --git a/java/doc/org/libjpegturbo/turbojpeg/TJCustomFilter.html b/java/doc/org/libjpegturbo/turbojpeg/TJCustomFilter.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6bd6fd2716c015e1a230168ea7813ceeeb850749
|
| --- /dev/null
|
| +++ b/java/doc/org/libjpegturbo/turbojpeg/TJCustomFilter.html
|
| @@ -0,0 +1,237 @@
|
| +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
| +<!-- NewPage -->
|
| +<html lang="en">
|
| +<head>
|
| +<title>TJCustomFilter</title>
|
| +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
| +</head>
|
| +<body>
|
| +<script type="text/javascript"><!--
|
| + if (location.href.indexOf('is-external=true') == -1) {
|
| + parent.document.title="TJCustomFilter";
|
| + }
|
| +//-->
|
| +</script>
|
| +<noscript>
|
| +<div>JavaScript is disabled on your browser.</div>
|
| +</noscript>
|
| +<!-- ========= START OF TOP NAVBAR ======= -->
|
| +<div class="topNav"><a name="navbar_top">
|
| +<!-- -->
|
| +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
| +<!-- -->
|
| +</a>
|
| +<ul class="navList" title="Navigation">
|
| +<li><a href="../../../org/libjpegturbo/turbojpeg/package-summary.html">Package</a></li>
|
| +<li class="navBarCell1Rev">Class</li>
|
| +<li><a href="package-tree.html">Tree</a></li>
|
| +<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
| +<li><a href="../../../index-all.html">Index</a></li>
|
| +<li><a href="../../../help-doc.html">Help</a></li>
|
| +</ul>
|
| +</div>
|
| +<div class="subNav">
|
| +<ul class="navList">
|
| +<li><a href="../../../org/libjpegturbo/turbojpeg/TJCompressor.html" title="class in org.libjpegturbo.turbojpeg"><span class="strong">Prev Class</span></a></li>
|
| +<li><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg"><span class="strong">Next Class</span></a></li>
|
| +</ul>
|
| +<ul class="navList">
|
| +<li><a href="../../../index.html?org/libjpegturbo/turbojpeg/TJCustomFilter.html" target="_top">Frames</a></li>
|
| +<li><a href="TJCustomFilter.html" target="_top">No Frames</a></li>
|
| +</ul>
|
| +<ul class="navList" id="allclasses_navbar_top">
|
| +<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
| +</ul>
|
| +<div>
|
| +<script type="text/javascript"><!--
|
| + allClassesLink = document.getElementById("allclasses_navbar_top");
|
| + if(window==top) {
|
| + allClassesLink.style.display = "block";
|
| + }
|
| + else {
|
| + allClassesLink.style.display = "none";
|
| + }
|
| + //-->
|
| +</script>
|
| +</div>
|
| +<div>
|
| +<ul class="subNavList">
|
| +<li>Summary: </li>
|
| +<li>Nested | </li>
|
| +<li>Field | </li>
|
| +<li>Constr | </li>
|
| +<li><a href="#method_summary">Method</a></li>
|
| +</ul>
|
| +<ul class="subNavList">
|
| +<li>Detail: </li>
|
| +<li>Field | </li>
|
| +<li>Constr | </li>
|
| +<li><a href="#method_detail">Method</a></li>
|
| +</ul>
|
| +</div>
|
| +<a name="skip-navbar_top">
|
| +<!-- -->
|
| +</a></div>
|
| +<!-- ========= END OF TOP NAVBAR ========= -->
|
| +<!-- ======== START OF CLASS DATA ======== -->
|
| +<div class="header">
|
| +<div class="subTitle">org.libjpegturbo.turbojpeg</div>
|
| +<h2 title="Interface TJCustomFilter" class="title">Interface TJCustomFilter</h2>
|
| +</div>
|
| +<div class="contentContainer">
|
| +<div class="description">
|
| +<ul class="blockList">
|
| +<li class="blockList">
|
| +<hr>
|
| +<br>
|
| +<pre>public interface <span class="strong">TJCustomFilter</span></pre>
|
| +<div class="block">Custom filter callback interface</div>
|
| +</li>
|
| +</ul>
|
| +</div>
|
| +<div class="summary">
|
| +<ul class="blockList">
|
| +<li class="blockList">
|
| +<!-- ========== METHOD SUMMARY =========== -->
|
| +<ul class="blockList">
|
| +<li class="blockList"><a name="method_summary">
|
| +<!-- -->
|
| +</a>
|
| +<h3>Method Summary</h3>
|
| +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
| +<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
| +<tr>
|
| +<th class="colFirst" scope="col">Modifier and Type</th>
|
| +<th class="colLast" scope="col">Method and Description</th>
|
| +</tr>
|
| +<tr class="altColor">
|
| +<td class="colFirst"><code>void</code></td>
|
| +<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJCustomFilter.html#customFilter(java.nio.ShortBuffer,%20java.awt.Rectangle,%20java.awt.Rectangle,%20int,%20int,%20org.libjpegturbo.turbojpeg.TJTransform)">customFilter</a></strong>(java.nio.ShortBuffer coeffBuffer,
|
| + java.awt.Rectangle bufferRegion,
|
| + java.awt.Rectangle planeRegion,
|
| + int componentID,
|
| + int transformID,
|
| + <a href="../../../org/libjpegturbo/turbojpeg/TJTransform.html" title="class in org.libjpegturbo.turbojpeg">TJTransform</a> transform)</code>
|
| +<div class="block">A callback function that can be used to modify the DCT coefficients after
|
| + they are losslessly transformed but before they are transcoded to a new
|
| + JPEG image.</div>
|
| +</td>
|
| +</tr>
|
| +</table>
|
| +</li>
|
| +</ul>
|
| +</li>
|
| +</ul>
|
| +</div>
|
| +<div class="details">
|
| +<ul class="blockList">
|
| +<li class="blockList">
|
| +<!-- ============ METHOD DETAIL ========== -->
|
| +<ul class="blockList">
|
| +<li class="blockList"><a name="method_detail">
|
| +<!-- -->
|
| +</a>
|
| +<h3>Method Detail</h3>
|
| +<a name="customFilter(java.nio.ShortBuffer, java.awt.Rectangle, java.awt.Rectangle, int, int, org.libjpegturbo.turbojpeg.TJTransform)">
|
| +<!-- -->
|
| +</a>
|
| +<ul class="blockListLast">
|
| +<li class="blockList">
|
| +<h4>customFilter</h4>
|
| +<pre>void customFilter(java.nio.ShortBuffer coeffBuffer,
|
| + java.awt.Rectangle bufferRegion,
|
| + java.awt.Rectangle planeRegion,
|
| + int componentID,
|
| + int transformID,
|
| + <a href="../../../org/libjpegturbo/turbojpeg/TJTransform.html" title="class in org.libjpegturbo.turbojpeg">TJTransform</a> transform)
|
| + throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
| +<div class="block">A callback function that can be used to modify the DCT coefficients after
|
| + they are losslessly transformed but before they are transcoded to a new
|
| + JPEG image. This allows for custom filters or other transformations to be
|
| + applied in the frequency domain.</div>
|
| +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>coeffBuffer</code> - a buffer containing transformed DCT coefficients.
|
| + (NOTE: this buffer is not guaranteed to be valid once the callback
|
| + returns, so applications wishing to hand off the DCT coefficients to
|
| + another function or library should make a copy of them within the body of
|
| + the callback.)</dd><dd><code>bufferRegion</code> - rectangle containing the width and height of
|
| + <code>coeffBuffer</code> as well as its offset relative to the component
|
| + plane. TurboJPEG implementations may choose to split each component plane
|
| + into multiple DCT coefficient buffers and call the callback function once
|
| + for each buffer.</dd><dd><code>planeRegion</code> - rectangle containing the width and height of the
|
| + component plane to which <code>coeffBuffer</code> belongs</dd><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 0, 1, and 2 in typical JPEG images.)</dd><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
|
| + transform in the <code>transforms</code> array that was passed to <a href="../../../org/libjpegturbo/turbojpeg/TJTransformer.html#transform(byte[][],%20org.libjpegturbo.turbojpeg.TJTransform[],%20int)"><code>TJTransformer.transform()</code></a>.</dd><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</dd>
|
| +<dt><span class="strong">Throws:</span></dt>
|
| +<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
| +</li>
|
| +</ul>
|
| +</li>
|
| +</ul>
|
| +</li>
|
| +</ul>
|
| +</div>
|
| +</div>
|
| +<!-- ========= END OF CLASS DATA ========= -->
|
| +<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
| +<div class="bottomNav"><a name="navbar_bottom">
|
| +<!-- -->
|
| +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
| +<!-- -->
|
| +</a>
|
| +<ul class="navList" title="Navigation">
|
| +<li><a href="../../../org/libjpegturbo/turbojpeg/package-summary.html">Package</a></li>
|
| +<li class="navBarCell1Rev">Class</li>
|
| +<li><a href="package-tree.html">Tree</a></li>
|
| +<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
| +<li><a href="../../../index-all.html">Index</a></li>
|
| +<li><a href="../../../help-doc.html">Help</a></li>
|
| +</ul>
|
| +</div>
|
| +<div class="subNav">
|
| +<ul class="navList">
|
| +<li><a href="../../../org/libjpegturbo/turbojpeg/TJCompressor.html" title="class in org.libjpegturbo.turbojpeg"><span class="strong">Prev Class</span></a></li>
|
| +<li><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg"><span class="strong">Next Class</span></a></li>
|
| +</ul>
|
| +<ul class="navList">
|
| +<li><a href="../../../index.html?org/libjpegturbo/turbojpeg/TJCustomFilter.html" target="_top">Frames</a></li>
|
| +<li><a href="TJCustomFilter.html" target="_top">No Frames</a></li>
|
| +</ul>
|
| +<ul class="navList" id="allclasses_navbar_bottom">
|
| +<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
| +</ul>
|
| +<div>
|
| +<script type="text/javascript"><!--
|
| + allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
| + if(window==top) {
|
| + allClassesLink.style.display = "block";
|
| + }
|
| + else {
|
| + allClassesLink.style.display = "none";
|
| + }
|
| + //-->
|
| +</script>
|
| +</div>
|
| +<div>
|
| +<ul class="subNavList">
|
| +<li>Summary: </li>
|
| +<li>Nested | </li>
|
| +<li>Field | </li>
|
| +<li>Constr | </li>
|
| +<li><a href="#method_summary">Method</a></li>
|
| +</ul>
|
| +<ul class="subNavList">
|
| +<li>Detail: </li>
|
| +<li>Field | </li>
|
| +<li>Constr | </li>
|
| +<li><a href="#method_detail">Method</a></li>
|
| +</ul>
|
| +</div>
|
| +<a name="skip-navbar_bottom">
|
| +<!-- -->
|
| +</a></div>
|
| +<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
| +</body>
|
| +</html>
|
|
|