<ahref="cidx__manager_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/*</span></div>
<divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> * modification, are permitted provided that the following conditions</span></div>
<divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> * are met:</span></div>
<divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment"> * 1. Redistributions of source code must retain the above copyright</span></div>
<divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer.</span></div>
<divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div>
<divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer in the</span></div>
<divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment"> * documentation and/or other materials provided with the distribution.</span></div>
<divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'</span></div>
<divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="comment"> * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div>
<divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="comment"> * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div>
<divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="comment"> * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div>
<divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> <spanclass="comment"> * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="comment"> * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="comment"> * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> <spanclass="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></div>
<divclass="ttc"id="acio_8c_html_ae94657bc4ae96f252467a685168b94e1"><divclass="ttname"><ahref="cio_8c.html#ae94657bc4ae96f252467a685168b94e1">opj_stream_write_data</a></div><divclass="ttdeci">OPJ_SIZE_T opj_stream_write_data(opj_stream_private_t *p_stream, const OPJ_BYTE *p_buffer, OPJ_SIZE_T p_size, opj_event_mgr_t *p_event_mgr)</div><divclass="ttdoc">Writes some bytes to the stream.</div><divclass="ttdef"><b>Definition:</b> cio.c:385</div></div>
<divclass="ttc"id="aopj__malloc_8c_html_a3fe08bb7876e393dd04332d049a4d53e"><divclass="ttname"><ahref="opj__malloc_8c.html#a3fe08bb7876e393dd04332d049a4d53e">opj_calloc</a></div><divclass="ttdeci">void * opj_calloc(size_t num, size_t size)</div><divclass="ttdoc">Allocate a memory block with elements initialized to 0.</div><divclass="ttdef"><b>Definition:</b> opj_malloc.c:198</div></div>
<divclass="ttc"id="acidx__manager_8c_html_a032aff39cfba9760b736129a1e4edde7"><divclass="ttname"><ahref="cidx__manager_8c.html#a032aff39cfba9760b736129a1e4edde7">opj_write_cptr</a></div><divclass="ttdeci">void opj_write_cptr(int coff, int clen, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)</div><divclass="ttdef"><b>Definition:</b> cidx_manager.c:128</div></div>
<divclass="ttc"id="acio_8c_html_ac82f28130f72561ebd1a18b6bc84edb8"><divclass="ttname"><ahref="cio_8c.html#ac82f28130f72561ebd1a18b6bc84edb8">opj_stream_skip</a></div><divclass="ttdeci">OPJ_OFF_T opj_stream_skip(opj_stream_private_t *p_stream, OPJ_OFF_T p_size, opj_event_mgr_t *p_event_mgr)</div><divclass="ttdoc">Skips a number of bytes from the stream.</div><divclass="ttdef"><b>Definition:</b> cio.c:593</div></div>
<divclass="ttc"id="acio_8c_html_a9061d0624a17af80b74e1a114b0c7f06"><divclass="ttname"><ahref="cio_8c.html#a9061d0624a17af80b74e1a114b0c7f06">opj_stream_seek</a></div><divclass="ttdeci">OPJ_BOOL opj_stream_seek(opj_stream_private_t *p_stream, OPJ_OFF_T p_size, struct opj_event_mgr *p_event_mgr)</div><divclass="ttdoc">Seeks a number of bytes from the stream.</div><divclass="ttdef"><b>Definition:</b> cio.c:641</div></div>
<divclass="ttc"id="astructopj__event__mgr_html"><divclass="ttname"><ahref="structopj__event__mgr.html">opj_event_mgr</a></div><divclass="ttdoc">Message handler object used for.</div><divclass="ttdef"><b>Definition:</b> event.h:50</div></div>
<divclass="ttc"id="acio_8c_html_a5c59a39f3664f9deb654c269153c600a"><divclass="ttname"><ahref="cio_8c.html#a5c59a39f3664f9deb654c269153c600a">opj_stream_tell</a></div><divclass="ttdeci">OPJ_OFF_T opj_stream_tell(const opj_stream_private_t *p_stream)</div><divclass="ttdoc">Tells the byte offset on the stream (similar to ftell).</div><divclass="ttdef"><b>Definition:</b> cio.c:579</div></div>
<divclass="ttc"id="astructopj__marker__info_html_a49e93e2fc29eededa8b19b0bba31587b"><divclass="ttname"><ahref="structopj__marker__info.html#a49e93e2fc29eededa8b19b0bba31587b">opj_marker_info::len</a></div><divclass="ttdeci">int len</div><divclass="ttdoc">length, marker val included</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:788</div></div>
<divclass="ttc"id="astructopj__marker__info_html_ab57401f2f112c33a341f6aea5a8f01da"><divclass="ttname"><ahref="structopj__marker__info.html#ab57401f2f112c33a341f6aea5a8f01da">opj_marker_info::pos</a></div><divclass="ttdeci">OPJ_OFF_T pos</div><divclass="ttdoc">position in codestream</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:786</div></div>
<divclass="ttc"id="aopj__malloc_8c_html_a9d7d909f8dc1a2c23313c48645341e81"><divclass="ttname"><ahref="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free</a></div><divclass="ttdeci">void opj_free(void *ptr)</div><divclass="ttdoc">Deallocates or frees a memory block.</div><divclass="ttdef"><b>Definition:</b> opj_malloc.c:246</div></div>
<divclass="ttc"id="astructopj__marker__info_html_ac627b262c0e5f12d63556dc7b7af1b68"><divclass="ttname"><ahref="structopj__marker__info.html#ac627b262c0e5f12d63556dc7b7af1b68">opj_marker_info::type</a></div><divclass="ttdeci">unsigned short int type</div><divclass="ttdoc">marker type</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:784</div></div>
<divclass="ttc"id="astructopj__codestream__info_html"><divclass="ttname"><ahref="structopj__codestream__info.html">opj_codestream_info</a></div><divclass="ttdoc">Index structure of the codestream.</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:851</div></div>
<divclass="ttc"id="acio_8c_html_a5ddba22278152cac64cfbdcedca6b31f"><divclass="ttname"><ahref="cio_8c.html#a5ddba22278152cac64cfbdcedca6b31f">opj_stream_read_data</a></div><divclass="ttdeci">OPJ_SIZE_T opj_stream_read_data(opj_stream_private_t *p_stream, OPJ_BYTE *p_buffer, OPJ_SIZE_T p_size, opj_event_mgr_t *p_event_mgr)</div><divclass="ttdoc">Reads some bytes from the stream.</div><divclass="ttdef"><b>Definition:</b> cio.c:281</div></div>
<divclass="ttc"id="astructopj__codestream__info_html_a26d4a41815b198695fe004824e19569c"><divclass="ttname"><ahref="structopj__codestream__info.html#a26d4a41815b198695fe004824e19569c">opj_codestream_info::marknum</a></div><divclass="ttdeci">int marknum</div><divclass="ttdoc">number of markers</div><divclass="ttdef"><b>Definition:</b> openjpeg.h:884</div></div>