DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 | <meta name="generator" content="Doxygen 1.8.3.1"/> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 7 | <title>TurboJPEG: tjregion Struct Reference</title> |
| 8 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 9 | <script type="text/javascript" src="jquery.js"></script> |
| 10 | <script type="text/javascript" src="dynsections.js"></script> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 11 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 12 | <script type="text/javascript" src="search/search.js"></script> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 13 | <script type="text/javascript"> |
| 14 | $(document).ready(function() { searchBox.OnSelectItem(0); }); |
| 15 | </script> |
| 16 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
DRC | c71ab2f | 2014-08-10 16:43:31 +0000 | [diff] [blame] | 17 | <link href="doxygen-extra.css" rel="stylesheet" type="text/css"/> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 18 | </head> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 19 | <body> |
| 20 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 21 | <div id="titlearea"> |
| 22 | <table cellspacing="0" cellpadding="0"> |
| 23 | <tbody> |
| 24 | <tr style="height: 56px;"> |
| 25 | <td style="padding-left: 0.5em;"> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 26 | <div id="projectname">TurboJPEG |
DRC | b9ab64d | 2017-05-11 21:02:29 -0500 | [diff] [blame^] | 27 |  <span id="projectnumber">1.6</span> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 28 | </div> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 29 | </td> |
| 30 | </tr> |
| 31 | </tbody> |
| 32 | </table> |
| 33 | </div> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 34 | <!-- end header part --> |
| 35 | <!-- Generated by Doxygen 1.8.3.1 --> |
| 36 | <script type="text/javascript"> |
| 37 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 38 | </script> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 39 | <div id="navrow1" class="tabs"> |
| 40 | <ul class="tablist"> |
| 41 | <li><a href="index.html"><span>Main Page</span></a></li> |
| 42 | <li><a href="modules.html"><span>Modules</span></a></li> |
| 43 | <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 44 | <li> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 45 | <div id="MSearchBox" class="MSearchBoxInactive"> |
| 46 | <span class="left"> |
| 47 | <img id="MSearchSelect" src="search/mag_sel.png" |
| 48 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 49 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 50 | alt=""/> |
| 51 | <input type="text" id="MSearchField" value="Search" accesskey="S" |
| 52 | onfocus="searchBox.OnSearchFieldFocus(true)" |
| 53 | onblur="searchBox.OnSearchFieldFocus(false)" |
| 54 | onkeyup="searchBox.OnSearchFieldChange(event)"/> |
| 55 | </span><span class="right"> |
| 56 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
| 57 | </span> |
| 58 | </div> |
| 59 | </li> |
| 60 | </ul> |
| 61 | </div> |
| 62 | <div id="navrow2" class="tabs2"> |
| 63 | <ul class="tablist"> |
| 64 | <li><a href="annotated.html"><span>Data Structures</span></a></li> |
| 65 | <li><a href="classes.html"><span>Data Structure Index</span></a></li> |
| 66 | <li><a href="functions.html"><span>Data Fields</span></a></li> |
| 67 | </ul> |
| 68 | </div> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 69 | <!-- window showing the filter options --> |
| 70 | <div id="MSearchSelectWindow" |
| 71 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 72 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 73 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 74 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Groups</a></div> |
| 75 | |
| 76 | <!-- iframe showing the search results (closed by default) --> |
| 77 | <div id="MSearchResultsWindow"> |
| 78 | <iframe src="javascript:void(0)" frameborder="0" |
| 79 | name="MSearchResults" id="MSearchResults"> |
| 80 | </iframe> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 81 | </div> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 82 | |
| 83 | </div><!-- top --> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 84 | <div class="header"> |
| 85 | <div class="summary"> |
| 86 | <a href="#pub-attribs">Data Fields</a> </div> |
| 87 | <div class="headertitle"> |
| 88 | <div class="title">tjregion Struct Reference<div class="ingroups"><a class="el" href="group___turbo_j_p_e_g.html">TurboJPEG</a></div></div> </div> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 89 | </div><!--header--> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 90 | <div class="contents"> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 91 | |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 92 | <p>Cropping region. |
| 93 | <a href="structtjregion.html#details">More...</a></p> |
| 94 | |
| 95 | <p><code>#include <turbojpeg.h></code></p> |
| 96 | <table class="memberdecls"> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 97 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 98 | Data Fields</h2></td></tr> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 99 | <tr class="memitem:a4b6a37a93997091b26a75831fa291ad9"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structtjregion.html#a4b6a37a93997091b26a75831fa291ad9">x</a></td></tr> |
| 100 | <tr class="memdesc:a4b6a37a93997091b26a75831fa291ad9"><td class="mdescLeft"> </td><td class="mdescRight">The left boundary of the cropping region. <a href="#a4b6a37a93997091b26a75831fa291ad9">More...</a><br/></td></tr> |
| 101 | <tr class="separator:a4b6a37a93997091b26a75831fa291ad9"><td class="memSeparator" colspan="2"> </td></tr> |
| 102 | <tr class="memitem:a7b3e0c24cfe87acc80e334cafdcf22c2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structtjregion.html#a7b3e0c24cfe87acc80e334cafdcf22c2">y</a></td></tr> |
| 103 | <tr class="memdesc:a7b3e0c24cfe87acc80e334cafdcf22c2"><td class="mdescLeft"> </td><td class="mdescRight">The upper boundary of the cropping region. <a href="#a7b3e0c24cfe87acc80e334cafdcf22c2">More...</a><br/></td></tr> |
| 104 | <tr class="separator:a7b3e0c24cfe87acc80e334cafdcf22c2"><td class="memSeparator" colspan="2"> </td></tr> |
| 105 | <tr class="memitem:ab6eb73ceef584fc23c8c8097926dce42"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structtjregion.html#ab6eb73ceef584fc23c8c8097926dce42">w</a></td></tr> |
| 106 | <tr class="memdesc:ab6eb73ceef584fc23c8c8097926dce42"><td class="mdescLeft"> </td><td class="mdescRight">The width of the cropping region. <a href="#ab6eb73ceef584fc23c8c8097926dce42">More...</a><br/></td></tr> |
| 107 | <tr class="separator:ab6eb73ceef584fc23c8c8097926dce42"><td class="memSeparator" colspan="2"> </td></tr> |
| 108 | <tr class="memitem:aecefc45a26f4d8b60dd4d825c1710115"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structtjregion.html#aecefc45a26f4d8b60dd4d825c1710115">h</a></td></tr> |
| 109 | <tr class="memdesc:aecefc45a26f4d8b60dd4d825c1710115"><td class="mdescLeft"> </td><td class="mdescRight">The height of the cropping region. <a href="#aecefc45a26f4d8b60dd4d825c1710115">More...</a><br/></td></tr> |
| 110 | <tr class="separator:aecefc45a26f4d8b60dd4d825c1710115"><td class="memSeparator" colspan="2"> </td></tr> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 111 | </table> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 112 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 113 | <div class="textblock"><p>Cropping region. </p> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 114 | </div><h2 class="groupheader">Field Documentation</h2> |
| 115 | <a class="anchor" id="aecefc45a26f4d8b60dd4d825c1710115"></a> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 116 | <div class="memitem"> |
| 117 | <div class="memproto"> |
| 118 | <table class="memname"> |
| 119 | <tr> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 120 | <td class="memname">int tjregion::h</td> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 121 | </tr> |
| 122 | </table> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 123 | </div><div class="memdoc"> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 124 | |
| 125 | <p>The height of the cropping region. </p> |
| 126 | <p>Setting this to 0 is the equivalent of setting it to the height of the source JPEG image - y. </p> |
| 127 | |
| 128 | </div> |
| 129 | </div> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 130 | <a class="anchor" id="ab6eb73ceef584fc23c8c8097926dce42"></a> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 131 | <div class="memitem"> |
| 132 | <div class="memproto"> |
| 133 | <table class="memname"> |
| 134 | <tr> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 135 | <td class="memname">int tjregion::w</td> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 136 | </tr> |
| 137 | </table> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 138 | </div><div class="memdoc"> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 139 | |
| 140 | <p>The width of the cropping region. </p> |
| 141 | <p>Setting this to 0 is the equivalent of setting it to the width of the source JPEG image - x. </p> |
| 142 | |
| 143 | </div> |
| 144 | </div> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 145 | <a class="anchor" id="a4b6a37a93997091b26a75831fa291ad9"></a> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 146 | <div class="memitem"> |
| 147 | <div class="memproto"> |
| 148 | <table class="memname"> |
| 149 | <tr> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 150 | <td class="memname">int tjregion::x</td> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 151 | </tr> |
| 152 | </table> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 153 | </div><div class="memdoc"> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 154 | |
| 155 | <p>The left boundary of the cropping region. </p> |
| 156 | <p>This must be evenly divisible by the MCU block width (see <a class="el" href="group___turbo_j_p_e_g.html#ga9e61e7cd47a15a173283ba94e781308c" title="MCU block width (in pixels) for a given level of chrominance subsampling.">tjMCUWidth</a>.) </p> |
| 157 | |
| 158 | </div> |
| 159 | </div> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 160 | <a class="anchor" id="a7b3e0c24cfe87acc80e334cafdcf22c2"></a> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 161 | <div class="memitem"> |
| 162 | <div class="memproto"> |
| 163 | <table class="memname"> |
| 164 | <tr> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 165 | <td class="memname">int tjregion::y</td> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 166 | </tr> |
| 167 | </table> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 168 | </div><div class="memdoc"> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 169 | |
| 170 | <p>The upper boundary of the cropping region. </p> |
| 171 | <p>This must be evenly divisible by the MCU block height (see <a class="el" href="group___turbo_j_p_e_g.html#gabd247bb9fecb393eca57366feb8327bf" title="MCU block height (in pixels) for a given level of chrominance subsampling.">tjMCUHeight</a>.) </p> |
| 172 | |
| 173 | </div> |
| 174 | </div> |
| 175 | <hr/>The documentation for this struct was generated from the following file:<ul> |
| 176 | <li>turbojpeg.h</li> |
| 177 | </ul> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 178 | </div><!-- contents --> |
| 179 | <!-- start footer part --> |
| 180 | <hr class="footer"/><address class="footer"><small> |
DRC | ca866c4 | 2013-08-18 09:37:48 +0000 | [diff] [blame] | 181 | Generated by  <a href="http://www.doxygen.org/index.html"> |
DRC | a4a48ed | 2013-08-18 08:47:03 +0000 | [diff] [blame] | 182 | <img class="footer" src="doxygen.png" alt="doxygen"/> |
| 183 | </a> 1.8.3.1 |
| 184 | </small></address> |
DRC | 9b28def | 2011-05-21 14:37:15 +0000 | [diff] [blame] | 185 | </body> |
| 186 | </html> |