File: //usr/share/doc/openjpeg-devel-1.5.1/html/structopj__cio.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>OpenJPEG: opj_cio 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="doxygen.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 style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">OpenJPEG
 <span id="projectnumber">1.5.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">opj_cio Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Byte input-output stream (CIO)
<a href="structopj__cio.html#details">More...</a></p>
<p><code>#include <<a class="el" href="openjpeg_8h_source.html">openjpeg.h</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a336283ce2ffa3d0f7f9434573c566af3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a79bc3ad805042ab2a878520bc0344973">opj_common_ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__cio.html#a336283ce2ffa3d0f7f9434573c566af3">cinfo</a></td></tr>
<tr class="memdesc:a336283ce2ffa3d0f7f9434573c566af3"><td class="mdescLeft"> </td><td class="mdescRight">codec context <a href="#a336283ce2ffa3d0f7f9434573c566af3">More...</a><br/></td></tr>
<tr class="separator:a336283ce2ffa3d0f7f9434573c566af3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a691e741daa6b821fcec92cb24751568c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__cio.html#a691e741daa6b821fcec92cb24751568c">openmode</a></td></tr>
<tr class="memdesc:a691e741daa6b821fcec92cb24751568c"><td class="mdescLeft"> </td><td class="mdescRight">open mode (read/write) either OPJ_STREAM_READ or OPJ_STREAM_WRITE <a href="#a691e741daa6b821fcec92cb24751568c">More...</a><br/></td></tr>
<tr class="separator:a691e741daa6b821fcec92cb24751568c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac481358bcce0088d5927db3f615bfd42"><td class="memItemLeft" align="right" valign="top">unsigned char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__cio.html#ac481358bcce0088d5927db3f615bfd42">buffer</a></td></tr>
<tr class="memdesc:ac481358bcce0088d5927db3f615bfd42"><td class="mdescLeft"> </td><td class="mdescRight">pointer to the start of the buffer <a href="#ac481358bcce0088d5927db3f615bfd42">More...</a><br/></td></tr>
<tr class="separator:ac481358bcce0088d5927db3f615bfd42"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac0381b1dbae424dcf87b20eb7f69e0f7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__cio.html#ac0381b1dbae424dcf87b20eb7f69e0f7">length</a></td></tr>
<tr class="memdesc:ac0381b1dbae424dcf87b20eb7f69e0f7"><td class="mdescLeft"> </td><td class="mdescRight">buffer size in bytes <a href="#ac0381b1dbae424dcf87b20eb7f69e0f7">More...</a><br/></td></tr>
<tr class="separator:ac0381b1dbae424dcf87b20eb7f69e0f7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acca55fc6a7b5a893f525c40b4731c46d"><td class="memItemLeft" align="right" valign="top">unsigned char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__cio.html#acca55fc6a7b5a893f525c40b4731c46d">start</a></td></tr>
<tr class="memdesc:acca55fc6a7b5a893f525c40b4731c46d"><td class="mdescLeft"> </td><td class="mdescRight">pointer to the start of the stream <a href="#acca55fc6a7b5a893f525c40b4731c46d">More...</a><br/></td></tr>
<tr class="separator:acca55fc6a7b5a893f525c40b4731c46d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a13c2b62ef5cb71bbc54a54de465f7990"><td class="memItemLeft" align="right" valign="top">unsigned char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__cio.html#a13c2b62ef5cb71bbc54a54de465f7990">end</a></td></tr>
<tr class="memdesc:a13c2b62ef5cb71bbc54a54de465f7990"><td class="mdescLeft"> </td><td class="mdescRight">pointer to the end of the stream <a href="#a13c2b62ef5cb71bbc54a54de465f7990">More...</a><br/></td></tr>
<tr class="separator:a13c2b62ef5cb71bbc54a54de465f7990"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5072132a1ee476f3ca40709525b5e795"><td class="memItemLeft" align="right" valign="top">unsigned char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__cio.html#a5072132a1ee476f3ca40709525b5e795">bp</a></td></tr>
<tr class="memdesc:a5072132a1ee476f3ca40709525b5e795"><td class="mdescLeft"> </td><td class="mdescRight">pointer to the current position <a href="#a5072132a1ee476f3ca40709525b5e795">More...</a><br/></td></tr>
<tr class="separator:a5072132a1ee476f3ca40709525b5e795"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Byte input-output stream (CIO) </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a5072132a1ee476f3ca40709525b5e795"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned char* opj_cio::bp</td>
</tr>
</table>
</div><div class="memdoc">
<p>pointer to the current position </p>
<p>Referenced by <a class="el" href="cio_8c.html#a87dde314fef4df5da49742b1fcf95114">cio_bytein()</a>, <a class="el" href="cio_8c.html#a163f803bfd507c73f50c40b470f5af4d">cio_byteout()</a>, <a class="el" href="group___c_i_o.html#ga54e57df69a6d8e6fc71fb10738e42f3d">cio_getbp()</a>, <a class="el" href="group___c_i_o.html#ga8d24773daf5c2d979eefa75fab51f4d3">cio_numbytesleft()</a>, <a class="el" href="openjpeg_8h.html#a26c1cb24b91b456cd3a35ba0e6375d3a">cio_seek()</a>, <a class="el" href="group___c_i_o.html#ga583438930d5a91cf737c26ee8e4b2160">cio_skip()</a>, <a class="el" href="openjpeg_8h.html#ac8d8546c869fbec72d1f64897d596c2f">cio_tell()</a>, <a class="el" href="group___j_p_w_l.html#gabbd3f0d16188d15b03b7c601e0851ed6">j2k_read_epb()</a>, <a class="el" href="group___j_p2.html#ga410ed6fb6edd1ca737ed21f990a1d62c">jp2_read_jp2h()</a>, <a class="el" href="group___j_p_w_l.html#gaf52ed0d07a2ac78fbb1714a42d762e29">jpwl_correct()</a>, <a class="el" href="group___j_p_w_l.html#gad8fb7652ba802f5810c264f66a2cbb4c">jpwl_dump_marks()</a>, <a class="el" href="group___j_p_w_l.html#gac9eeaa750b40bcdf4fd1f01059a535cc">jpwl_epb_correct()</a>, and <a class="el" href="openjpeg_8h.html#aef07abdc01483d8686d469373a775689">opj_cio_open()</a>.</p>
</div>
</div>
<a class="anchor" id="ac481358bcce0088d5927db3f615bfd42"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned char* opj_cio::buffer</td>
</tr>
</table>
</div><div class="memdoc">
<p>pointer to the start of the buffer </p>
<p>Referenced by <a class="el" href="group___j_p_w_l.html#gad8fb7652ba802f5810c264f66a2cbb4c">jpwl_dump_marks()</a>, <a class="el" href="openjpeg_8h.html#a92677af1fe4d50f2ebe3e3b21b2f4529">opj_cio_close()</a>, and <a class="el" href="openjpeg_8h.html#aef07abdc01483d8686d469373a775689">opj_cio_open()</a>.</p>
</div>
</div>
<a class="anchor" id="a336283ce2ffa3d0f7f9434573c566af3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a79bc3ad805042ab2a878520bc0344973">opj_common_ptr</a> opj_cio::cinfo</td>
</tr>
</table>
</div><div class="memdoc">
<p>codec context </p>
<p>Referenced by <a class="el" href="cio_8c.html#a87dde314fef4df5da49742b1fcf95114">cio_bytein()</a>, <a class="el" href="cio_8c.html#a163f803bfd507c73f50c40b470f5af4d">cio_byteout()</a>, <a class="el" href="openjpeg_8h.html#a26c1cb24b91b456cd3a35ba0e6375d3a">cio_seek()</a>, <a class="el" href="group___c_i_o.html#ga583438930d5a91cf737c26ee8e4b2160">cio_skip()</a>, <a class="el" href="group___j_p_w_l.html#gad8fb7652ba802f5810c264f66a2cbb4c">jpwl_dump_marks()</a>, and <a class="el" href="openjpeg_8h.html#aef07abdc01483d8686d469373a775689">opj_cio_open()</a>.</p>
</div>
</div>
<a class="anchor" id="a13c2b62ef5cb71bbc54a54de465f7990"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned char* opj_cio::end</td>
</tr>
</table>
</div><div class="memdoc">
<p>pointer to the end of the stream </p>
<p>Referenced by <a class="el" href="cio_8c.html#a87dde314fef4df5da49742b1fcf95114">cio_bytein()</a>, <a class="el" href="cio_8c.html#a163f803bfd507c73f50c40b470f5af4d">cio_byteout()</a>, <a class="el" href="group___c_i_o.html#ga8d24773daf5c2d979eefa75fab51f4d3">cio_numbytesleft()</a>, <a class="el" href="openjpeg_8h.html#a26c1cb24b91b456cd3a35ba0e6375d3a">cio_seek()</a>, <a class="el" href="group___c_i_o.html#ga583438930d5a91cf737c26ee8e4b2160">cio_skip()</a>, <a class="el" href="group___j_p2.html#ga410ed6fb6edd1ca737ed21f990a1d62c">jp2_read_jp2h()</a>, <a class="el" href="group___j_p_w_l.html#gaf52ed0d07a2ac78fbb1714a42d762e29">jpwl_correct()</a>, <a class="el" href="group___j_p_w_l.html#gad8fb7652ba802f5810c264f66a2cbb4c">jpwl_dump_marks()</a>, and <a class="el" href="openjpeg_8h.html#aef07abdc01483d8686d469373a775689">opj_cio_open()</a>.</p>
</div>
</div>
<a class="anchor" id="ac0381b1dbae424dcf87b20eb7f69e0f7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int opj_cio::length</td>
</tr>
</table>
</div><div class="memdoc">
<p>buffer size in bytes </p>
<p>Referenced by <a class="el" href="group___j_p_w_l.html#gaf52ed0d07a2ac78fbb1714a42d762e29">jpwl_correct()</a>, <a class="el" href="group___j_p_w_l.html#gad8fb7652ba802f5810c264f66a2cbb4c">jpwl_dump_marks()</a>, and <a class="el" href="openjpeg_8h.html#aef07abdc01483d8686d469373a775689">opj_cio_open()</a>.</p>
</div>
</div>
<a class="anchor" id="a691e741daa6b821fcec92cb24751568c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int opj_cio::openmode</td>
</tr>
</table>
</div><div class="memdoc">
<p>open mode (read/write) either OPJ_STREAM_READ or OPJ_STREAM_WRITE </p>
<p>Referenced by <a class="el" href="group___j_p_w_l.html#gad8fb7652ba802f5810c264f66a2cbb4c">jpwl_dump_marks()</a>, <a class="el" href="openjpeg_8h.html#a92677af1fe4d50f2ebe3e3b21b2f4529">opj_cio_close()</a>, and <a class="el" href="openjpeg_8h.html#aef07abdc01483d8686d469373a775689">opj_cio_open()</a>.</p>
</div>
</div>
<a class="anchor" id="acca55fc6a7b5a893f525c40b4731c46d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned char* opj_cio::start</td>
</tr>
</table>
</div><div class="memdoc">
<p>pointer to the start of the stream </p>
<p>Referenced by <a class="el" href="cio_8c.html#a87dde314fef4df5da49742b1fcf95114">cio_bytein()</a>, <a class="el" href="cio_8c.html#a163f803bfd507c73f50c40b470f5af4d">cio_byteout()</a>, <a class="el" href="openjpeg_8h.html#a26c1cb24b91b456cd3a35ba0e6375d3a">cio_seek()</a>, <a class="el" href="group___c_i_o.html#ga583438930d5a91cf737c26ee8e4b2160">cio_skip()</a>, <a class="el" href="openjpeg_8h.html#ac8d8546c869fbec72d1f64897d596c2f">cio_tell()</a>, <a class="el" href="group___j_p_w_l.html#gad8fb7652ba802f5810c264f66a2cbb4c">jpwl_dump_marks()</a>, and <a class="el" href="openjpeg_8h.html#aef07abdc01483d8686d469373a775689">opj_cio_open()</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="openjpeg_8h_source.html">openjpeg.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>