openjpeg/doxygen/cio_8c.html

1672 lines
118 KiB
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">
<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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenJPEG: cio.c File 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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">OpenJPEG
&#160;<span id="projectnumber">2.5.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_43e0a1f539e00dcfa1a6bc4d4fee4fc2.html">home</a></li><li class="navelem"><a class="el" href="dir_cb9b2b419d92b64f7cee83d8faf7a4ab.html">even</a></li><li class="navelem"><a class="el" href="dir_f75d9a0165d6564a1e04793ef847d41d.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_5f588d7ea139c1aae751d03c13a16064.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_378f732e812ef6cbaaae22e96a4fa79f.html">src</a></li><li class="navelem"><a class="el" href="dir_19dcb5713315405a27e1bde75a489a4c.html">lib</a></li><li class="navelem"><a class="el" href="dir_54e5bc4f0640fea590afaf04f4d9c88d.html">openjp2</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">cio.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="opj__includes_8h_source.html">opj_includes.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aa94d0663a3de41683f3635114eb42eed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#aa94d0663a3de41683f3635114eb42eed">opj_write_bytes_BE</a> (<a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_buffer, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_value, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_nb_bytes)</td></tr>
<tr class="memdesc:aa94d0663a3de41683f3635114eb42eed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write some bytes to the given data buffer, this function is used in Big Endian cpus. <a href="cio_8c.html#aa94d0663a3de41683f3635114eb42eed">More...</a><br /></td></tr>
<tr class="separator:aa94d0663a3de41683f3635114eb42eed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28ef412ebe86af560a05f44816b8c601"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a28ef412ebe86af560a05f44816b8c601">opj_write_bytes_LE</a> (<a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_buffer, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_value, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_nb_bytes)</td></tr>
<tr class="memdesc:a28ef412ebe86af560a05f44816b8c601"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write some bytes to the given data buffer, this function is used in Little Endian cpus. <a href="cio_8c.html#a28ef412ebe86af560a05f44816b8c601">More...</a><br /></td></tr>
<tr class="separator:a28ef412ebe86af560a05f44816b8c601"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f901a48ea910d97ff038f87d9256037"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a9f901a48ea910d97ff038f87d9256037">opj_read_bytes_BE</a> (const <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_buffer, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *p_value, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_nb_bytes)</td></tr>
<tr class="memdesc:a9f901a48ea910d97ff038f87d9256037"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads some bytes from the given data buffer, this function is used in Big Endian cpus. <a href="cio_8c.html#a9f901a48ea910d97ff038f87d9256037">More...</a><br /></td></tr>
<tr class="separator:a9f901a48ea910d97ff038f87d9256037"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af273fa2d61cb73738877a811e689dc88"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#af273fa2d61cb73738877a811e689dc88">opj_read_bytes_LE</a> (const <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_buffer, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *p_value, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> p_nb_bytes)</td></tr>
<tr class="memdesc:af273fa2d61cb73738877a811e689dc88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads some bytes from the given data buffer, this function is used in Little Endian cpus. <a href="cio_8c.html#af273fa2d61cb73738877a811e689dc88">More...</a><br /></td></tr>
<tr class="separator:af273fa2d61cb73738877a811e689dc88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0dee6cbee329301242f265d6e7851fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#ae0dee6cbee329301242f265d6e7851fa">opj_write_double_BE</a> (<a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_buffer, <a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> p_value)</td></tr>
<tr class="separator:ae0dee6cbee329301242f265d6e7851fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2083292c9469ca4a135521524784f89"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#ad2083292c9469ca4a135521524784f89">opj_write_double_LE</a> (<a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_buffer, <a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> p_value)</td></tr>
<tr class="memdesc:ad2083292c9469ca4a135521524784f89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write some bytes to the given data buffer, this function is used in Little Endian cpus. <a href="cio_8c.html#ad2083292c9469ca4a135521524784f89">More...</a><br /></td></tr>
<tr class="separator:ad2083292c9469ca4a135521524784f89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4f59dfe6fc6cb0d93ccf308e81727d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#af4f59dfe6fc6cb0d93ccf308e81727d3">opj_read_double_BE</a> (const <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_buffer, <a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> *p_value)</td></tr>
<tr class="memdesc:af4f59dfe6fc6cb0d93ccf308e81727d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads some bytes from the given data buffer, this function is used in Big Endian cpus. <a href="cio_8c.html#af4f59dfe6fc6cb0d93ccf308e81727d3">More...</a><br /></td></tr>
<tr class="separator:af4f59dfe6fc6cb0d93ccf308e81727d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adae00135fe98bea16876125f0898759a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#adae00135fe98bea16876125f0898759a">opj_read_double_LE</a> (const <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_buffer, <a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> *p_value)</td></tr>
<tr class="memdesc:adae00135fe98bea16876125f0898759a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads some bytes from the given data buffer, this function is used in Little Endian cpus. <a href="cio_8c.html#adae00135fe98bea16876125f0898759a">More...</a><br /></td></tr>
<tr class="separator:adae00135fe98bea16876125f0898759a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ea9737eccd7572e6389ca03ace79dd5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a4ea9737eccd7572e6389ca03ace79dd5">opj_write_float_BE</a> (<a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_buffer, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> p_value)</td></tr>
<tr class="separator:a4ea9737eccd7572e6389ca03ace79dd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1a8582ea72e8bfdf744b5af0b73863d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#ac1a8582ea72e8bfdf744b5af0b73863d">opj_write_float_LE</a> (<a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_buffer, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> p_value)</td></tr>
<tr class="memdesc:ac1a8582ea72e8bfdf744b5af0b73863d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write some bytes to the given data buffer, this function is used in Little Endian cpus. <a href="cio_8c.html#ac1a8582ea72e8bfdf744b5af0b73863d">More...</a><br /></td></tr>
<tr class="separator:ac1a8582ea72e8bfdf744b5af0b73863d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3c5b5fac8489e8fb4d1caecc98a8788"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#ae3c5b5fac8489e8fb4d1caecc98a8788">opj_read_float_BE</a> (const <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_buffer, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *p_value)</td></tr>
<tr class="memdesc:ae3c5b5fac8489e8fb4d1caecc98a8788"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads some bytes from the given data buffer, this function is used in Big Endian cpus. <a href="cio_8c.html#ae3c5b5fac8489e8fb4d1caecc98a8788">More...</a><br /></td></tr>
<tr class="separator:ae3c5b5fac8489e8fb4d1caecc98a8788"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01c575d71f35eb2eb2d0494567a11857"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a01c575d71f35eb2eb2d0494567a11857">opj_read_float_LE</a> (const <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_buffer, <a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *p_value)</td></tr>
<tr class="memdesc:a01c575d71f35eb2eb2d0494567a11857"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads some bytes from the given data buffer, this function is used in Little Endian cpus. <a href="cio_8c.html#a01c575d71f35eb2eb2d0494567a11857">More...</a><br /></td></tr>
<tr class="separator:a01c575d71f35eb2eb2d0494567a11857"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fb51f39980fb6bc1e15ef48a2fd1970"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a> *<a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a9fb51f39980fb6bc1e15ef48a2fd1970">opj_stream_create</a> (<a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> p_buffer_size, <a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> l_is_input)</td></tr>
<tr class="memdesc:a9fb51f39980fb6bc1e15ef48a2fd1970"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an abstract stream. <a href="cio_8c.html#a9fb51f39980fb6bc1e15ef48a2fd1970">More...</a><br /></td></tr>
<tr class="separator:a9fb51f39980fb6bc1e15ef48a2fd1970"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a903d03c70a9a5aa8deb0adc637520d5c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a> *<a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a903d03c70a9a5aa8deb0adc637520d5c">opj_stream_default_create</a> (<a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> l_is_input)</td></tr>
<tr class="memdesc:a903d03c70a9a5aa8deb0adc637520d5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an abstract stream. <a href="cio_8c.html#a903d03c70a9a5aa8deb0adc637520d5c">More...</a><br /></td></tr>
<tr class="separator:a903d03c70a9a5aa8deb0adc637520d5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0686c0048dfa2d2fcffaf649891ea58"><td class="memItemLeft" align="right" valign="top">void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#ac0686c0048dfa2d2fcffaf649891ea58">opj_stream_destroy</a> (<a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a> *p_stream)</td></tr>
<tr class="memdesc:ac0686c0048dfa2d2fcffaf649891ea58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys a stream created by opj_create_stream. <a href="cio_8c.html#ac0686c0048dfa2d2fcffaf649891ea58">More...</a><br /></td></tr>
<tr class="separator:ac0686c0048dfa2d2fcffaf649891ea58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab53adb04ecf0efbda2b1e066b5bad040"><td class="memItemLeft" align="right" valign="top">void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#ab53adb04ecf0efbda2b1e066b5bad040">opj_stream_set_read_function</a> (<a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a> *p_stream, <a class="el" href="openjpeg_8h.html#a8bb2e4d69989824fee3edc53370726a6">opj_stream_read_fn</a> p_function)</td></tr>
<tr class="memdesc:ab53adb04ecf0efbda2b1e066b5bad040"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given function to be used as a read function. <a href="cio_8c.html#ab53adb04ecf0efbda2b1e066b5bad040">More...</a><br /></td></tr>
<tr class="separator:ab53adb04ecf0efbda2b1e066b5bad040"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa693f609fb645fa540e37a6b2e7f597c"><td class="memItemLeft" align="right" valign="top">void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#aa693f609fb645fa540e37a6b2e7f597c">opj_stream_set_seek_function</a> (<a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a> *p_stream, <a class="el" href="openjpeg_8h.html#a27083300f8491e805c4b7e3f3abe245c">opj_stream_seek_fn</a> p_function)</td></tr>
<tr class="memdesc:aa693f609fb645fa540e37a6b2e7f597c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given function to be used as a seek function, the stream is then seekable, using SEEK_SET behavior. <a href="cio_8c.html#aa693f609fb645fa540e37a6b2e7f597c">More...</a><br /></td></tr>
<tr class="separator:aa693f609fb645fa540e37a6b2e7f597c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0b2d3c47f4dc68c3f52def9eb5fb752"><td class="memItemLeft" align="right" valign="top">void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#ae0b2d3c47f4dc68c3f52def9eb5fb752">opj_stream_set_write_function</a> (<a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a> *p_stream, <a class="el" href="openjpeg_8h.html#a5a43391a5d2fd7b09c6f1957b9ad0337">opj_stream_write_fn</a> p_function)</td></tr>
<tr class="memdesc:ae0b2d3c47f4dc68c3f52def9eb5fb752"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given function to be used as a write function. <a href="cio_8c.html#ae0b2d3c47f4dc68c3f52def9eb5fb752">More...</a><br /></td></tr>
<tr class="separator:ae0b2d3c47f4dc68c3f52def9eb5fb752"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05423b3e3cc5114cc845913e1079bdc3"><td class="memItemLeft" align="right" valign="top">void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a05423b3e3cc5114cc845913e1079bdc3">opj_stream_set_skip_function</a> (<a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a> *p_stream, <a class="el" href="openjpeg_8h.html#ae8918d618c0a2fe1447f70f036e4afd8">opj_stream_skip_fn</a> p_function)</td></tr>
<tr class="memdesc:a05423b3e3cc5114cc845913e1079bdc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given function to be used as a skip function. <a href="cio_8c.html#a05423b3e3cc5114cc845913e1079bdc3">More...</a><br /></td></tr>
<tr class="separator:a05423b3e3cc5114cc845913e1079bdc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c6a736dad88118ccefb3090a0a8bb40"><td class="memItemLeft" align="right" valign="top">void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a8c6a736dad88118ccefb3090a0a8bb40">opj_stream_set_user_data</a> (<a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a> *p_stream, void *p_data, <a class="el" href="openjpeg_8h.html#a0647bc8a4688ee69cd35ff71bc43145f">opj_stream_free_user_data_fn</a> p_function)</td></tr>
<tr class="memdesc:a8c6a736dad88118ccefb3090a0a8bb40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given data to be used as a user data for the stream. <a href="cio_8c.html#a8c6a736dad88118ccefb3090a0a8bb40">More...</a><br /></td></tr>
<tr class="separator:a8c6a736dad88118ccefb3090a0a8bb40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3a6d67f83a37ac57ace0580d05181e2"><td class="memItemLeft" align="right" valign="top">void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#ad3a6d67f83a37ac57ace0580d05181e2">opj_stream_set_user_data_length</a> (<a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a> *p_stream, <a class="el" href="openjpeg_8h.html#ad915cf26c4c9cc10a75b2d9287dbbb5e">OPJ_UINT64</a> data_length)</td></tr>
<tr class="memdesc:ad3a6d67f83a37ac57ace0580d05181e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the length of the user data for the stream. <a href="cio_8c.html#ad3a6d67f83a37ac57ace0580d05181e2">More...</a><br /></td></tr>
<tr class="separator:ad3a6d67f83a37ac57ace0580d05181e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ddba22278152cac64cfbdcedca6b31f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a5ddba22278152cac64cfbdcedca6b31f">opj_stream_read_data</a> (<a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream, <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_buffer, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> p_size, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_event_mgr)</td></tr>
<tr class="memdesc:a5ddba22278152cac64cfbdcedca6b31f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads some bytes from the stream. <a href="cio_8c.html#a5ddba22278152cac64cfbdcedca6b31f">More...</a><br /></td></tr>
<tr class="separator:a5ddba22278152cac64cfbdcedca6b31f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae94657bc4ae96f252467a685168b94e1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#ae94657bc4ae96f252467a685168b94e1">opj_stream_write_data</a> (<a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream, const <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *p_buffer, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> p_size, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_event_mgr)</td></tr>
<tr class="memdesc:ae94657bc4ae96f252467a685168b94e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes some bytes to the stream. <a href="cio_8c.html#ae94657bc4ae96f252467a685168b94e1">More...</a><br /></td></tr>
<tr class="separator:ae94657bc4ae96f252467a685168b94e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad58113d5b82692e59b0573e595c769dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#ad58113d5b82692e59b0573e595c769dc">opj_stream_flush</a> (<a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_event_mgr)</td></tr>
<tr class="memdesc:ad58113d5b82692e59b0573e595c769dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the content of the stream buffer to the stream. <a href="cio_8c.html#ad58113d5b82692e59b0573e595c769dc">More...</a><br /></td></tr>
<tr class="separator:ad58113d5b82692e59b0573e595c769dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae704215616c7b64bd9bc8c055a1c8880"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#ae704215616c7b64bd9bc8c055a1c8880">opj_stream_read_skip</a> (<a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream, <a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> p_size, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_event_mgr)</td></tr>
<tr class="memdesc:ae704215616c7b64bd9bc8c055a1c8880"><td class="mdescLeft">&#160;</td><td class="mdescRight">Skips a number of bytes from the stream. <a href="cio_8c.html#ae704215616c7b64bd9bc8c055a1c8880">More...</a><br /></td></tr>
<tr class="separator:ae704215616c7b64bd9bc8c055a1c8880"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46b77ecba8a4a0fa492b3451977d5f34"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a46b77ecba8a4a0fa492b3451977d5f34">opj_stream_write_skip</a> (<a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream, <a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> p_size, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_event_mgr)</td></tr>
<tr class="memdesc:a46b77ecba8a4a0fa492b3451977d5f34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Skips a number of bytes from the stream. <a href="cio_8c.html#a46b77ecba8a4a0fa492b3451977d5f34">More...</a><br /></td></tr>
<tr class="separator:a46b77ecba8a4a0fa492b3451977d5f34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c59a39f3664f9deb654c269153c600a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a5c59a39f3664f9deb654c269153c600a">opj_stream_tell</a> (const <a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream)</td></tr>
<tr class="memdesc:a5c59a39f3664f9deb654c269153c600a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells the byte offset on the stream (similar to ftell). <a href="cio_8c.html#a5c59a39f3664f9deb654c269153c600a">More...</a><br /></td></tr>
<tr class="separator:a5c59a39f3664f9deb654c269153c600a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec7225a845169469fd1aa8db2a3fac9e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#aec7225a845169469fd1aa8db2a3fac9e">opj_stream_get_number_byte_left</a> (const <a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream)</td></tr>
<tr class="memdesc:aec7225a845169469fd1aa8db2a3fac9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of bytes left before the end of the stream (similar to cio_numbytesleft). <a href="cio_8c.html#aec7225a845169469fd1aa8db2a3fac9e">More...</a><br /></td></tr>
<tr class="separator:aec7225a845169469fd1aa8db2a3fac9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac82f28130f72561ebd1a18b6bc84edb8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#ac82f28130f72561ebd1a18b6bc84edb8">opj_stream_skip</a> (<a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream, <a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> p_size, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_event_mgr)</td></tr>
<tr class="memdesc:ac82f28130f72561ebd1a18b6bc84edb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Skips a number of bytes from the stream. <a href="cio_8c.html#ac82f28130f72561ebd1a18b6bc84edb8">More...</a><br /></td></tr>
<tr class="separator:ac82f28130f72561ebd1a18b6bc84edb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40dc781eda7785ee2e585809845e4cae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a40dc781eda7785ee2e585809845e4cae">opj_stream_read_seek</a> (<a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream, <a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> p_size, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_event_mgr)</td></tr>
<tr class="memdesc:a40dc781eda7785ee2e585809845e4cae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Skips a number of bytes from the stream. <a href="cio_8c.html#a40dc781eda7785ee2e585809845e4cae">More...</a><br /></td></tr>
<tr class="separator:a40dc781eda7785ee2e585809845e4cae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a133b4f1bfcec7c5b1dfb20c12bd68795"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a133b4f1bfcec7c5b1dfb20c12bd68795">opj_stream_write_seek</a> (<a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream, <a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> p_size, <a class="el" href="event_8h.html#a9015b7726990d51ca282c8134b8eccdd">opj_event_mgr_t</a> *p_event_mgr)</td></tr>
<tr class="memdesc:a133b4f1bfcec7c5b1dfb20c12bd68795"><td class="mdescLeft">&#160;</td><td class="mdescRight">Skips a number of bytes from the stream. <a href="cio_8c.html#a133b4f1bfcec7c5b1dfb20c12bd68795">More...</a><br /></td></tr>
<tr class="separator:a133b4f1bfcec7c5b1dfb20c12bd68795"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9061d0624a17af80b74e1a114b0c7f06"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a9061d0624a17af80b74e1a114b0c7f06">opj_stream_seek</a> (<a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream, <a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> p_size, struct <a class="el" href="structopj__event__mgr.html">opj_event_mgr</a> *p_event_mgr)</td></tr>
<tr class="memdesc:a9061d0624a17af80b74e1a114b0c7f06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Seeks a number of bytes from the stream. <a href="cio_8c.html#a9061d0624a17af80b74e1a114b0c7f06">More...</a><br /></td></tr>
<tr class="separator:a9061d0624a17af80b74e1a114b0c7f06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae456419611db729983d8ca337e3f3293"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#ae456419611db729983d8ca337e3f3293">opj_stream_has_seek</a> (const <a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *p_stream)</td></tr>
<tr class="memdesc:ae456419611db729983d8ca337e3f3293"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells if the given stream is seekable. <a href="cio_8c.html#ae456419611db729983d8ca337e3f3293">More...</a><br /></td></tr>
<tr class="separator:ae456419611db729983d8ca337e3f3293"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad24645757cfda744ed8f4405f8e3b646"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#ad24645757cfda744ed8f4405f8e3b646">opj_stream_default_read</a> (void *p_buffer, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> p_nb_bytes, void *p_user_data)</td></tr>
<tr class="memdesc:ad24645757cfda744ed8f4405f8e3b646"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="cio_8c.html#ad24645757cfda744ed8f4405f8e3b646">More...</a><br /></td></tr>
<tr class="separator:ad24645757cfda744ed8f4405f8e3b646"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a691682240555fdcd433694bb49313957"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a691682240555fdcd433694bb49313957">opj_stream_default_write</a> (void *p_buffer, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> p_nb_bytes, void *p_user_data)</td></tr>
<tr class="memdesc:a691682240555fdcd433694bb49313957"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="cio_8c.html#a691682240555fdcd433694bb49313957">More...</a><br /></td></tr>
<tr class="separator:a691682240555fdcd433694bb49313957"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48c7c8450f5cdb6a063baa3e6de8ad8c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a48c7c8450f5cdb6a063baa3e6de8ad8c">opj_stream_default_skip</a> (<a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> p_nb_bytes, void *p_user_data)</td></tr>
<tr class="memdesc:a48c7c8450f5cdb6a063baa3e6de8ad8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="cio_8c.html#a48c7c8450f5cdb6a063baa3e6de8ad8c">More...</a><br /></td></tr>
<tr class="separator:a48c7c8450f5cdb6a063baa3e6de8ad8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52e44990c6b111efba20ffc05ac37d27"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cio_8c.html#a52e44990c6b111efba20ffc05ac37d27">opj_stream_default_seek</a> (<a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> p_nb_bytes, void *p_user_data)</td></tr>
<tr class="memdesc:a52e44990c6b111efba20ffc05ac37d27"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="cio_8c.html#a52e44990c6b111efba20ffc05ac37d27">More...</a><br /></td></tr>
<tr class="separator:a52e44990c6b111efba20ffc05ac37d27"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a9f901a48ea910d97ff038f87d9256037"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f901a48ea910d97ff038f87d9256037">&#9670;&nbsp;</a></span>opj_read_bytes_BE()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_read_bytes_BE </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *&#160;</td>
<td class="paramname"><em>p_value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>p_nb_bytes</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads some bytes from the given data buffer, this function is used in Big Endian cpus. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_buffer</td><td>pointer the data buffer to read data from. </td></tr>
<tr><td class="paramname">p_value</td><td>pointer to the value that will store the data. </td></tr>
<tr><td class="paramname">p_nb_bytes</td><td>the nb bytes to read. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of bytes read or -1 if an error occurred. </dd></dl>
</div>
</div>
<a id="af273fa2d61cb73738877a811e689dc88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af273fa2d61cb73738877a811e689dc88">&#9670;&nbsp;</a></span>opj_read_bytes_LE()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_read_bytes_LE </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> *&#160;</td>
<td class="paramname"><em>p_value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>p_nb_bytes</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads some bytes from the given data buffer, this function is used in Little Endian cpus. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_buffer</td><td>pointer the data buffer to read data from. </td></tr>
<tr><td class="paramname">p_value</td><td>pointer to the value that will store the data. </td></tr>
<tr><td class="paramname">p_nb_bytes</td><td>the nb bytes to read. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of bytes read or -1 if an error occurred. </dd></dl>
</div>
</div>
<a id="af4f59dfe6fc6cb0d93ccf308e81727d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4f59dfe6fc6cb0d93ccf308e81727d3">&#9670;&nbsp;</a></span>opj_read_double_BE()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_read_double_BE </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> *&#160;</td>
<td class="paramname"><em>p_value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads some bytes from the given data buffer, this function is used in Big Endian cpus. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_buffer</td><td>pointer the data buffer to read data from. </td></tr>
<tr><td class="paramname">p_value</td><td>pointer to the value that will store the data. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="adae00135fe98bea16876125f0898759a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adae00135fe98bea16876125f0898759a">&#9670;&nbsp;</a></span>opj_read_double_LE()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_read_double_LE </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> *&#160;</td>
<td class="paramname"><em>p_value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads some bytes from the given data buffer, this function is used in Little Endian cpus. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_buffer</td><td>pointer the data buffer to read data from. </td></tr>
<tr><td class="paramname">p_value</td><td>pointer to the value that will store the data. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ae3c5b5fac8489e8fb4d1caecc98a8788"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3c5b5fac8489e8fb4d1caecc98a8788">&#9670;&nbsp;</a></span>opj_read_float_BE()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_read_float_BE </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *&#160;</td>
<td class="paramname"><em>p_value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads some bytes from the given data buffer, this function is used in Big Endian cpus. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_buffer</td><td>pointer the data buffer to read data from. </td></tr>
<tr><td class="paramname">p_value</td><td>pointer to the value that will store the data. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a01c575d71f35eb2eb2d0494567a11857"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01c575d71f35eb2eb2d0494567a11857">&#9670;&nbsp;</a></span>opj_read_float_LE()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_read_float_LE </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a> *&#160;</td>
<td class="paramname"><em>p_value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads some bytes from the given data buffer, this function is used in Little Endian cpus. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_buffer</td><td>pointer the data buffer to read data from. </td></tr>
<tr><td class="paramname">p_value</td><td>pointer to the value that will store the data. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a9fb51f39980fb6bc1e15ef48a2fd1970"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9fb51f39980fb6bc1e15ef48a2fd1970">&#9670;&nbsp;</a></span>opj_stream_create()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a>* <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> opj_stream_create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td>
<td class="paramname"><em>p_buffer_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td>
<td class="paramname"><em>p_is_input</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates an abstract stream. </p>
<p>This function does nothing except allocating memory and initializing the abstract stream.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_buffer_size</td><td>FIXME DOC </td></tr>
<tr><td class="paramname">p_is_input</td><td>if set to true then the stream will be an input stream, an output stream else.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a stream object. </dd></dl>
<p class="reference">References <a class="el" href="structopj__stream__private.html#a83e54b51fe859e0aa93ebf292edf054c">opj_stream_private::m_buffer_size</a>, <a class="el" href="structopj__stream__private.html#a954a54c078a817c3eeffd66b45419cfc">opj_stream_private::m_current_data</a>, <a class="el" href="structopj__stream__private.html#a7cb7f7bab15475f5547f684049c41cf7">opj_stream_private::m_opj_seek</a>, <a class="el" href="structopj__stream__private.html#a2a6abddd3fd66514df26494a1d7a0090">opj_stream_private::m_opj_skip</a>, <a class="el" href="structopj__stream__private.html#acce2d2187feff70fa3057b0439591f76">opj_stream_private::m_read_fn</a>, <a class="el" href="structopj__stream__private.html#adab26f9f0a32253aefdce763331c641a">opj_stream_private::m_seek_fn</a>, <a class="el" href="structopj__stream__private.html#a2ca719761a9cd88dc350486e38b41790">opj_stream_private::m_skip_fn</a>, <a class="el" href="structopj__stream__private.html#ac2b84e72997fde0bf510faf6c8df5798">opj_stream_private::m_status</a>, <a class="el" href="structopj__stream__private.html#aca072a59b683dc106263ba04d3c28577">opj_stream_private::m_stored_data</a>, <a class="el" href="structopj__stream__private.html#aacd57b4e429ddf5ca3a4913a2f963d6a">opj_stream_private::m_write_fn</a>, <a class="el" href="opj__malloc_8c.html#a3fe08bb7876e393dd04332d049a4d53e">opj_calloc()</a>, <a class="el" href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>, <a class="el" href="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="cio_8c.html#ad24645757cfda744ed8f4405f8e3b646">opj_stream_default_read()</a>, <a class="el" href="cio_8c.html#a52e44990c6b111efba20ffc05ac37d27">opj_stream_default_seek()</a>, <a class="el" href="cio_8c.html#a48c7c8450f5cdb6a063baa3e6de8ad8c">opj_stream_default_skip()</a>, <a class="el" href="cio_8c.html#a691682240555fdcd433694bb49313957">opj_stream_default_write()</a>, <a class="el" href="cio_8c.html#a40dc781eda7785ee2e585809845e4cae">opj_stream_read_seek()</a>, <a class="el" href="cio_8c.html#ae704215616c7b64bd9bc8c055a1c8880">opj_stream_read_skip()</a>, <a class="el" href="cio_8h.html#a5a5e3ba200c5f131b10139112d1fe318">OPJ_STREAM_STATUS_INPUT</a>, <a class="el" href="cio_8h.html#a67983adbcb291d3840f15cae7e1b0625">OPJ_STREAM_STATUS_OUTPUT</a>, <a class="el" href="cio_8c.html#a133b4f1bfcec7c5b1dfb20c12bd68795">opj_stream_write_seek()</a>, and <a class="el" href="cio_8c.html#a46b77ecba8a4a0fa492b3451977d5f34">opj_stream_write_skip()</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a6d339df3cc8521962a1c03ed421f140a">opj_stream_create_file_stream()</a>, and <a class="el" href="openjpeg_8h.html#ab689cd31c6861d9737acabbba2172d21">opj_stream_default_create()</a>.</p>
</div>
</div>
<a id="a903d03c70a9a5aa8deb0adc637520d5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a903d03c70a9a5aa8deb0adc637520d5c">&#9670;&nbsp;</a></span>opj_stream_default_create()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a>* <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> opj_stream_default_create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a>&#160;</td>
<td class="paramname"><em>p_is_input</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates an abstract stream. </p>
<p>This function does nothing except allocating memory and initializing the abstract stream.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_is_input</td><td>if set to true then the stream will be an input stream, an output stream else.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a stream object. </dd></dl>
<p class="reference">References <a class="el" href="openjpeg_8h.html#afdf81a086aee04619038f70556971284">OPJ_J2K_STREAM_CHUNK_SIZE</a>, and <a class="el" href="cio_8c.html#a9fb51f39980fb6bc1e15ef48a2fd1970">opj_stream_create()</a>.</p>
</div>
</div>
<a id="ad24645757cfda744ed8f4405f8e3b646"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad24645757cfda744ed8f4405f8e3b646">&#9670;&nbsp;</a></span>opj_stream_default_read()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> opj_stream_default_read </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>p_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td>
<td class="paramname"><em>p_nb_bytes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>p_user_data</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>FIXME DOC. </p>
<p class="reference">References <a class="el" href="openjpeg_8h.html#a802696e43e0ad059cfb3310cb5b073bb">OPJ_ARG_NOT_USED</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a5ceb2a40ddd3b69cdc183e1373257091">opj_stream_create()</a>.</p>
</div>
</div>
<a id="a52e44990c6b111efba20ffc05ac37d27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52e44990c6b111efba20ffc05ac37d27">&#9670;&nbsp;</a></span>opj_stream_default_seek()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_stream_default_seek </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a>&#160;</td>
<td class="paramname"><em>p_nb_bytes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>p_user_data</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>FIXME DOC. </p>
<p class="reference">References <a class="el" href="openjpeg_8h.html#a802696e43e0ad059cfb3310cb5b073bb">OPJ_ARG_NOT_USED</a>, and <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a5ceb2a40ddd3b69cdc183e1373257091">opj_stream_create()</a>, and <a class="el" href="cio_8h.html#ae456419611db729983d8ca337e3f3293">opj_stream_has_seek()</a>.</p>
</div>
</div>
<a id="a48c7c8450f5cdb6a063baa3e6de8ad8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48c7c8450f5cdb6a063baa3e6de8ad8c">&#9670;&nbsp;</a></span>opj_stream_default_skip()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> opj_stream_default_skip </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a>&#160;</td>
<td class="paramname"><em>p_nb_bytes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>p_user_data</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>FIXME DOC. </p>
<p class="reference">References <a class="el" href="openjpeg_8h.html#a802696e43e0ad059cfb3310cb5b073bb">OPJ_ARG_NOT_USED</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a5ceb2a40ddd3b69cdc183e1373257091">opj_stream_create()</a>.</p>
</div>
</div>
<a id="a691682240555fdcd433694bb49313957"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a691682240555fdcd433694bb49313957">&#9670;&nbsp;</a></span>opj_stream_default_write()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> opj_stream_default_write </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>p_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td>
<td class="paramname"><em>p_nb_bytes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>p_user_data</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>FIXME DOC. </p>
<p class="reference">References <a class="el" href="openjpeg_8h.html#a802696e43e0ad059cfb3310cb5b073bb">OPJ_ARG_NOT_USED</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a5ceb2a40ddd3b69cdc183e1373257091">opj_stream_create()</a>.</p>
</div>
</div>
<a id="ac0686c0048dfa2d2fcffaf649891ea58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0686c0048dfa2d2fcffaf649891ea58">&#9670;&nbsp;</a></span>opj_stream_destroy()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> opj_stream_destroy </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destroys a stream created by opj_create_stream. </p>
<p>This function does NOT close the abstract stream. If needed the user must close its own implementation of the stream.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to destroy. </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__stream__private.html#a262bea0d39f7c5a0bd5ef07434e38723">opj_stream_private::m_free_user_data_fn</a>, <a class="el" href="structopj__stream__private.html#aca072a59b683dc106263ba04d3c28577">opj_stream_private::m_stored_data</a>, <a class="el" href="structopj__stream__private.html#a326f2fe5dc1fccce2788bf09ddf4931c">opj_stream_private::m_user_data</a>, and <a class="el" href="opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81">opj_free()</a>.</p>
<p class="reference">Referenced by <a class="el" href="jp2k__decoder_8h.html#a261799e8487d1b77fc04948abe701e5f">j2k_to_pnm()</a>.</p>
</div>
</div>
<a id="ad58113d5b82692e59b0573e595c769dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad58113d5b82692e59b0573e595c769dc">&#9670;&nbsp;</a></span>opj_stream_flush()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_stream_flush </td>
<td>(</td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">struct <a class="el" href="structopj__event__mgr.html">opj_event_mgr</a> *&#160;</td>
<td class="paramname"><em>p_event_mgr</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the content of the stream buffer to the stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to write data to. </td></tr>
<tr><td class="paramname">p_event_mgr</td><td>the user event manager to be notified of special events. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the data could be flushed, false else. </dd></dl>
<p class="reference">References <a class="el" href="event_8h.html#a220921068c5e3c97c8f2ad4db0c60726">EVT_INFO</a>, <a class="el" href="structopj__stream__private.html#a8bbf688a608e52a52d1cf89c7103ac5b">opj_stream_private::m_bytes_in_buffer</a>, <a class="el" href="structopj__stream__private.html#a954a54c078a817c3eeffd66b45419cfc">opj_stream_private::m_current_data</a>, <a class="el" href="structopj__stream__private.html#ac2b84e72997fde0bf510faf6c8df5798">opj_stream_private::m_status</a>, <a class="el" href="structopj__stream__private.html#aca072a59b683dc106263ba04d3c28577">opj_stream_private::m_stored_data</a>, <a class="el" href="structopj__stream__private.html#a326f2fe5dc1fccce2788bf09ddf4931c">opj_stream_private::m_user_data</a>, <a class="el" href="structopj__stream__private.html#aacd57b4e429ddf5ca3a4913a2f963d6a">opj_stream_private::m_write_fn</a>, <a class="el" href="event_8c.html#a80a24e8c6d24861cd2403e48a7c2591e">opj_event_msg()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="cio_8h.html#a22026ba692e26b82a0bcc3ffd350f1e7">OPJ_STREAM_STATUS_ERROR</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
<p class="reference">Referenced by <a class="el" href="j2k_8c.html#a5c2c5700c7722ca09f2a20e63bbd7bc0">opj_j2k_write_eoc()</a>, <a class="el" href="cio_8h.html#a8f590493a14f4e33a1e2bbcf8eaa889d">opj_stream_write_data()</a>, <a class="el" href="cio_8h.html#aa87066c3ad9c71a3b2e7725d111188b9">opj_stream_write_seek()</a>, and <a class="el" href="cio_8h.html#a9e71a30be5af724e31c50066b7ff1128">opj_stream_write_skip()</a>.</p>
</div>
</div>
<a id="aec7225a845169469fd1aa8db2a3fac9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec7225a845169469fd1aa8db2a3fac9e">&#9670;&nbsp;</a></span>opj_stream_get_number_byte_left()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> opj_stream_get_number_byte_left </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the number of bytes left before the end of the stream (similar to cio_numbytesleft). </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to get the information from.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Number of bytes left before the end of the stream. </dd></dl>
<p class="reference">References <a class="el" href="structopj__stream__private.html#a5c0c669ab30776a58afc458b7f33a75b">opj_stream_private::m_byte_offset</a>, and <a class="el" href="structopj__stream__private.html#a53cb7b3992a382231554bdc73cb0c7bd">opj_stream_private::m_user_data_length</a>.</p>
<p class="reference">Referenced by <a class="el" href="j2k_8h.html#a589edf58bf96de0a09b6104b6f5c13e8">opj_j2k_decode_tile()</a>, <a class="el" href="j2k_8c.html#a7b5ed63aa196941746a348042a55dda3">opj_j2k_decode_tiles()</a>, <a class="el" href="j2k_8c.html#af1ac6b62e18b03816163369ec3a81eff">opj_j2k_read_sod()</a>, <a class="el" href="j2k_8h.html#a25b7b51949ceea33515984f1db2f594d">opj_j2k_read_tile_header()</a>, <a class="el" href="jp2_8c.html#a1f64703b3fbabfa7ad87ea693a990218">opj_jp2_read_boxhdr()</a>, and <a class="el" href="jp2_8c.html#adcd6dc192302ff32ffbaa079c01a66d8">opj_jp2_read_header_procedure()</a>.</p>
</div>
</div>
<a id="ae456419611db729983d8ca337e3f3293"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae456419611db729983d8ca337e3f3293">&#9670;&nbsp;</a></span>opj_stream_has_seek()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_stream_has_seek </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Tells if the given stream is seekable. </p>
<p class="reference">References <a class="el" href="structopj__stream__private.html#adab26f9f0a32253aefdce763331c641a">opj_stream_private::m_seek_fn</a>, and <a class="el" href="cio_8c.html#a52e44990c6b111efba20ffc05ac37d27">opj_stream_default_seek()</a>.</p>
<p class="reference">Referenced by <a class="el" href="j2k_8c.html#ab826458121cf85e37db0f19ba5d38551">opj_j2k_need_nb_tile_parts_correction()</a>, <a class="el" href="jp2_8c.html#acfb9b48b3d99eff4f6355dda79c645c5">opj_jp2_default_validation()</a>, and <a class="el" href="jp2_8c.html#a2e03aa1e225c059d34fc34a11ffc48fc">opj_jp2_write_jp2c()</a>.</p>
</div>
</div>
<a id="a5ddba22278152cac64cfbdcedca6b31f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ddba22278152cac64cfbdcedca6b31f">&#9670;&nbsp;</a></span>opj_stream_read_data()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> opj_stream_read_data </td>
<td>(</td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td>
<td class="paramname"><em>p_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">struct <a class="el" href="structopj__event__mgr.html">opj_event_mgr</a> *&#160;</td>
<td class="paramname"><em>p_event_mgr</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads some bytes from the stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to read data from. </td></tr>
<tr><td class="paramname">p_buffer</td><td>pointer to the data buffer that will receive the data. </td></tr>
<tr><td class="paramname">p_size</td><td>number of bytes to read. </td></tr>
<tr><td class="paramname">p_event_mgr</td><td>the user event manager to be notified of special events. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of bytes read, or -1 if an error occurred or if the stream is at the end. </dd></dl>
<p class="reference">References <a class="el" href="event_8h.html#a220921068c5e3c97c8f2ad4db0c60726">EVT_INFO</a>, <a class="el" href="structopj__stream__private.html#a83e54b51fe859e0aa93ebf292edf054c">opj_stream_private::m_buffer_size</a>, <a class="el" href="structopj__stream__private.html#a5c0c669ab30776a58afc458b7f33a75b">opj_stream_private::m_byte_offset</a>, <a class="el" href="structopj__stream__private.html#a8bbf688a608e52a52d1cf89c7103ac5b">opj_stream_private::m_bytes_in_buffer</a>, <a class="el" href="structopj__stream__private.html#a954a54c078a817c3eeffd66b45419cfc">opj_stream_private::m_current_data</a>, <a class="el" href="structopj__stream__private.html#acce2d2187feff70fa3057b0439591f76">opj_stream_private::m_read_fn</a>, <a class="el" href="structopj__stream__private.html#ac2b84e72997fde0bf510faf6c8df5798">opj_stream_private::m_status</a>, <a class="el" href="structopj__stream__private.html#aca072a59b683dc106263ba04d3c28577">opj_stream_private::m_stored_data</a>, <a class="el" href="structopj__stream__private.html#a326f2fe5dc1fccce2788bf09ddf4931c">opj_stream_private::m_user_data</a>, <a class="el" href="event_8c.html#a80a24e8c6d24861cd2403e48a7c2591e">opj_event_msg()</a>, and <a class="el" href="cio_8h.html#a45e61e0cd55c2699d95d3e7c5458f467">OPJ_STREAM_STATUS_END</a>.</p>
<p class="reference">Referenced by <a class="el" href="cidx__manager_8h.html#ab67c4291dded54c0ca21a721f3ae25c9">opj_check_EPHuse()</a>, <a class="el" href="j2k_8h.html#a589edf58bf96de0a09b6104b6f5c13e8">opj_j2k_decode_tile()</a>, <a class="el" href="j2k_8c.html#ab826458121cf85e37db0f19ba5d38551">opj_j2k_need_nb_tile_parts_correction()</a>, <a class="el" href="j2k_8c.html#a445c467bde1da70f07c2cdcd3ffbc25c">opj_j2k_read_header_procedure()</a>, <a class="el" href="j2k_8c.html#a4a8ad30a3df7afe15c5377a6f673f911">opj_j2k_read_soc()</a>, <a class="el" href="j2k_8c.html#af1ac6b62e18b03816163369ec3a81eff">opj_j2k_read_sod()</a>, <a class="el" href="j2k_8h.html#a25b7b51949ceea33515984f1db2f594d">opj_j2k_read_tile_header()</a>, <a class="el" href="j2k_8c.html#a2ca5884edbdd20eb06972c426cfaa25e">opj_j2k_read_unk()</a>, <a class="el" href="jp2_8c.html#a1f64703b3fbabfa7ad87ea693a990218">opj_jp2_read_boxhdr()</a>, and <a class="el" href="jp2_8c.html#adcd6dc192302ff32ffbaa079c01a66d8">opj_jp2_read_header_procedure()</a>.</p>
</div>
</div>
<a id="a40dc781eda7785ee2e585809845e4cae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40dc781eda7785ee2e585809845e4cae">&#9670;&nbsp;</a></span>opj_stream_read_seek()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_stream_read_seek </td>
<td>(</td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a>&#160;</td>
<td class="paramname"><em>p_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">struct <a class="el" href="structopj__event__mgr.html">opj_event_mgr</a> *&#160;</td>
<td class="paramname"><em>p_event_mgr</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Skips a number of bytes from the stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to skip data from. </td></tr>
<tr><td class="paramname">p_size</td><td>the number of bytes to skip. </td></tr>
<tr><td class="paramname">p_event_mgr</td><td>the user event manager to be notified of special events. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OPJ_TRUE if success, or OPJ_FALSE if an error occurred. </dd></dl>
<p class="reference">References <a class="el" href="structopj__stream__private.html#a5c0c669ab30776a58afc458b7f33a75b">opj_stream_private::m_byte_offset</a>, <a class="el" href="structopj__stream__private.html#a8bbf688a608e52a52d1cf89c7103ac5b">opj_stream_private::m_bytes_in_buffer</a>, <a class="el" href="structopj__stream__private.html#a954a54c078a817c3eeffd66b45419cfc">opj_stream_private::m_current_data</a>, <a class="el" href="structopj__stream__private.html#adab26f9f0a32253aefdce763331c641a">opj_stream_private::m_seek_fn</a>, <a class="el" href="structopj__stream__private.html#ac2b84e72997fde0bf510faf6c8df5798">opj_stream_private::m_status</a>, <a class="el" href="structopj__stream__private.html#aca072a59b683dc106263ba04d3c28577">opj_stream_private::m_stored_data</a>, <a class="el" href="structopj__stream__private.html#a326f2fe5dc1fccce2788bf09ddf4931c">opj_stream_private::m_user_data</a>, <a class="el" href="openjpeg_8h.html#a802696e43e0ad059cfb3310cb5b073bb">OPJ_ARG_NOT_USED</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="cio_8h.html#a45e61e0cd55c2699d95d3e7c5458f467">OPJ_STREAM_STATUS_END</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
<p class="reference">Referenced by <a class="el" href="j2k_8c.html#ae310be1158fc90d77b9f4bd2711069d2">opj_j2k_decode_one_tile()</a>, <a class="el" href="openjpeg_8h.html#a5ceb2a40ddd3b69cdc183e1373257091">opj_stream_create()</a>, and <a class="el" href="cio_8h.html#a092c8153f29a4137728c6d79165c7e51">opj_stream_read_skip()</a>.</p>
</div>
</div>
<a id="ae704215616c7b64bd9bc8c055a1c8880"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae704215616c7b64bd9bc8c055a1c8880">&#9670;&nbsp;</a></span>opj_stream_read_skip()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> opj_stream_read_skip </td>
<td>(</td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a>&#160;</td>
<td class="paramname"><em>p_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">struct <a class="el" href="structopj__event__mgr.html">opj_event_mgr</a> *&#160;</td>
<td class="paramname"><em>p_event_mgr</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Skips a number of bytes from the stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to skip data from. </td></tr>
<tr><td class="paramname">p_size</td><td>the number of bytes to skip. </td></tr>
<tr><td class="paramname">p_event_mgr</td><td>the user event manager to be notified of special events. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of bytes skipped, or -1 if an error occurred. </dd></dl>
<p class="reference">References <a class="el" href="event_8h.html#a220921068c5e3c97c8f2ad4db0c60726">EVT_INFO</a>, <a class="el" href="structopj__stream__private.html#a5c0c669ab30776a58afc458b7f33a75b">opj_stream_private::m_byte_offset</a>, <a class="el" href="structopj__stream__private.html#a8bbf688a608e52a52d1cf89c7103ac5b">opj_stream_private::m_bytes_in_buffer</a>, <a class="el" href="structopj__stream__private.html#a954a54c078a817c3eeffd66b45419cfc">opj_stream_private::m_current_data</a>, <a class="el" href="structopj__stream__private.html#a2ca719761a9cd88dc350486e38b41790">opj_stream_private::m_skip_fn</a>, <a class="el" href="structopj__stream__private.html#ac2b84e72997fde0bf510faf6c8df5798">opj_stream_private::m_status</a>, <a class="el" href="structopj__stream__private.html#aca072a59b683dc106263ba04d3c28577">opj_stream_private::m_stored_data</a>, <a class="el" href="structopj__stream__private.html#a326f2fe5dc1fccce2788bf09ddf4931c">opj_stream_private::m_user_data</a>, <a class="el" href="structopj__stream__private.html#a53cb7b3992a382231554bdc73cb0c7bd">opj_stream_private::m_user_data_length</a>, <a class="el" href="event_8c.html#a80a24e8c6d24861cd2403e48a7c2591e">opj_event_msg()</a>, <a class="el" href="cio_8c.html#a40dc781eda7785ee2e585809845e4cae">opj_stream_read_seek()</a>, and <a class="el" href="cio_8h.html#a45e61e0cd55c2699d95d3e7c5458f467">OPJ_STREAM_STATUS_END</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a5ceb2a40ddd3b69cdc183e1373257091">opj_stream_create()</a>.</p>
</div>
</div>
<a id="a9061d0624a17af80b74e1a114b0c7f06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9061d0624a17af80b74e1a114b0c7f06">&#9670;&nbsp;</a></span>opj_stream_seek()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_stream_seek </td>
<td>(</td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a>&#160;</td>
<td class="paramname"><em>p_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">struct <a class="el" href="structopj__event__mgr.html">opj_event_mgr</a> *&#160;</td>
<td class="paramname"><em>p_event_mgr</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Seeks a number of bytes from the stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to skip data from. </td></tr>
<tr><td class="paramname">p_size</td><td>the number of bytes to skip. </td></tr>
<tr><td class="paramname">p_event_mgr</td><td>the user event manager to be notified of special events. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the stream is seekable. </dd></dl>
<p class="reference">References <a class="el" href="structopj__stream__private.html#a7cb7f7bab15475f5547f684049c41cf7">opj_stream_private::m_opj_seek</a>.</p>
<p class="reference">Referenced by <a class="el" href="cidx__manager_8h.html#ab67c4291dded54c0ca21a721f3ae25c9">opj_check_EPHuse()</a>, <a class="el" href="j2k_8c.html#ab826458121cf85e37db0f19ba5d38551">opj_j2k_need_nb_tile_parts_correction()</a>, <a class="el" href="j2k_8c.html#a6730546ed531621b7950bd7d07589c80">opj_j2k_write_updated_tlm()</a>, <a class="el" href="jp2_8c.html#a2e03aa1e225c059d34fc34a11ffc48fc">opj_jp2_write_jp2c()</a>, <a class="el" href="cidx__manager_8h.html#ac7ecf358e9a5d8bdff7e26b4726aba20">opj_write_cidx()</a>, <a class="el" href="cidx__manager_8c.html#a032aff39cfba9760b736129a1e4edde7">opj_write_cptr()</a>, <a class="el" href="indexbox__manager_8h.html#a5b7b8e2e0362e45ddf422eead3e7c605">opj_write_mainmhix()</a>, <a class="el" href="indexbox__manager_8h.html#ae302b0ef07e61195c96fb07fad26337b">opj_write_manf()</a>, <a class="el" href="phix__manager_8c.html#a5c0dbd417439692b345a68a703755143">opj_write_phix()</a>, <a class="el" href="phix__manager_8c.html#abeff45d507796a5ebfdc84e6a2612dd1">opj_write_phixfaix()</a>, <a class="el" href="ppix__manager_8c.html#ada83077c95f10b8beceaa9f447b5ef80">opj_write_ppix()</a>, <a class="el" href="ppix__manager_8c.html#ac7ae0747dadd5ef6cc00b10a142341a9">opj_write_ppixfaix()</a>, <a class="el" href="thix__manager_8c.html#a7a270921f503df83233bf10d9008c61c">opj_write_thix()</a>, <a class="el" href="thix__manager_8c.html#a24b7aeffc984ce09ff26e817449f3a1a">opj_write_tilemhix()</a>, <a class="el" href="tpix__manager_8c.html#a954403d9d7c19478925fc16781d7a3e7">opj_write_tpix()</a>, and <a class="el" href="tpix__manager_8c.html#a615f1af7e1d9253a449ae0494f88b87b">opj_write_tpixfaix()</a>.</p>
</div>
</div>
<a id="ab53adb04ecf0efbda2b1e066b5bad040"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab53adb04ecf0efbda2b1e066b5bad040">&#9670;&nbsp;</a></span>opj_stream_set_read_function()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> opj_stream_set_read_function </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a8bb2e4d69989824fee3edc53370726a6">opj_stream_read_fn</a>&#160;</td>
<td class="paramname"><em>p_function</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the given function to be used as a read function. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to modify </td></tr>
<tr><td class="paramname">p_function</td><td>the function to use a read function. </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__stream__private.html#acce2d2187feff70fa3057b0439591f76">opj_stream_private::m_read_fn</a>, <a class="el" href="structopj__stream__private.html#ac2b84e72997fde0bf510faf6c8df5798">opj_stream_private::m_status</a>, and <a class="el" href="cio_8h.html#a5a5e3ba200c5f131b10139112d1fe318">OPJ_STREAM_STATUS_INPUT</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a6d339df3cc8521962a1c03ed421f140a">opj_stream_create_file_stream()</a>.</p>
</div>
</div>
<a id="aa693f609fb645fa540e37a6b2e7f597c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa693f609fb645fa540e37a6b2e7f597c">&#9670;&nbsp;</a></span>opj_stream_set_seek_function()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> opj_stream_set_seek_function </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a27083300f8491e805c4b7e3f3abe245c">opj_stream_seek_fn</a>&#160;</td>
<td class="paramname"><em>p_function</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the given function to be used as a seek function, the stream is then seekable, using SEEK_SET behavior. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to modify </td></tr>
<tr><td class="paramname">p_function</td><td>the function to use a skip function. </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__stream__private.html#adab26f9f0a32253aefdce763331c641a">opj_stream_private::m_seek_fn</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a6d339df3cc8521962a1c03ed421f140a">opj_stream_create_file_stream()</a>.</p>
</div>
</div>
<a id="a05423b3e3cc5114cc845913e1079bdc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05423b3e3cc5114cc845913e1079bdc3">&#9670;&nbsp;</a></span>opj_stream_set_skip_function()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> opj_stream_set_skip_function </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#ae8918d618c0a2fe1447f70f036e4afd8">opj_stream_skip_fn</a>&#160;</td>
<td class="paramname"><em>p_function</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the given function to be used as a skip function. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to modify </td></tr>
<tr><td class="paramname">p_function</td><td>the function to use a skip function. </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__stream__private.html#a2ca719761a9cd88dc350486e38b41790">opj_stream_private::m_skip_fn</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a6d339df3cc8521962a1c03ed421f140a">opj_stream_create_file_stream()</a>.</p>
</div>
</div>
<a id="a8c6a736dad88118ccefb3090a0a8bb40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c6a736dad88118ccefb3090a0a8bb40">&#9670;&nbsp;</a></span>opj_stream_set_user_data()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> opj_stream_set_user_data </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>p_data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a0647bc8a4688ee69cd35ff71bc43145f">opj_stream_free_user_data_fn</a>&#160;</td>
<td class="paramname"><em>p_function</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the given data to be used as a user data for the stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to modify </td></tr>
<tr><td class="paramname">p_data</td><td>the data to set. </td></tr>
<tr><td class="paramname">p_function</td><td>the function to free p_data when <a class="el" href="openjpeg_8h.html#a0703208df785be60460eb83c5d40b10f" title="Destroys a stream created by opj_create_stream.">opj_stream_destroy()</a> is called. </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__stream__private.html#a262bea0d39f7c5a0bd5ef07434e38723">opj_stream_private::m_free_user_data_fn</a>, and <a class="el" href="structopj__stream__private.html#a326f2fe5dc1fccce2788bf09ddf4931c">opj_stream_private::m_user_data</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a6d339df3cc8521962a1c03ed421f140a">opj_stream_create_file_stream()</a>.</p>
</div>
</div>
<a id="ad3a6d67f83a37ac57ace0580d05181e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3a6d67f83a37ac57ace0580d05181e2">&#9670;&nbsp;</a></span>opj_stream_set_user_data_length()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> opj_stream_set_user_data_length </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#ad915cf26c4c9cc10a75b2d9287dbbb5e">OPJ_UINT64</a>&#160;</td>
<td class="paramname"><em>data_length</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the length of the user data for the stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to modify </td></tr>
<tr><td class="paramname">data_length</td><td>length of the user_data. </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__stream__private.html#a53cb7b3992a382231554bdc73cb0c7bd">opj_stream_private::m_user_data_length</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a6d339df3cc8521962a1c03ed421f140a">opj_stream_create_file_stream()</a>.</p>
</div>
</div>
<a id="ae0b2d3c47f4dc68c3f52def9eb5fb752"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0b2d3c47f4dc68c3f52def9eb5fb752">&#9670;&nbsp;</a></span>opj_stream_set_write_function()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="openjpeg_8h.html#aedc1e23ea6654d0cc416bc390687458b">OPJ_CALLCONV</a> opj_stream_set_write_function </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#adf594a74c6b6b194caadf7b49ba9a2cf">opj_stream_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a5a43391a5d2fd7b09c6f1957b9ad0337">opj_stream_write_fn</a>&#160;</td>
<td class="paramname"><em>p_function</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the given function to be used as a write function. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to modify </td></tr>
<tr><td class="paramname">p_function</td><td>the function to use a write function. </td></tr>
</table>
</dd>
</dl>
<p class="reference">References <a class="el" href="structopj__stream__private.html#ac2b84e72997fde0bf510faf6c8df5798">opj_stream_private::m_status</a>, <a class="el" href="structopj__stream__private.html#aacd57b4e429ddf5ca3a4913a2f963d6a">opj_stream_private::m_write_fn</a>, and <a class="el" href="cio_8h.html#a67983adbcb291d3840f15cae7e1b0625">OPJ_STREAM_STATUS_OUTPUT</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a6d339df3cc8521962a1c03ed421f140a">opj_stream_create_file_stream()</a>.</p>
</div>
</div>
<a id="ac82f28130f72561ebd1a18b6bc84edb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac82f28130f72561ebd1a18b6bc84edb8">&#9670;&nbsp;</a></span>opj_stream_skip()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> opj_stream_skip </td>
<td>(</td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a>&#160;</td>
<td class="paramname"><em>p_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">struct <a class="el" href="structopj__event__mgr.html">opj_event_mgr</a> *&#160;</td>
<td class="paramname"><em>p_event_mgr</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Skips a number of bytes from the stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to skip data from. </td></tr>
<tr><td class="paramname">p_size</td><td>the number of bytes to skip. </td></tr>
<tr><td class="paramname">p_event_mgr</td><td>the user event manager to be notified of special events. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of bytes skipped, or -1 if an error occurred. </dd></dl>
<p class="reference">References <a class="el" href="structopj__stream__private.html#a2a6abddd3fd66514df26494a1d7a0090">opj_stream_private::m_opj_skip</a>.</p>
<p class="reference">Referenced by <a class="el" href="j2k_8c.html#ab826458121cf85e37db0f19ba5d38551">opj_j2k_need_nb_tile_parts_correction()</a>, <a class="el" href="j2k_8h.html#a25b7b51949ceea33515984f1db2f594d">opj_j2k_read_tile_header()</a>, <a class="el" href="jp2_8c.html#adcd6dc192302ff32ffbaa079c01a66d8">opj_jp2_read_header_procedure()</a>, <a class="el" href="jp2_8c.html#ae6f3faf750df1725ae59880e8294d0ec">opj_jp2_skip_jp2c()</a>, <a class="el" href="jp2_8c.html#a00fa729fdea32c3bcdc385f2fe02074b">opj_jpip_skip_iptr()</a>, <a class="el" href="cidx__manager_8h.html#ac7ecf358e9a5d8bdff7e26b4726aba20">opj_write_cidx()</a>, <a class="el" href="cidx__manager_8c.html#a032aff39cfba9760b736129a1e4edde7">opj_write_cptr()</a>, <a class="el" href="indexbox__manager_8h.html#a5b7b8e2e0362e45ddf422eead3e7c605">opj_write_mainmhix()</a>, <a class="el" href="indexbox__manager_8h.html#ae302b0ef07e61195c96fb07fad26337b">opj_write_manf()</a>, <a class="el" href="phix__manager_8c.html#a5c0dbd417439692b345a68a703755143">opj_write_phix()</a>, <a class="el" href="phix__manager_8c.html#abeff45d507796a5ebfdc84e6a2612dd1">opj_write_phixfaix()</a>, <a class="el" href="ppix__manager_8c.html#ada83077c95f10b8beceaa9f447b5ef80">opj_write_ppix()</a>, <a class="el" href="ppix__manager_8c.html#ac7ae0747dadd5ef6cc00b10a142341a9">opj_write_ppixfaix()</a>, <a class="el" href="thix__manager_8c.html#a7a270921f503df83233bf10d9008c61c">opj_write_thix()</a>, <a class="el" href="thix__manager_8c.html#a24b7aeffc984ce09ff26e817449f3a1a">opj_write_tilemhix()</a>, <a class="el" href="tpix__manager_8c.html#a954403d9d7c19478925fc16781d7a3e7">opj_write_tpix()</a>, and <a class="el" href="tpix__manager_8c.html#a615f1af7e1d9253a449ae0494f88b87b">opj_write_tpixfaix()</a>.</p>
</div>
</div>
<a id="a5c59a39f3664f9deb654c269153c600a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c59a39f3664f9deb654c269153c600a">&#9670;&nbsp;</a></span>opj_stream_tell()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> opj_stream_tell </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Tells the byte offset on the stream (similar to ftell). </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to get the information from.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the current position o fthe stream. </dd></dl>
<p class="reference">References <a class="el" href="structopj__stream__private.html#a5c0c669ab30776a58afc458b7f33a75b">opj_stream_private::m_byte_offset</a>.</p>
<p class="reference">Referenced by <a class="el" href="cidx__manager_8h.html#ab67c4291dded54c0ca21a721f3ae25c9">opj_check_EPHuse()</a>, <a class="el" href="j2k_8c.html#a06bfef520a515d5b8c8eb2b7fa8f555e">opj_j2k_get_end_header()</a>, <a class="el" href="j2k_8c.html#ab826458121cf85e37db0f19ba5d38551">opj_j2k_need_nb_tile_parts_correction()</a>, <a class="el" href="j2k_8c.html#a445c467bde1da70f07c2cdcd3ffbc25c">opj_j2k_read_header_procedure()</a>, <a class="el" href="j2k_8c.html#a4a8ad30a3df7afe15c5377a6f673f911">opj_j2k_read_soc()</a>, <a class="el" href="j2k_8c.html#af1ac6b62e18b03816163369ec3a81eff">opj_j2k_read_sod()</a>, <a class="el" href="j2k_8h.html#a25b7b51949ceea33515984f1db2f594d">opj_j2k_read_tile_header()</a>, <a class="el" href="j2k_8c.html#a2ca5884edbdd20eb06972c426cfaa25e">opj_j2k_read_unk()</a>, <a class="el" href="j2k_8c.html#ae73d42871d377e6fa71701f85a017bd8">opj_j2k_update_rates()</a>, <a class="el" href="j2k_8c.html#a69036131823e6cddc1313df546d178be">opj_j2k_write_epc()</a>, <a class="el" href="j2k_8c.html#a9b649d1ff3d3aeb6f444405a8d82306e">opj_j2k_write_tlm()</a>, <a class="el" href="j2k_8c.html#a6730546ed531621b7950bd7d07589c80">opj_j2k_write_updated_tlm()</a>, <a class="el" href="jp2_8c.html#ae6f3faf750df1725ae59880e8294d0ec">opj_jp2_skip_jp2c()</a>, <a class="el" href="jp2_8c.html#a2e03aa1e225c059d34fc34a11ffc48fc">opj_jp2_write_jp2c()</a>, <a class="el" href="jp2_8c.html#a00fa729fdea32c3bcdc385f2fe02074b">opj_jpip_skip_iptr()</a>, <a class="el" href="cidx__manager_8h.html#ac7ecf358e9a5d8bdff7e26b4726aba20">opj_write_cidx()</a>, <a class="el" href="cidx__manager_8c.html#a032aff39cfba9760b736129a1e4edde7">opj_write_cptr()</a>, <a class="el" href="indexbox__manager_8h.html#a5b7b8e2e0362e45ddf422eead3e7c605">opj_write_mainmhix()</a>, <a class="el" href="indexbox__manager_8h.html#ae302b0ef07e61195c96fb07fad26337b">opj_write_manf()</a>, <a class="el" href="phix__manager_8c.html#a5c0dbd417439692b345a68a703755143">opj_write_phix()</a>, <a class="el" href="phix__manager_8c.html#abeff45d507796a5ebfdc84e6a2612dd1">opj_write_phixfaix()</a>, <a class="el" href="ppix__manager_8c.html#ada83077c95f10b8beceaa9f447b5ef80">opj_write_ppix()</a>, <a class="el" href="ppix__manager_8c.html#ac7ae0747dadd5ef6cc00b10a142341a9">opj_write_ppixfaix()</a>, <a class="el" href="thix__manager_8c.html#a7a270921f503df83233bf10d9008c61c">opj_write_thix()</a>, <a class="el" href="thix__manager_8c.html#a24b7aeffc984ce09ff26e817449f3a1a">opj_write_tilemhix()</a>, <a class="el" href="tpix__manager_8c.html#a954403d9d7c19478925fc16781d7a3e7">opj_write_tpix()</a>, and <a class="el" href="tpix__manager_8c.html#a615f1af7e1d9253a449ae0494f88b87b">opj_write_tpixfaix()</a>.</p>
</div>
</div>
<a id="ae94657bc4ae96f252467a685168b94e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae94657bc4ae96f252467a685168b94e1">&#9670;&nbsp;</a></span>opj_stream_write_data()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> opj_stream_write_data </td>
<td>(</td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a>&#160;</td>
<td class="paramname"><em>p_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">struct <a class="el" href="structopj__event__mgr.html">opj_event_mgr</a> *&#160;</td>
<td class="paramname"><em>p_event_mgr</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes some bytes to the stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to write data to. </td></tr>
<tr><td class="paramname">p_buffer</td><td>pointer to the data buffer holds the data to be writtent. </td></tr>
<tr><td class="paramname">p_size</td><td>number of bytes to write. </td></tr>
<tr><td class="paramname">p_event_mgr</td><td>the user event manager to be notified of special events. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of bytes writtent, or -1 if an error occurred. </dd></dl>
<p class="reference">References <a class="el" href="structopj__stream__private.html#a83e54b51fe859e0aa93ebf292edf054c">opj_stream_private::m_buffer_size</a>, <a class="el" href="structopj__stream__private.html#a5c0c669ab30776a58afc458b7f33a75b">opj_stream_private::m_byte_offset</a>, <a class="el" href="structopj__stream__private.html#a8bbf688a608e52a52d1cf89c7103ac5b">opj_stream_private::m_bytes_in_buffer</a>, <a class="el" href="structopj__stream__private.html#a954a54c078a817c3eeffd66b45419cfc">opj_stream_private::m_current_data</a>, <a class="el" href="structopj__stream__private.html#ac2b84e72997fde0bf510faf6c8df5798">opj_stream_private::m_status</a>, <a class="el" href="structopj__stream__private.html#aca072a59b683dc106263ba04d3c28577">opj_stream_private::m_stored_data</a>, <a class="el" href="cio_8c.html#ad58113d5b82692e59b0573e595c769dc">opj_stream_flush()</a>, and <a class="el" href="cio_8h.html#a22026ba692e26b82a0bcc3ffd350f1e7">OPJ_STREAM_STATUS_ERROR</a>.</p>
<p class="reference">Referenced by <a class="el" href="j2k_8c.html#aead17ecd44e6326e374e10ec5c0adc47">opj_j2k_post_write_tile()</a>, <a class="el" href="j2k_8c.html#ab8c3c34855da54058f57a8aeeb14b565">opj_j2k_write_cbd()</a>, <a class="el" href="j2k_8c.html#a64f4adc973436b83d79df04519964dc3">opj_j2k_write_coc()</a>, <a class="el" href="j2k_8c.html#ad2719d3763be720f09523fd9e17a2f21">opj_j2k_write_cod()</a>, <a class="el" href="j2k_8c.html#a99a6490d59813c3302a7c1cfe9f81c17">opj_j2k_write_com()</a>, <a class="el" href="j2k_8c.html#a5c2c5700c7722ca09f2a20e63bbd7bc0">opj_j2k_write_eoc()</a>, <a class="el" href="j2k_8c.html#adb0a1bd6194424f47603fbeb4913afff">opj_j2k_write_mcc_record()</a>, <a class="el" href="j2k_8c.html#a91912b9fd60e738a2476a2f759cd1298">opj_j2k_write_mco()</a>, <a class="el" href="j2k_8c.html#a06dadd536dc59eabc14e7f89b22b6cc3">opj_j2k_write_mct_record()</a>, <a class="el" href="j2k_8c.html#a48135c3b26ebe22d53d8f790b803dbc3">opj_j2k_write_poc()</a>, <a class="el" href="j2k_8c.html#a6ad30a7674c00e6a8b3c9f2131883fbe">opj_j2k_write_qcc()</a>, <a class="el" href="j2k_8c.html#a9839ebcd3d0e371137ac8d1f8c3bf89c">opj_j2k_write_qcd()</a>, <a class="el" href="j2k_8c.html#afdcbfbeeb107f1eeaef8e011b7334424">opj_j2k_write_rgn()</a>, <a class="el" href="j2k_8c.html#af495487cb111ddad7ee2d2093d0659a1">opj_j2k_write_siz()</a>, <a class="el" href="j2k_8c.html#af1505ac5d55575baf0f54b043072e8a9">opj_j2k_write_soc()</a>, <a class="el" href="j2k_8c.html#a9b649d1ff3d3aeb6f444405a8d82306e">opj_j2k_write_tlm()</a>, <a class="el" href="j2k_8c.html#a6730546ed531621b7950bd7d07589c80">opj_j2k_write_updated_tlm()</a>, <a class="el" href="jp2_8c.html#ad6f065d9f31f70d57bc3203c2122a9b5">opj_jp2_write_ftyp()</a>, <a class="el" href="jp2_8c.html#ac0946ffbe7ec1a2dcdabe9dd63485ce9">opj_jp2_write_jp()</a>, <a class="el" href="jp2_8c.html#a2e03aa1e225c059d34fc34a11ffc48fc">opj_jp2_write_jp2c()</a>, <a class="el" href="jp2_8c.html#acbdab130baca04a1d74b841ce978e395">opj_jp2_write_jp2h()</a>, <a class="el" href="cidx__manager_8h.html#ac7ecf358e9a5d8bdff7e26b4726aba20">opj_write_cidx()</a>, <a class="el" href="cidx__manager_8c.html#a032aff39cfba9760b736129a1e4edde7">opj_write_cptr()</a>, <a class="el" href="indexbox__manager_8h.html#a5b7b8e2e0362e45ddf422eead3e7c605">opj_write_mainmhix()</a>, <a class="el" href="indexbox__manager_8h.html#ae302b0ef07e61195c96fb07fad26337b">opj_write_manf()</a>, <a class="el" href="phix__manager_8c.html#a5c0dbd417439692b345a68a703755143">opj_write_phix()</a>, <a class="el" href="phix__manager_8c.html#abeff45d507796a5ebfdc84e6a2612dd1">opj_write_phixfaix()</a>, <a class="el" href="ppix__manager_8c.html#ada83077c95f10b8beceaa9f447b5ef80">opj_write_ppix()</a>, <a class="el" href="ppix__manager_8c.html#ac7ae0747dadd5ef6cc00b10a142341a9">opj_write_ppixfaix()</a>, <a class="el" href="thix__manager_8c.html#a7a270921f503df83233bf10d9008c61c">opj_write_thix()</a>, <a class="el" href="thix__manager_8c.html#a24b7aeffc984ce09ff26e817449f3a1a">opj_write_tilemhix()</a>, <a class="el" href="tpix__manager_8c.html#a954403d9d7c19478925fc16781d7a3e7">opj_write_tpix()</a>, and <a class="el" href="tpix__manager_8c.html#a615f1af7e1d9253a449ae0494f88b87b">opj_write_tpixfaix()</a>.</p>
</div>
</div>
<a id="a133b4f1bfcec7c5b1dfb20c12bd68795"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a133b4f1bfcec7c5b1dfb20c12bd68795">&#9670;&nbsp;</a></span>opj_stream_write_seek()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> opj_stream_write_seek </td>
<td>(</td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a>&#160;</td>
<td class="paramname"><em>p_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">struct <a class="el" href="structopj__event__mgr.html">opj_event_mgr</a> *&#160;</td>
<td class="paramname"><em>p_event_mgr</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Skips a number of bytes from the stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to skip data from. </td></tr>
<tr><td class="paramname">p_size</td><td>the number of bytes to skip. </td></tr>
<tr><td class="paramname">p_event_mgr</td><td>the user event manager to be notified of special events. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of bytes skipped, or -1 if an error occurred. </dd></dl>
<p class="reference">References <a class="el" href="structopj__stream__private.html#a5c0c669ab30776a58afc458b7f33a75b">opj_stream_private::m_byte_offset</a>, <a class="el" href="structopj__stream__private.html#a8bbf688a608e52a52d1cf89c7103ac5b">opj_stream_private::m_bytes_in_buffer</a>, <a class="el" href="structopj__stream__private.html#a954a54c078a817c3eeffd66b45419cfc">opj_stream_private::m_current_data</a>, <a class="el" href="structopj__stream__private.html#adab26f9f0a32253aefdce763331c641a">opj_stream_private::m_seek_fn</a>, <a class="el" href="structopj__stream__private.html#ac2b84e72997fde0bf510faf6c8df5798">opj_stream_private::m_status</a>, <a class="el" href="structopj__stream__private.html#aca072a59b683dc106263ba04d3c28577">opj_stream_private::m_stored_data</a>, <a class="el" href="structopj__stream__private.html#a326f2fe5dc1fccce2788bf09ddf4931c">opj_stream_private::m_user_data</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="cio_8c.html#ad58113d5b82692e59b0573e595c769dc">opj_stream_flush()</a>, <a class="el" href="cio_8h.html#a22026ba692e26b82a0bcc3ffd350f1e7">OPJ_STREAM_STATUS_ERROR</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a5ceb2a40ddd3b69cdc183e1373257091">opj_stream_create()</a>.</p>
</div>
</div>
<a id="a46b77ecba8a4a0fa492b3451977d5f34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46b77ecba8a4a0fa492b3451977d5f34">&#9670;&nbsp;</a></span>opj_stream_write_skip()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> opj_stream_write_skip </td>
<td>(</td>
<td class="paramtype"><a class="el" href="cio_8h.html#a87df528e86c1032677d7841d1fb1270a">opj_stream_private_t</a> *&#160;</td>
<td class="paramname"><em>p_stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a>&#160;</td>
<td class="paramname"><em>p_size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">struct <a class="el" href="structopj__event__mgr.html">opj_event_mgr</a> *&#160;</td>
<td class="paramname"><em>p_event_mgr</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Skips a number of bytes from the stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_stream</td><td>the stream to skip data from. </td></tr>
<tr><td class="paramname">p_size</td><td>the number of bytes to skip. </td></tr>
<tr><td class="paramname">p_event_mgr</td><td>the user event manager to be notified of special events. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of bytes skipped, or -1 if an error occurred. </dd></dl>
<p class="reference">References <a class="el" href="event_8h.html#a220921068c5e3c97c8f2ad4db0c60726">EVT_INFO</a>, <a class="el" href="structopj__stream__private.html#a5c0c669ab30776a58afc458b7f33a75b">opj_stream_private::m_byte_offset</a>, <a class="el" href="structopj__stream__private.html#a8bbf688a608e52a52d1cf89c7103ac5b">opj_stream_private::m_bytes_in_buffer</a>, <a class="el" href="structopj__stream__private.html#a2ca719761a9cd88dc350486e38b41790">opj_stream_private::m_skip_fn</a>, <a class="el" href="structopj__stream__private.html#ac2b84e72997fde0bf510faf6c8df5798">opj_stream_private::m_status</a>, <a class="el" href="structopj__stream__private.html#a326f2fe5dc1fccce2788bf09ddf4931c">opj_stream_private::m_user_data</a>, <a class="el" href="event_8c.html#a80a24e8c6d24861cd2403e48a7c2591e">opj_event_msg()</a>, <a class="el" href="cio_8c.html#ad58113d5b82692e59b0573e595c769dc">opj_stream_flush()</a>, and <a class="el" href="cio_8h.html#a22026ba692e26b82a0bcc3ffd350f1e7">OPJ_STREAM_STATUS_ERROR</a>.</p>
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a5ceb2a40ddd3b69cdc183e1373257091">opj_stream_create()</a>.</p>
</div>
</div>
<a id="aa94d0663a3de41683f3635114eb42eed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa94d0663a3de41683f3635114eb42eed">&#9670;&nbsp;</a></span>opj_write_bytes_BE()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_write_bytes_BE </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>p_value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>p_nb_bytes</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Write some bytes to the given data buffer, this function is used in Big Endian cpus. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_buffer</td><td>pointer the data buffer to write data to. </td></tr>
<tr><td class="paramname">p_value</td><td>the value to write </td></tr>
<tr><td class="paramname">p_nb_bytes</td><td>the number of bytes to write </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a28ef412ebe86af560a05f44816b8c601"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28ef412ebe86af560a05f44816b8c601">&#9670;&nbsp;</a></span>opj_write_bytes_LE()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_write_bytes_LE </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>p_value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>p_nb_bytes</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Write some bytes to the given data buffer, this function is used in Little Endian cpus. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_buffer</td><td>pointer the data buffer to write data to. </td></tr>
<tr><td class="paramname">p_value</td><td>the value to write </td></tr>
<tr><td class="paramname">p_nb_bytes</td><td>the number of bytes to write </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of bytes written or -1 if an error occurred </dd></dl>
</div>
</div>
<a id="ae0dee6cbee329301242f265d6e7851fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0dee6cbee329301242f265d6e7851fa">&#9670;&nbsp;</a></span>opj_write_double_BE()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_write_double_BE </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a>&#160;</td>
<td class="paramname"><em>p_value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ad2083292c9469ca4a135521524784f89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2083292c9469ca4a135521524784f89">&#9670;&nbsp;</a></span>opj_write_double_LE()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_write_double_LE </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a>&#160;</td>
<td class="paramname"><em>p_value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Write some bytes to the given data buffer, this function is used in Little Endian cpus. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_buffer</td><td>pointer the data buffer to write data to. </td></tr>
<tr><td class="paramname">p_value</td><td>the value to write </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a4ea9737eccd7572e6389ca03ace79dd5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ea9737eccd7572e6389ca03ace79dd5">&#9670;&nbsp;</a></span>opj_write_float_BE()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_write_float_BE </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a>&#160;</td>
<td class="paramname"><em>p_value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ac1a8582ea72e8bfdf744b5af0b73863d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1a8582ea72e8bfdf744b5af0b73863d">&#9670;&nbsp;</a></span>opj_write_float_LE()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void opj_write_float_LE </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td>
<td class="paramname"><em>p_buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a62c71ae712322de0bef73cebae23fa04">OPJ_FLOAT32</a>&#160;</td>
<td class="paramname"><em>p_value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Write some bytes to the given data buffer, this function is used in Little Endian cpus. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p_buffer</td><td>pointer the data buffer to write data to. </td></tr>
<tr><td class="paramname">p_value</td><td>the value to write </td></tr>
</table>
</dd>
</dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>