openjpeg/doxygen/cio_8c.html

532 lines
55 KiB
HTML
Raw Normal View History

2015-07-10 18:06:19 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
2019-04-02 16:25:55 +02:00
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
2015-07-10 18:06:19 +02:00
<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;">
2016-09-29 22:38:29 +02:00
<td id="projectalign" style="padding-left: 0.5em;">
2015-07-10 18:06:19 +02:00
<div id="projectname">OpenJPEG
2019-04-02 16:25:55 +02:00
&#160;<span id="projectnumber">2.3.1</span>
2015-07-10 18:06:19 +02:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2019-04-02 16:25:55 +02:00
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
2015-07-10 18:06:19 +02:00
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d522931ffa1371640980b621734a4381.html">Users</a></li><li class="navelem"><a class="el" href="dir_694e20c96f4fc1be4aed4f026eadce94.html">antonin</a></li><li class="navelem"><a class="el" href="dir_3ca1ad36e65e03f9e8d67ddc2553765b.html">dev</a></li><li class="navelem"><a class="el" href="dir_181a881edfcb8646dab693a228fa6bde.html">opj</a></li><li class="navelem"><a class="el" href="dir_5064bb5511811c3176850b7e47443f14.html">github</a></li><li class="navelem"><a class="el" href="dir_0b20524d8f8835ca75acc430451c8412.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_e3f8a8e294f8271ee71cbcf3c2acacc1.html">src</a></li><li class="navelem"><a class="el" href="dir_da83fe5fdfb6c4554d36abffc03790ad.html">lib</a></li><li class="navelem"><a class="el" href="dir_68013e83e260d17d49dee5e209315608.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:gaa94d0663a3de41683f3635114eb42eed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_i_o.html#gaa94d0663a3de41683f3635114eb42eed">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:gaa94d0663a3de41683f3635114eb42eed"><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="group___c_i_o.html#gaa94d0663a3de41683f3635114eb42eed">More...</a><br /></td></tr>
<tr class="separator:gaa94d0663a3de41683f3635114eb42eed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga28ef412ebe86af560a05f44816b8c601"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_i_o.html#ga28ef412ebe86af560a05f44816b8c601">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:ga28ef412ebe86af560a05f44816b8c601"><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="group___c_i_o.html#ga28ef412ebe86af560a05f44816b8c601">More...</a><br /></td></tr>
<tr class="separator:ga28ef412ebe86af560a05f44816b8c601"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9f901a48ea910d97ff038f87d9256037"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_i_o.html#ga9f901a48ea910d97ff038f87d9256037">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:ga9f901a48ea910d97ff038f87d9256037"><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="group___c_i_o.html#ga9f901a48ea910d97ff038f87d9256037">More...</a><br /></td></tr>
<tr class="separator:ga9f901a48ea910d97ff038f87d9256037"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf273fa2d61cb73738877a811e689dc88"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_i_o.html#gaf273fa2d61cb73738877a811e689dc88">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:gaf273fa2d61cb73738877a811e689dc88"><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="group___c_i_o.html#gaf273fa2d61cb73738877a811e689dc88">More...</a><br /></td></tr>
<tr class="separator:gaf273fa2d61cb73738877a811e689dc88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0dee6cbee329301242f265d6e7851fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_i_o.html#gae0dee6cbee329301242f265d6e7851fa">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:gae0dee6cbee329301242f265d6e7851fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad2083292c9469ca4a135521524784f89"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_i_o.html#gad2083292c9469ca4a135521524784f89">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:gad2083292c9469ca4a135521524784f89"><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="group___c_i_o.html#gad2083292c9469ca4a135521524784f89">More...</a><br /></td></tr>
<tr class="separator:gad2083292c9469ca4a135521524784f89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf4f59dfe6fc6cb0d93ccf308e81727d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_i_o.html#gaf4f59dfe6fc6cb0d93ccf308e81727d3">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:gaf4f59dfe6fc6cb0d93ccf308e81727d3"><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="group___c_i_o.html#gaf4f59dfe6fc6cb0d93ccf308e81727d3">More...</a><br /></td></tr>
<tr class="separator:gaf4f59dfe6fc6cb0d93ccf308e81727d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadae00135fe98bea16876125f0898759a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_i_o.html#gadae00135fe98bea16876125f0898759a">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:gadae00135fe98bea16876125f0898759a"><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="group___c_i_o.html#gadae00135fe98bea16876125f0898759a">More...</a><br /></td></tr>
<tr class="separator:gadae00135fe98bea16876125f0898759a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4ea9737eccd7572e6389ca03ace79dd5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_i_o.html#ga4ea9737eccd7572e6389ca03ace79dd5">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:ga4ea9737eccd7572e6389ca03ace79dd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac1a8582ea72e8bfdf744b5af0b73863d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_i_o.html#gac1a8582ea72e8bfdf744b5af0b73863d">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:gac1a8582ea72e8bfdf744b5af0b73863d"><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="group___c_i_o.html#gac1a8582ea72e8bfdf744b5af0b73863d">More...</a><br /></td></tr>
<tr class="separator:gac1a8582ea72e8bfdf744b5af0b73863d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae3c5b5fac8489e8fb4d1caecc98a8788"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_i_o.html#gae3c5b5fac8489e8fb4d1caecc98a8788">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:gae3c5b5fac8489e8fb4d1caecc98a8788"><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="group___c_i_o.html#gae3c5b5fac8489e8fb4d1caecc98a8788">More...</a><br /></td></tr>
<tr class="separator:gae3c5b5fac8489e8fb4d1caecc98a8788"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga01c575d71f35eb2eb2d0494567a11857"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_i_o.html#ga01c575d71f35eb2eb2d0494567a11857">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:ga01c575d71f35eb2eb2d0494567a11857"><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="group___c_i_o.html#ga01c575d71f35eb2eb2d0494567a11857">More...</a><br /></td></tr>
<tr class="separator:ga01c575d71f35eb2eb2d0494567a11857"><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="#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="#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="#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#aa2eb8272b84be8503bafa20075b4a943">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="#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#a6b85fe2ce4d609d2262afad0c7a7f31e">opj_stream_seek_fn</a> p_function)</td></tr>
2019-04-02 16:25:55 +02:00
<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="#aa693f609fb645fa540e37a6b2e7f597c">More...</a><br /></td></tr>
2015-07-10 18:06:19 +02:00
<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#a087a324f17cc02a95526b41b7636b580">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="#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#a5a5da112c449f1aafb5823f7a04d0b3b">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="#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#adea98a88378b8bf7f1654ca7511808ce">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="#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="#ad3a6d67f83a37ac57ace0580d05181e2">More...</a><br /></td></tr>
<tr class="separator:ad3a6d67f83a37ac57ace0580d05181e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6102b5a73d4a0235e9cfa65d92a623dc"><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="group___c_i_o.html#ga6102b5a73d4a0235e9cfa65d92a623dc">opj_stream_read_data</a> (<a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_event_mgr)</td></tr>
<tr class="memdesc:ga6102b5a73d4a0235e9cfa65d92a623dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads some bytes from the stream. <a href="group___c_i_o.html#ga6102b5a73d4a0235e9cfa65d92a623dc">More...</a><br /></td></tr>
<tr class="separator:ga6102b5a73d4a0235e9cfa65d92a623dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8f590493a14f4e33a1e2bbcf8eaa889d"><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="group___c_i_o.html#ga8f590493a14f4e33a1e2bbcf8eaa889d">opj_stream_write_data</a> (<a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_event_mgr)</td></tr>
<tr class="memdesc:ga8f590493a14f4e33a1e2bbcf8eaa889d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes some bytes to the stream. <a href="group___c_i_o.html#ga8f590493a14f4e33a1e2bbcf8eaa889d">More...</a><br /></td></tr>
<tr class="separator:ga8f590493a14f4e33a1e2bbcf8eaa889d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3cb2e53726d5dde5a5f97f64a9e5f42d"><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="group___c_i_o.html#ga3cb2e53726d5dde5a5f97f64a9e5f42d">opj_stream_flush</a> (<a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *p_stream, <a class="el" href="event_8h.html#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_event_mgr)</td></tr>
<tr class="memdesc:ga3cb2e53726d5dde5a5f97f64a9e5f42d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the content of the stream buffer to the stream. <a href="group___c_i_o.html#ga3cb2e53726d5dde5a5f97f64a9e5f42d">More...</a><br /></td></tr>
<tr class="separator:ga3cb2e53726d5dde5a5f97f64a9e5f42d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga092c8153f29a4137728c6d79165c7e51"><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="group___c_i_o.html#ga092c8153f29a4137728c6d79165c7e51">opj_stream_read_skip</a> (<a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_event_mgr)</td></tr>
<tr class="memdesc:ga092c8153f29a4137728c6d79165c7e51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Skips a number of bytes from the stream. <a href="group___c_i_o.html#ga092c8153f29a4137728c6d79165c7e51">More...</a><br /></td></tr>
<tr class="separator:ga092c8153f29a4137728c6d79165c7e51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9e71a30be5af724e31c50066b7ff1128"><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="group___c_i_o.html#ga9e71a30be5af724e31c50066b7ff1128">opj_stream_write_skip</a> (<a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_event_mgr)</td></tr>
<tr class="memdesc:ga9e71a30be5af724e31c50066b7ff1128"><td class="mdescLeft">&#160;</td><td class="mdescRight">Skips a number of bytes from the stream. <a href="group___c_i_o.html#ga9e71a30be5af724e31c50066b7ff1128">More...</a><br /></td></tr>
<tr class="separator:ga9e71a30be5af724e31c50066b7ff1128"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5c59a39f3664f9deb654c269153c600a"><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="group___c_i_o.html#ga5c59a39f3664f9deb654c269153c600a">opj_stream_tell</a> (const <a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *p_stream)</td></tr>
<tr class="memdesc:ga5c59a39f3664f9deb654c269153c600a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells the byte offset on the stream (similar to ftell). <a href="group___c_i_o.html#ga5c59a39f3664f9deb654c269153c600a">More...</a><br /></td></tr>
<tr class="separator:ga5c59a39f3664f9deb654c269153c600a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaec7225a845169469fd1aa8db2a3fac9e"><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="group___c_i_o.html#gaec7225a845169469fd1aa8db2a3fac9e">opj_stream_get_number_byte_left</a> (const <a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *p_stream)</td></tr>
<tr class="memdesc:gaec7225a845169469fd1aa8db2a3fac9e"><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="group___c_i_o.html#gaec7225a845169469fd1aa8db2a3fac9e">More...</a><br /></td></tr>
<tr class="separator:gaec7225a845169469fd1aa8db2a3fac9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a8ab9c9e1ccdc20a6dd2a2925a3f8c0"><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="group___c_i_o.html#ga8a8ab9c9e1ccdc20a6dd2a2925a3f8c0">opj_stream_skip</a> (<a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_event_mgr)</td></tr>
<tr class="memdesc:ga8a8ab9c9e1ccdc20a6dd2a2925a3f8c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Skips a number of bytes from the stream. <a href="group___c_i_o.html#ga8a8ab9c9e1ccdc20a6dd2a2925a3f8c0">More...</a><br /></td></tr>
<tr class="separator:ga8a8ab9c9e1ccdc20a6dd2a2925a3f8c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7dc74eec9e8e6227d485ef36396c57d8"><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="group___c_i_o.html#ga7dc74eec9e8e6227d485ef36396c57d8">opj_stream_read_seek</a> (<a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_event_mgr)</td></tr>
<tr class="memdesc:ga7dc74eec9e8e6227d485ef36396c57d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Skips a number of bytes from the stream. <a href="group___c_i_o.html#ga7dc74eec9e8e6227d485ef36396c57d8">More...</a><br /></td></tr>
<tr class="separator:ga7dc74eec9e8e6227d485ef36396c57d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa87066c3ad9c71a3b2e7725d111188b9"><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="group___c_i_o.html#gaa87066c3ad9c71a3b2e7725d111188b9">opj_stream_write_seek</a> (<a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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#a4cba85f9ee037b1f2c6bceb903051d96">opj_event_mgr_t</a> *p_event_mgr)</td></tr>
<tr class="memdesc:gaa87066c3ad9c71a3b2e7725d111188b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Skips a number of bytes from the stream. <a href="group___c_i_o.html#gaa87066c3ad9c71a3b2e7725d111188b9">More...</a><br /></td></tr>
<tr class="separator:gaa87066c3ad9c71a3b2e7725d111188b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9061d0624a17af80b74e1a114b0c7f06"><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="group___c_i_o.html#ga9061d0624a17af80b74e1a114b0c7f06">opj_stream_seek</a> (<a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">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:ga9061d0624a17af80b74e1a114b0c7f06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Seeks a number of bytes from the stream. <a href="group___c_i_o.html#ga9061d0624a17af80b74e1a114b0c7f06">More...</a><br /></td></tr>
<tr class="separator:ga9061d0624a17af80b74e1a114b0c7f06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae456419611db729983d8ca337e3f3293"><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="group___c_i_o.html#gae456419611db729983d8ca337e3f3293">opj_stream_has_seek</a> (const <a class="el" href="group___c_i_o.html#gacd21503a80c1803724c96c8baf9fd645">opj_stream_private_t</a> *p_stream)</td></tr>
<tr class="memdesc:gae456419611db729983d8ca337e3f3293"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells if the given stream is seekable. <a href="group___c_i_o.html#gae456419611db729983d8ca337e3f3293">More...</a><br /></td></tr>
<tr class="separator:gae456419611db729983d8ca337e3f3293"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad24645757cfda744ed8f4405f8e3b646"><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="group___c_i_o.html#gad24645757cfda744ed8f4405f8e3b646">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:gad24645757cfda744ed8f4405f8e3b646"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="group___c_i_o.html#gad24645757cfda744ed8f4405f8e3b646">More...</a><br /></td></tr>
<tr class="separator:gad24645757cfda744ed8f4405f8e3b646"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga691682240555fdcd433694bb49313957"><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="group___c_i_o.html#ga691682240555fdcd433694bb49313957">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:ga691682240555fdcd433694bb49313957"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="group___c_i_o.html#ga691682240555fdcd433694bb49313957">More...</a><br /></td></tr>
<tr class="separator:ga691682240555fdcd433694bb49313957"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga48c7c8450f5cdb6a063baa3e6de8ad8c"><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="group___c_i_o.html#ga48c7c8450f5cdb6a063baa3e6de8ad8c">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:ga48c7c8450f5cdb6a063baa3e6de8ad8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="group___c_i_o.html#ga48c7c8450f5cdb6a063baa3e6de8ad8c">More...</a><br /></td></tr>
<tr class="separator:ga48c7c8450f5cdb6a063baa3e6de8ad8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga52e44990c6b111efba20ffc05ac37d27"><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="group___c_i_o.html#ga52e44990c6b111efba20ffc05ac37d27">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:ga52e44990c6b111efba20ffc05ac37d27"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIXME DOC. <a href="group___c_i_o.html#ga52e44990c6b111efba20ffc05ac37d27">More...</a><br /></td></tr>
<tr class="separator:ga52e44990c6b111efba20ffc05ac37d27"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
2019-04-02 16:25:55 +02:00
<a id="a9fb51f39980fb6bc1e15ef48a2fd1970"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9fb51f39980fb6bc1e15ef48a2fd1970">&#9670;&nbsp;</a></span>opj_stream_create()</h2>
2015-07-10 18:06:19 +02:00
<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>
2019-04-02 16:25:55 +02:00
<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#a0096c9def0e99114e0eabb73696aabd7">opj_stream_private::m_opj_seek</a>, <a class="el" href="structopj__stream__private.html#a58aece1447be21b39fe61dfd8b8e41b1">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="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, <a class="el" href="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="group___c_i_o.html#gad24645757cfda744ed8f4405f8e3b646">opj_stream_default_read()</a>, <a class="el" href="group___c_i_o.html#ga52e44990c6b111efba20ffc05ac37d27">opj_stream_default_seek()</a>, <a class="el" href="group___c_i_o.html#ga48c7c8450f5cdb6a063baa3e6de8ad8c">opj_stream_default_skip()</a>, <a class="el" href="group___c_i_o.html#ga691682240555fdcd433694bb49313957">opj_stream_default_write()</a>, <a class="el" href="group___c_i_o.html#ga7dc74eec9e8e6227d485ef36396c57d8">opj_stream_read_seek()</a>, <a class="el" href="group___c_i_o.html#ga092c8153f29a4137728c6d79165c7e51">opj_stream_read_skip()</a>, <a class="el" href="group___c_i_o.html#ga5a5e3ba200c5f131b10139112d1fe318">OPJ_STREAM_STATUS_INPUT</a>, <a class="el" href="group___c_i_o.html#ga67983adbcb291d3840f15cae7e1b0625">OPJ_STREAM_STATUS_OUTPUT</a>, <a class="el" href="group___c_i_o.html#gaa87066c3ad9c71a3b2e7725d111188b9">opj_stream_write_seek()</a>, and <a class="el" href="group___c_i_o.html#ga9e71a30be5af724e31c50066b7ff1128">opj_stream_write_skip()</a>.</p>
2015-07-10 18:06:19 +02:00
2019-04-02 16:25:55 +02:00
<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>
2015-07-10 18:06:19 +02:00
</div>
</div>
2019-04-02 16:25:55 +02:00
<a id="a903d03c70a9a5aa8deb0adc637520d5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a903d03c70a9a5aa8deb0adc637520d5c">&#9670;&nbsp;</a></span>opj_stream_default_create()</h2>
2015-07-10 18:06:19 +02:00
<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>
2019-04-02 16:25:55 +02:00
<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>
2015-07-10 18:06:19 +02:00
</div>
</div>
2019-04-02 16:25:55 +02:00
<a id="ac0686c0048dfa2d2fcffaf649891ea58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0686c0048dfa2d2fcffaf649891ea58">&#9670;&nbsp;</a></span>opj_stream_destroy()</h2>
2015-07-10 18:06:19 +02:00
<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>
2019-04-02 16:25:55 +02:00
<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="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>.</p>
2015-07-10 18:06:19 +02:00
2019-04-02 16:25:55 +02:00
<p class="reference">Referenced by <a class="el" href="jp2k__decoder_8h.html#a261799e8487d1b77fc04948abe701e5f">j2k_to_pnm()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2019-04-02 16:25:55 +02:00
<a id="ab53adb04ecf0efbda2b1e066b5bad040"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab53adb04ecf0efbda2b1e066b5bad040">&#9670;&nbsp;</a></span>opj_stream_set_read_function()</h2>
2015-07-10 18:06:19 +02:00
<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#aa2eb8272b84be8503bafa20075b4a943">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>
2019-04-02 16:25:55 +02:00
<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="group___c_i_o.html#ga5a5e3ba200c5f131b10139112d1fe318">OPJ_STREAM_STATUS_INPUT</a>.</p>
2015-07-10 18:06:19 +02:00
2019-04-02 16:25:55 +02:00
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a6d339df3cc8521962a1c03ed421f140a">opj_stream_create_file_stream()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2019-04-02 16:25:55 +02:00
<a id="aa693f609fb645fa540e37a6b2e7f597c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa693f609fb645fa540e37a6b2e7f597c">&#9670;&nbsp;</a></span>opj_stream_set_seek_function()</h2>
2015-07-10 18:06:19 +02:00
<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#a6b85fe2ce4d609d2262afad0c7a7f31e">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">
2019-04-02 16:25:55 +02:00
<p>Sets the given function to be used as a seek function, the stream is then seekable, using SEEK_SET behavior. </p>
2015-07-10 18:06:19 +02:00
<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>
2019-04-02 16:25:55 +02:00
<p class="reference">References <a class="el" href="structopj__stream__private.html#adab26f9f0a32253aefdce763331c641a">opj_stream_private::m_seek_fn</a>.</p>
2015-07-10 18:06:19 +02:00
2019-04-02 16:25:55 +02:00
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a6d339df3cc8521962a1c03ed421f140a">opj_stream_create_file_stream()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2019-04-02 16:25:55 +02:00
<a id="a05423b3e3cc5114cc845913e1079bdc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05423b3e3cc5114cc845913e1079bdc3">&#9670;&nbsp;</a></span>opj_stream_set_skip_function()</h2>
2015-07-10 18:06:19 +02:00
<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#a5a5da112c449f1aafb5823f7a04d0b3b">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>
2019-04-02 16:25:55 +02:00
<p class="reference">References <a class="el" href="structopj__stream__private.html#a2ca719761a9cd88dc350486e38b41790">opj_stream_private::m_skip_fn</a>.</p>
2015-07-10 18:06:19 +02:00
2019-04-02 16:25:55 +02:00
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a6d339df3cc8521962a1c03ed421f140a">opj_stream_create_file_stream()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2019-04-02 16:25:55 +02:00
<a id="a8c6a736dad88118ccefb3090a0a8bb40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c6a736dad88118ccefb3090a0a8bb40">&#9670;&nbsp;</a></span>opj_stream_set_user_data()</h2>
2015-07-10 18:06:19 +02:00
<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#adea98a88378b8bf7f1654ca7511808ce">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>
2019-04-02 16:25:55 +02:00
<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>
2015-07-10 18:06:19 +02:00
2019-04-02 16:25:55 +02:00
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a6d339df3cc8521962a1c03ed421f140a">opj_stream_create_file_stream()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2019-04-02 16:25:55 +02:00
<a id="ad3a6d67f83a37ac57ace0580d05181e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3a6d67f83a37ac57ace0580d05181e2">&#9670;&nbsp;</a></span>opj_stream_set_user_data_length()</h2>
2015-07-10 18:06:19 +02:00
<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>
2019-04-02 16:25:55 +02:00
<p class="reference">References <a class="el" href="structopj__stream__private.html#a53cb7b3992a382231554bdc73cb0c7bd">opj_stream_private::m_user_data_length</a>.</p>
2015-07-10 18:06:19 +02:00
2019-04-02 16:25:55 +02:00
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a6d339df3cc8521962a1c03ed421f140a">opj_stream_create_file_stream()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2019-04-02 16:25:55 +02:00
<a id="ae0b2d3c47f4dc68c3f52def9eb5fb752"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0b2d3c47f4dc68c3f52def9eb5fb752">&#9670;&nbsp;</a></span>opj_stream_set_write_function()</h2>
2015-07-10 18:06:19 +02:00
<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#a087a324f17cc02a95526b41b7636b580">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>
2019-04-02 16:25:55 +02:00
<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="group___c_i_o.html#ga67983adbcb291d3840f15cae7e1b0625">OPJ_STREAM_STATUS_OUTPUT</a>.</p>
2015-07-10 18:06:19 +02:00
2019-04-02 16:25:55 +02:00
<p class="reference">Referenced by <a class="el" href="openjpeg_8h.html#a6d339df3cc8521962a1c03ed421f140a">opj_stream_create_file_stream()</a>.</p>
2015-07-10 18:06:19 +02:00
</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"/>
2019-04-02 16:25:55 +02:00
</a> 1.8.13
2015-07-10 18:06:19 +02:00
</small></address>
</body>
</html>