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: tjregion 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
tjregion Struct Reference
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5

Cropping region.

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
int x
shun-iwasawa 82a8f5
 The left boundary of the cropping region.  More...
shun-iwasawa 82a8f5
 
shun-iwasawa 82a8f5
int y
shun-iwasawa 82a8f5
 The upper boundary of the cropping region.  More...
shun-iwasawa 82a8f5
 
shun-iwasawa 82a8f5
int w
shun-iwasawa 82a8f5
 The width of the cropping region.  More...
shun-iwasawa 82a8f5
 
shun-iwasawa 82a8f5
int h
shun-iwasawa 82a8f5
 The height of the cropping region.  More...
shun-iwasawa 82a8f5
 
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5

Detailed Description

shun-iwasawa 82a8f5

Cropping region.

shun-iwasawa 82a8f5

Field Documentation

shun-iwasawa 82a8f5
shun-iwasawa 82a8f5

◆ h

shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
      
shun-iwasawa 82a8f5
        
shun-iwasawa 82a8f5
          int tjregion::h
shun-iwasawa 82a8f5
        
shun-iwasawa 82a8f5
      
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5

The height of the cropping region.

shun-iwasawa 82a8f5

Setting this to 0 is the equivalent of setting it to the height of the source JPEG image - y.

shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5

◆ w

shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
      
shun-iwasawa 82a8f5
        
shun-iwasawa 82a8f5
          int tjregion::w
shun-iwasawa 82a8f5
        
shun-iwasawa 82a8f5
      
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5

The width of the cropping region.

shun-iwasawa 82a8f5

Setting this to 0 is the equivalent of setting it to the width of the source JPEG image - x.

shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5

◆ x

shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
      
shun-iwasawa 82a8f5
        
shun-iwasawa 82a8f5
          int tjregion::x
shun-iwasawa 82a8f5
        
shun-iwasawa 82a8f5
      
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5

The left boundary of the cropping region.

shun-iwasawa 82a8f5

This must be evenly divisible by the MCU block width (see tjMCUWidth.)

shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5

◆ y

shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
      
shun-iwasawa 82a8f5
        
shun-iwasawa 82a8f5
          int tjregion::y
shun-iwasawa 82a8f5
        
shun-iwasawa 82a8f5
      
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5

The upper boundary of the cropping region.

shun-iwasawa 82a8f5

This must be evenly divisible by the MCU block height (see tjMCUHeight.)

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 doxygen 1.8.20
    shun-iwasawa 82a8f5
    shun-iwasawa 82a8f5
    shun-iwasawa 82a8f5