Edit

kc3-lang/libjpeg-turbo/doc/turbojpeg/structtjregion.html

Branch :

  • Show log

    Commit

  • Author : DRC
    Date : 2024-09-14 11:56:14
    Hash : 9b01f5a0
    Message : TJ: Add func/method for computing xformed buf size

  • doc/turbojpeg/structtjregion.html
  • <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
    <head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=11"/>
    <meta name="generator" content="Doxygen 1.9.8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>TurboJPEG: tjregion Struct Reference</title>
    <link href="tabs.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="dynsections.js"></script>
    <link href="search/search.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="search/searchdata.js"></script>
    <script type="text/javascript" src="search/search.js"></script>
    <link href="doxygen.css" rel="stylesheet" type="text/css" />
    <link href="doxygen-extra.css" rel="stylesheet" type="text/css"/>
    </head>
    <body>
    <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
    <div id="titlearea">
    <table cellspacing="0" cellpadding="0">
     <tbody>
     <tr id="projectrow">
      <td id="projectalign">
       <div id="projectname">TurboJPEG<span id="projectnumber">&#160;3.1</span>
       </div>
      </td>
     </tr>
     </tbody>
    </table>
    </div>
    <!-- end header part -->
    <!-- Generated by Doxygen 1.9.8 -->
    <script type="text/javascript">
    /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
    var searchBox = new SearchBox("searchBox", "search/",'.html');
    /* @license-end */
    </script>
    <script type="text/javascript" src="menudata.js"></script>
    <script type="text/javascript" src="menu.js"></script>
    <script type="text/javascript">
    /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
    $(function() {
      initMenu('',true,false,'search.php','Search');
      $(document).ready(function() { init_search(); });
    });
    /* @license-end */
    </script>
    <div id="main-nav"></div>
    <!-- window showing the filter options -->
    <div id="MSearchSelectWindow"
         onmouseover="return searchBox.OnSearchSelectShow()"
         onmouseout="return searchBox.OnSearchSelectHide()"
         onkeydown="return searchBox.OnSearchSelectKey(event)">
    </div>
    
    <!-- iframe showing the search results (closed by default) -->
    <div id="MSearchResultsWindow">
    <div id="MSearchResults">
    <div class="SRPage">
    <div id="SRIndex">
    <div id="SRResults"></div>
    <div class="SRStatus" id="Loading">Loading...</div>
    <div class="SRStatus" id="Searching">Searching...</div>
    <div class="SRStatus" id="NoMatches">No Matches</div>
    </div>
    </div>
    </div>
    </div>
    
    </div><!-- top -->
    <div class="header">
      <div class="summary">
    <a href="#pub-attribs">Data Fields</a>  </div>
      <div class="headertitle"><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>
    </div><!--header-->
    <div class="contents">
    
    <p>Cropping region.  
     <a href="structtjregion.html#details">More...</a></p>
    
    <p><code>#include &lt;turbojpeg.h&gt;</code></p>
    <table class="memberdecls">
    <tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
    Data Fields</h2></td></tr>
    <tr class="memitem:a4b6a37a93997091b26a75831fa291ad9" id="r_a4b6a37a93997091b26a75831fa291ad9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtjregion.html#a4b6a37a93997091b26a75831fa291ad9">x</a></td></tr>
    <tr class="memdesc:a4b6a37a93997091b26a75831fa291ad9"><td class="mdescLeft">&#160;</td><td class="mdescRight">The left boundary of the cropping region.  <br /></td></tr>
    <tr class="separator:a4b6a37a93997091b26a75831fa291ad9"><td class="memSeparator" colspan="2">&#160;</td></tr>
    <tr class="memitem:a7b3e0c24cfe87acc80e334cafdcf22c2" id="r_a7b3e0c24cfe87acc80e334cafdcf22c2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtjregion.html#a7b3e0c24cfe87acc80e334cafdcf22c2">y</a></td></tr>
    <tr class="memdesc:a7b3e0c24cfe87acc80e334cafdcf22c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">The upper boundary of the cropping region.  <br /></td></tr>
    <tr class="separator:a7b3e0c24cfe87acc80e334cafdcf22c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
    <tr class="memitem:ab6eb73ceef584fc23c8c8097926dce42" id="r_ab6eb73ceef584fc23c8c8097926dce42"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtjregion.html#ab6eb73ceef584fc23c8c8097926dce42">w</a></td></tr>
    <tr class="memdesc:ab6eb73ceef584fc23c8c8097926dce42"><td class="mdescLeft">&#160;</td><td class="mdescRight">The width of the cropping region.  <br /></td></tr>
    <tr class="separator:ab6eb73ceef584fc23c8c8097926dce42"><td class="memSeparator" colspan="2">&#160;</td></tr>
    <tr class="memitem:aecefc45a26f4d8b60dd4d825c1710115" id="r_aecefc45a26f4d8b60dd4d825c1710115"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtjregion.html#aecefc45a26f4d8b60dd4d825c1710115">h</a></td></tr>
    <tr class="memdesc:aecefc45a26f4d8b60dd4d825c1710115"><td class="mdescLeft">&#160;</td><td class="mdescRight">The height of the cropping region.  <br /></td></tr>
    <tr class="separator:aecefc45a26f4d8b60dd4d825c1710115"><td class="memSeparator" colspan="2">&#160;</td></tr>
    </table>
    <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
    <div class="textblock"><p>Cropping region. </p>
    </div><h2 class="groupheader">Field Documentation</h2>
    <a id="aecefc45a26f4d8b60dd4d825c1710115" name="aecefc45a26f4d8b60dd4d825c1710115"></a>
    <h2 class="memtitle"><span class="permalink"><a href="#aecefc45a26f4d8b60dd4d825c1710115">&#9670;&#160;</a></span>h</h2>
    
    <div class="memitem">
    <div class="memproto">
          <table class="memname">
            <tr>
              <td class="memname">int tjregion::h</td>
            </tr>
          </table>
    </div><div class="memdoc">
    
    <p>The height of the cropping region. </p>
    <p>Setting this to 0 is the equivalent of setting it to the height of the source JPEG image - y. </p>
    
    </div>
    </div>
    <a id="ab6eb73ceef584fc23c8c8097926dce42" name="ab6eb73ceef584fc23c8c8097926dce42"></a>
    <h2 class="memtitle"><span class="permalink"><a href="#ab6eb73ceef584fc23c8c8097926dce42">&#9670;&#160;</a></span>w</h2>
    
    <div class="memitem">
    <div class="memproto">
          <table class="memname">
            <tr>
              <td class="memname">int tjregion::w</td>
            </tr>
          </table>
    </div><div class="memdoc">
    
    <p>The width of the cropping region. </p>
    <p>Setting this to 0 is the equivalent of setting it to the width of the source JPEG image - x. </p>
    
    </div>
    </div>
    <a id="a4b6a37a93997091b26a75831fa291ad9" name="a4b6a37a93997091b26a75831fa291ad9"></a>
    <h2 class="memtitle"><span class="permalink"><a href="#a4b6a37a93997091b26a75831fa291ad9">&#9670;&#160;</a></span>x</h2>
    
    <div class="memitem">
    <div class="memproto">
          <table class="memname">
            <tr>
              <td class="memname">int tjregion::x</td>
            </tr>
          </table>
    </div><div class="memdoc">
    
    <p>The left boundary of the cropping region. </p>
    <p>For lossless transformation, this must be evenly divisible by the iMCU width (see <a class="el" href="group___turbo_j_p_e_g.html#ga9e61e7cd47a15a173283ba94e781308c" title="iMCU width (in pixels) for a given level of chrominance subsampling">tjMCUWidth</a>) of the destination image. For decompression, this must be evenly divisible by the scaled iMCU width of the source image. </p>
    
    </div>
    </div>
    <a id="a7b3e0c24cfe87acc80e334cafdcf22c2" name="a7b3e0c24cfe87acc80e334cafdcf22c2"></a>
    <h2 class="memtitle"><span class="permalink"><a href="#a7b3e0c24cfe87acc80e334cafdcf22c2">&#9670;&#160;</a></span>y</h2>
    
    <div class="memitem">
    <div class="memproto">
          <table class="memname">
            <tr>
              <td class="memname">int tjregion::y</td>
            </tr>
          </table>
    </div><div class="memdoc">
    
    <p>The upper boundary of the cropping region. </p>
    <p>For lossless transformation, this must be evenly divisible by the iMCU height (see <a class="el" href="group___turbo_j_p_e_g.html#gabd247bb9fecb393eca57366feb8327bf" title="iMCU height (in pixels) for a given level of chrominance subsampling">tjMCUHeight</a>) of the destination image. </p>
    
    </div>
    </div>
    <hr/>The documentation for this struct was generated from the following file:<ul>
    <li><b>turbojpeg.h</b></li>
    </ul>
    </div><!-- contents -->
    <!-- start footer part -->
    <hr class="footer"/><address class="footer"><small>
    Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
    </small></address>
    </body>
    </html>