|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
<meta content="text/xhtml;charset=UTF-8" http-equiv="Content-Type">
|
|
shun-iwasawa |
82a8f5 |
<meta content="IE=9" http-equiv="X-UA-Compatible">
|
|
shun-iwasawa |
82a8f5 |
<meta content="Doxygen 1.8.20" name="generator">
|
|
shun-iwasawa |
82a8f5 |
<meta content="width=device-width, initial-scale=1" name="viewport">
|
|
shun-iwasawa |
82a8f5 |
<title>TurboJPEG: tjtransform Struct Reference</title>
|
|
shun-iwasawa |
82a8f5 |
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
shun-iwasawa |
82a8f5 |
<script src="jquery.js" type="text/javascript"></script>
|
|
shun-iwasawa |
82a8f5 |
<script src="dynsections.js" type="text/javascript"></script>
|
|
shun-iwasawa |
82a8f5 |
<link href="search/search.css" rel="stylesheet" type="text/css">
|
|
shun-iwasawa |
82a8f5 |
<script src="search/searchdata.js" type="text/javascript"></script>
|
|
shun-iwasawa |
82a8f5 |
<script src="search/search.js" type="text/javascript"></script>
|
|
shun-iwasawa |
82a8f5 |
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
shun-iwasawa |
82a8f5 |
<link href="doxygen-extra.css" rel="stylesheet" type="text/css">
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
TurboJPEG
|
|
shun-iwasawa |
82a8f5 |
2.0
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
<script type="text/javascript"></script>
|
|
shun-iwasawa |
82a8f5 |
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
shun-iwasawa |
82a8f5 |
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
shun-iwasawa |
82a8f5 |
/* @license-end */
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
<script src="menudata.js" type="text/javascript"></script>
|
|
shun-iwasawa |
82a8f5 |
<script src="menu.js" type="text/javascript"></script>
|
|
shun-iwasawa |
82a8f5 |
<script type="text/javascript"></script>
|
|
shun-iwasawa |
82a8f5 |
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
shun-iwasawa |
82a8f5 |
$(function() {
|
|
shun-iwasawa |
82a8f5 |
initMenu('',true,false,'search.php','Search');
|
|
shun-iwasawa |
82a8f5 |
$(document).ready(function() { init_search(); });
|
|
shun-iwasawa |
82a8f5 |
});
|
|
shun-iwasawa |
82a8f5 |
/* @license-end */
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
shun-iwasawa |
82a8f5 |
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
shun-iwasawa |
82a8f5 |
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
name="MSearchResults" id="MSearchResults">
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
Data Fields
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
tjtransform Struct Reference
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
Lossless transform.
|
|
shun-iwasawa |
82a8f5 |
More...
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
#include <turbojpeg.h>
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
Data Fields
|
|
shun-iwasawa |
82a8f5 |
tjregion r
|
|
shun-iwasawa |
82a8f5 |
Cropping region. More...
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
int op
|
|
shun-iwasawa |
82a8f5 |
One of the transform operations. More...
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
int options
|
|
shun-iwasawa |
82a8f5 |
The bitwise OR of one of more of the transform options. More...
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
void * data
|
|
shun-iwasawa |
82a8f5 |
Arbitrary data that can be accessed within the body of the callback function. More...
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
int(* customFilter )(short *coeffs, tjregion arrayRegion, tjregion planeRegion, int componentIndex, int transformIndex, struct tjtransform *transform)
|
|
shun-iwasawa |
82a8f5 |
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. More...
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
Detailed Description
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
Field Documentation
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
◆ customFilter
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
int(* tjtransform::customFilter) (short *coeffs, tjregion arrayRegion, tjregion planeRegion, int componentIndex, int transformIndex, struct tjtransform *transform)
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
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.
|
|
shun-iwasawa |
82a8f5 |
This allows for custom filters or other transformations to be applied in the frequency domain.
|
|
shun-iwasawa |
82a8f5 |
- Parameters
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
coeffspointer to an array of transformed DCT coefficients. (NOTE: this pointer 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.)
|
|
shun-iwasawa |
82a8f5 |
arrayRegiontjregion structure containing the width and height of the array pointed to by coeffs as well as its offset relative to the component plane. TurboJPEG implementations may choose to split each component plane into multiple DCT coefficient arrays and call the callback function once for each array.
|
|
shun-iwasawa |
82a8f5 |
planeRegiontjregion structure containing the width and height of the component plane to which coeffs belongs
|
|
shun-iwasawa |
82a8f5 |
componentIDID number of the component plane to which coeffs belongs (Y, Cb, and Cr have, respectively, ID's of 0, 1, and 2 in typical JPEG images.)
|
|
shun-iwasawa |
82a8f5 |
transformIDID number of the transformed image to which coeffs belongs. This is the same as the index of the transform in the transforms array that was passed to tjTransform().
|
|
shun-iwasawa |
82a8f5 |
transforma pointer to a tjtransform structure that specifies the parameters and/or cropping region for this transform
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
- Returns
- 0 if the callback was successful, or -1 if an error occurred.
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
◆ data
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
void* tjtransform::data
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
Arbitrary data that can be accessed within the body of the callback function.
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
◆ op
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
int tjtransform::op
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
One of the transform operations.
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
◆ options
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
int tjtransform::options
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
The bitwise OR of one of more of the transform options.
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
tjregion tjtransform::r
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
Cropping region.
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
The documentation for this struct was generated from the following file:
|
|
shun-iwasawa |
82a8f5 |
turbojpeg.h
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
<address class="footer"><small></small></address>
|
|
shun-iwasawa |
82a8f5 |
Generated by 1.8.20
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|
|
shun-iwasawa |
82a8f5 |
|