Wordsmithing & formatting tweaks
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1154 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
@@ -108,7 +108,7 @@ Data Fields</h2></td></tr>
|
|||||||
<tr class="memdesc:a688fe8f1a8ecc12a538d9e561cf338e3"><td class="mdescLeft"> </td><td class="mdescRight">Arbitrary data that can be accessed within the body of the callback function. <a href="#a688fe8f1a8ecc12a538d9e561cf338e3">More...</a><br/></td></tr>
|
<tr class="memdesc:a688fe8f1a8ecc12a538d9e561cf338e3"><td class="mdescLeft"> </td><td class="mdescRight">Arbitrary data that can be accessed within the body of the callback function. <a href="#a688fe8f1a8ecc12a538d9e561cf338e3">More...</a><br/></td></tr>
|
||||||
<tr class="separator:a688fe8f1a8ecc12a538d9e561cf338e3"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:a688fe8f1a8ecc12a538d9e561cf338e3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
<tr class="memitem:a43ee1bcdd2a8d7249a756774f78793c1"><td class="memItemLeft" align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structtjtransform.html#a43ee1bcdd2a8d7249a756774f78793c1">customFilter</a> )(short *coeffs, <a class="el" href="structtjregion.html">tjregion</a> arrayRegion, <a class="el" href="structtjregion.html">tjregion</a> planeRegion, int componentIndex, int transformIndex, struct <a class="el" href="structtjtransform.html">tjtransform</a> *transform)</td></tr>
|
<tr class="memitem:a43ee1bcdd2a8d7249a756774f78793c1"><td class="memItemLeft" align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structtjtransform.html#a43ee1bcdd2a8d7249a756774f78793c1">customFilter</a> )(short *coeffs, <a class="el" href="structtjregion.html">tjregion</a> arrayRegion, <a class="el" href="structtjregion.html">tjregion</a> planeRegion, int componentIndex, int transformIndex, struct <a class="el" href="structtjtransform.html">tjtransform</a> *transform)</td></tr>
|
||||||
<tr class="memdesc:a43ee1bcdd2a8d7249a756774f78793c1"><td class="mdescLeft"> </td><td class="mdescRight">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 file. <a href="#a43ee1bcdd2a8d7249a756774f78793c1">More...</a><br/></td></tr>
|
<tr class="memdesc:a43ee1bcdd2a8d7249a756774f78793c1"><td class="mdescLeft"> </td><td class="mdescRight">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. <a href="#a43ee1bcdd2a8d7249a756774f78793c1">More...</a><br/></td></tr>
|
||||||
<tr class="separator:a43ee1bcdd2a8d7249a756774f78793c1"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:a43ee1bcdd2a8d7249a756774f78793c1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
</table>
|
</table>
|
||||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
@@ -124,7 +124,7 @@ Data Fields</h2></td></tr>
|
|||||||
</table>
|
</table>
|
||||||
</div><div class="memdoc">
|
</div><div class="memdoc">
|
||||||
|
|
||||||
<p>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 file. </p>
|
<p>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. </p>
|
||||||
<p>This allows for custom filters or other transformations to be applied in the frequency domain.</p>
|
<p>This allows for custom filters or other transformations to be applied in the frequency domain.</p>
|
||||||
<dl class="params"><dt>Parameters</dt><dd>
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
<table class="params">
|
<table class="params">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C)2011-2012, 2014 D. R. Commander.
|
* Copyright (C)2011-2012, 2014 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:
|
||||||
@@ -903,7 +903,7 @@ public class TJUnitTest {
|
|||||||
if (!bi)
|
if (!bi)
|
||||||
bufSizeTest();
|
bufSizeTest();
|
||||||
if (doyuv && !bi) {
|
if (doyuv && !bi) {
|
||||||
System.out.print("\n--------------------\n\n");
|
System.out.print("\n--------------------\n\n");
|
||||||
yuv = YUVDECODE;
|
yuv = YUVDECODE;
|
||||||
doTest(48, 48, onlyRGB, TJ.SAMP_444, "javatest_yuv0");
|
doTest(48, 48, onlyRGB, TJ.SAMP_444, "javatest_yuv0");
|
||||||
doTest(35, 39, onlyRGB, TJ.SAMP_444, "javatest_yuv1");
|
doTest(35, 39, onlyRGB, TJ.SAMP_444, "javatest_yuv1");
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ Method in class org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg
|
|||||||
Method in interface org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJCustomFilter.html" title="interface in org.libjpegturbo.turbojpeg">TJCustomFilter</A>
|
Method in interface org.libjpegturbo.turbojpeg.<A HREF="./org/libjpegturbo/turbojpeg/TJCustomFilter.html" title="interface in org.libjpegturbo.turbojpeg">TJCustomFilter</A>
|
||||||
<DD>A callback function that can be used to modify the DCT coefficients after
|
<DD>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
|
they are losslessly transformed but before they are transcoded to a new
|
||||||
JPEG file.
|
JPEG image.
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
<A NAME="_D_"><!-- --></A><H2>
|
<A NAME="_D_"><!-- --></A><H2>
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ Custom filter callback interface
|
|||||||
<BR>
|
<BR>
|
||||||
A callback function that can be used to modify the DCT coefficients after
|
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
|
they are losslessly transformed but before they are transcoded to a new
|
||||||
JPEG file.</TD>
|
JPEG image.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
|
||||||
@@ -151,7 +151,7 @@ void <B>customFilter</B>(java.nio.ShortBuffer coeffBuffer,
|
|||||||
<DL>
|
<DL>
|
||||||
<DD>A callback function that can be used to modify the DCT coefficients after
|
<DD>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
|
they are losslessly transformed but before they are transcoded to a new
|
||||||
JPEG file. This allows for custom filters or other transformations to be
|
JPEG image. This allows for custom filters or other transformations to be
|
||||||
applied in the frequency domain.
|
applied in the frequency domain.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|||||||
@@ -614,7 +614,7 @@ public int <B>getSubsamp</B>()
|
|||||||
throws java.lang.Exception</PRE>
|
throws java.lang.Exception</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Returns the level of chrominance subsampling used in the JPEG image
|
<DD>Returns the level of chrominance subsampling used in the JPEG image
|
||||||
associated with this decompressor instance.
|
associated with this decompressor instance. See <A HREF="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><CODE>TJ.SAMP_*</CODE></A>.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ public interface TJCustomFilter {
|
|||||||
/**
|
/**
|
||||||
* A callback function that can be used to modify the DCT coefficients after
|
* 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
|
* they are losslessly transformed but before they are transcoded to a new
|
||||||
* JPEG file. This allows for custom filters or other transformations to be
|
* JPEG image. This allows for custom filters or other transformations to be
|
||||||
* applied in the frequency domain.
|
* applied in the frequency domain.
|
||||||
*
|
*
|
||||||
* @param coeffBuffer a buffer containing transformed DCT coefficients.
|
* @param coeffBuffer a buffer containing transformed DCT coefficients.
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ public class TJDecompressor {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the level of chrominance subsampling used in the JPEG image
|
* Returns the level of chrominance subsampling used in the JPEG image
|
||||||
* associated with this decompressor instance.
|
* associated with this decompressor instance. See {@link TJ TJ.SAMP_*}.
|
||||||
*
|
*
|
||||||
* @return the level of chrominance subsampling used in the JPEG image
|
* @return the level of chrominance subsampling used in the JPEG image
|
||||||
* associated with this decompressor instance
|
* associated with this decompressor instance
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ int decomptest(unsigned char *srcbuf, unsigned char **jpegbuf,
|
|||||||
if(yuv==YUVDECODE)
|
if(yuv==YUVDECODE)
|
||||||
{
|
{
|
||||||
if(tjDecompressToYUV(handle, jpegbuf[0], jpegsize[0], dstbuf, flags)==-1)
|
if(tjDecompressToYUV(handle, jpegbuf[0], jpegsize[0], dstbuf, flags)==-1)
|
||||||
_throwtj("executing tjDecompressToYUV()");
|
_throwtj("executing tjDecompressToYUV()");
|
||||||
}
|
}
|
||||||
else for(row=0, dstptr=dstbuf; row<ntilesh; row++, dstptr+=pitch*tileh)
|
else for(row=0, dstptr=dstbuf; row<ntilesh; row++, dstptr+=pitch*tileh)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -445,8 +445,8 @@ typedef struct tjtransform
|
|||||||
/**
|
/**
|
||||||
* A callback function that can be used to modify the DCT coefficients
|
* A callback function that can be used to modify the DCT coefficients
|
||||||
* after they are losslessly transformed but before they are transcoded to a
|
* after they are losslessly transformed but before they are transcoded to a
|
||||||
* new JPEG file. This allows for custom filters or other transformations to
|
* new JPEG image. This allows for custom filters or other transformations
|
||||||
* be applied in the frequency domain.
|
* to be applied in the frequency domain.
|
||||||
*
|
*
|
||||||
* @param coeffs pointer to an array of transformed DCT coefficients. (NOTE:
|
* @param coeffs pointer to an array of transformed DCT coefficients. (NOTE:
|
||||||
* this pointer is not guaranteed to be valid once the callback
|
* this pointer is not guaranteed to be valid once the callback
|
||||||
|
|||||||
Reference in New Issue
Block a user