390 lines
23 KiB
HTML
390 lines
23 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: codestream_manager.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
|
|
 <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&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_54d80c9412497e935deb5677b5fae801.html">openjpip</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#define-members">Macros</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">codestream_manager.c File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include <stdio.h></code><br />
|
|
<code>#include "<a class="el" href="codestream__manager_8h_source.html">codestream_manager.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="opj__inttypes_8h_source.html">opj_inttypes.h</a>"</code><br />
|
|
</div><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
|
Macros</h2></td></tr>
|
|
<tr class="memitem:ac322e421aefb8ec9ccc10bef953e3d82"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="codestream__manager_8c.html#ac322e421aefb8ec9ccc10bef953e3d82">FCGI_stdout</a>   stdout</td></tr>
|
|
<tr class="separator:ac322e421aefb8ec9ccc10bef953e3d82"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a77b5d5af2adb2cfa7ec785b592fc4074"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="codestream__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>   stderr</td></tr>
|
|
<tr class="separator:a77b5d5af2adb2cfa7ec785b592fc4074"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a31c99676da88bb0bcdb350710f00fa96"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="codestream__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>   stderr</td></tr>
|
|
<tr class="separator:a31c99676da88bb0bcdb350710f00fa96"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:abe246d173d4accb765de170e9976cd20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="codestream__manager_8h.html#a2efb85cea7fabfb44bbcd5a29bcf6b9c">codestream_param_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="codestream__manager_8c.html#abe246d173d4accb765de170e9976cd20">set_codestream</a> (int fd, <a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> offset, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> length)</td></tr>
|
|
<tr class="memdesc:abe246d173d4accb765de170e9976cd20"><td class="mdescLeft"> </td><td class="mdescRight">set codestream parameters from inputs <a href="codestream__manager_8c.html#abe246d173d4accb765de170e9976cd20">More...</a><br /></td></tr>
|
|
<tr class="separator:abe246d173d4accb765de170e9976cd20"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a92e8c0b1815dc9ede628541b28971dc4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="codestream__manager_8c.html#a92e8c0b1815dc9ede628541b28971dc4">fetch_codestreambytes</a> (<a class="el" href="codestream__manager_8h.html#a2efb85cea7fabfb44bbcd5a29bcf6b9c">codestream_param_t</a> *cs, <a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> offset, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> size)</td></tr>
|
|
<tr class="memdesc:a92e8c0b1815dc9ede628541b28971dc4"><td class="mdescLeft"> </td><td class="mdescRight">fetch Codestream bytes of data in file stream <a href="codestream__manager_8c.html#a92e8c0b1815dc9ede628541b28971dc4">More...</a><br /></td></tr>
|
|
<tr class="separator:a92e8c0b1815dc9ede628541b28971dc4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af659af47f43c4ef6cea74c5697acf078"><td class="memItemLeft" align="right" valign="top"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="codestream__manager_8c.html#af659af47f43c4ef6cea74c5697acf078">fetch_codestream1byte</a> (<a class="el" href="codestream__manager_8h.html#a2efb85cea7fabfb44bbcd5a29bcf6b9c">codestream_param_t</a> *cs, <a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> offset)</td></tr>
|
|
<tr class="memdesc:af659af47f43c4ef6cea74c5697acf078"><td class="mdescLeft"> </td><td class="mdescRight">fetch Codestream 1-byte Byte code in file stream <a href="codestream__manager_8c.html#af659af47f43c4ef6cea74c5697acf078">More...</a><br /></td></tr>
|
|
<tr class="separator:af659af47f43c4ef6cea74c5697acf078"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6dbb4634cd0d3c32cc641750119d1a65"><td class="memItemLeft" align="right" valign="top"><a class="el" href="byte__manager_8h.html#a633aa9ecff048e1b8bfbdac4c4dfdb33">Byte2_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="codestream__manager_8c.html#a6dbb4634cd0d3c32cc641750119d1a65">fetch_codestream2bytebigendian</a> (<a class="el" href="codestream__manager_8h.html#a2efb85cea7fabfb44bbcd5a29bcf6b9c">codestream_param_t</a> *cs, <a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> offset)</td></tr>
|
|
<tr class="memdesc:a6dbb4634cd0d3c32cc641750119d1a65"><td class="mdescLeft"> </td><td class="mdescRight">fetch Codestream 2-byte big endian Byte codes in file stream <a href="codestream__manager_8c.html#a6dbb4634cd0d3c32cc641750119d1a65">More...</a><br /></td></tr>
|
|
<tr class="separator:a6dbb4634cd0d3c32cc641750119d1a65"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aee603a657d0cf18f32e86bd2b2efdafe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="byte__manager_8h.html#aad2d957f29839c12c87e4dd945807d36">Byte4_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="codestream__manager_8c.html#aee603a657d0cf18f32e86bd2b2efdafe">fetch_codestream4bytebigendian</a> (<a class="el" href="codestream__manager_8h.html#a2efb85cea7fabfb44bbcd5a29bcf6b9c">codestream_param_t</a> *cs, <a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> offset)</td></tr>
|
|
<tr class="memdesc:aee603a657d0cf18f32e86bd2b2efdafe"><td class="mdescLeft"> </td><td class="mdescRight">fetch Codestream 4-byte big endian Byte codes in file stream <a href="codestream__manager_8c.html#aee603a657d0cf18f32e86bd2b2efdafe">More...</a><br /></td></tr>
|
|
<tr class="separator:aee603a657d0cf18f32e86bd2b2efdafe"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5c8f513ed058bbc4c5798b8e0893cd62"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="codestream__manager_8c.html#a5c8f513ed058bbc4c5798b8e0893cd62">print_codestream</a> (<a class="el" href="codestream__manager_8h.html#a2efb85cea7fabfb44bbcd5a29bcf6b9c">codestream_param_t</a> cs)</td></tr>
|
|
<tr class="memdesc:a5c8f513ed058bbc4c5798b8e0893cd62"><td class="mdescLeft"> </td><td class="mdescRight">print codestream parameters <a href="codestream__manager_8c.html#a5c8f513ed058bbc4c5798b8e0893cd62">More...</a><br /></td></tr>
|
|
<tr class="separator:a5c8f513ed058bbc4c5798b8e0893cd62"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
|
<a id="a77b5d5af2adb2cfa7ec785b592fc4074"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a77b5d5af2adb2cfa7ec785b592fc4074">◆ </a></span>FCGI_stderr</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define FCGI_stderr   stderr</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac322e421aefb8ec9ccc10bef953e3d82"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac322e421aefb8ec9ccc10bef953e3d82">◆ </a></span>FCGI_stdout</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define FCGI_stdout   stdout</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a31c99676da88bb0bcdb350710f00fa96"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a31c99676da88bb0bcdb350710f00fa96">◆ </a></span>logstream</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define logstream   stderr</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="af659af47f43c4ef6cea74c5697acf078"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af659af47f43c4ef6cea74c5697acf078">◆ </a></span>fetch_codestream1byte()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> fetch_codestream1byte </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="codestream__manager_8h.html#a2efb85cea7fabfb44bbcd5a29bcf6b9c">codestream_param_t</a> * </td>
|
|
<td class="paramname"><em>cs</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> </td>
|
|
<td class="paramname"><em>offset</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>fetch Codestream 1-byte Byte code in file stream </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cs</td><td>codestream pointer </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">offset</td><td>start Byte position in codestream </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>fetched code </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcodestream__param.html#a75fc79562c1244fc477916b83c6b888c">codestream_param::fd</a>, <a class="el" href="byte__manager_8c.html#a80c5006e047b8a2a5bbb48bcbc9bbd7c">fetch_1byte()</a>, and <a class="el" href="structcodestream__param.html#ac6010c22e0f1e7414a219b7d0927435b">codestream_param::offset</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="marker__manager_8h.html#a310269e7466f3a1588930e9cbc51570c">fetch_marker1byte()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6dbb4634cd0d3c32cc641750119d1a65"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6dbb4634cd0d3c32cc641750119d1a65">◆ </a></span>fetch_codestream2bytebigendian()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="byte__manager_8h.html#a633aa9ecff048e1b8bfbdac4c4dfdb33">Byte2_t</a> fetch_codestream2bytebigendian </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="codestream__manager_8h.html#a2efb85cea7fabfb44bbcd5a29bcf6b9c">codestream_param_t</a> * </td>
|
|
<td class="paramname"><em>cs</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> </td>
|
|
<td class="paramname"><em>offset</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>fetch Codestream 2-byte big endian Byte codes in file stream </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cs</td><td>codestream pointer </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">offset</td><td>start Byte position in codestream </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>fetched code </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcodestream__param.html#a75fc79562c1244fc477916b83c6b888c">codestream_param::fd</a>, <a class="el" href="byte__manager_8c.html#adc0810a234de2f1a8d59218959e07671">fetch_2bytebigendian()</a>, and <a class="el" href="structcodestream__param.html#ac6010c22e0f1e7414a219b7d0927435b">codestream_param::offset</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="marker__manager_8h.html#ac884dafb92a564a501b1cbc01333d248">fetch_marker2bytebigendian()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aee603a657d0cf18f32e86bd2b2efdafe"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aee603a657d0cf18f32e86bd2b2efdafe">◆ </a></span>fetch_codestream4bytebigendian()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="byte__manager_8h.html#aad2d957f29839c12c87e4dd945807d36">Byte4_t</a> fetch_codestream4bytebigendian </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="codestream__manager_8h.html#a2efb85cea7fabfb44bbcd5a29bcf6b9c">codestream_param_t</a> * </td>
|
|
<td class="paramname"><em>cs</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> </td>
|
|
<td class="paramname"><em>offset</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>fetch Codestream 4-byte big endian Byte codes in file stream </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cs</td><td>codestream pointer </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">offset</td><td>start Byte position in codestream </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>fetched code </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcodestream__param.html#a75fc79562c1244fc477916b83c6b888c">codestream_param::fd</a>, <a class="el" href="byte__manager_8c.html#a72b441947e1fab5e8dd83fdc985bf29c">fetch_4bytebigendian()</a>, and <a class="el" href="structcodestream__param.html#ac6010c22e0f1e7414a219b7d0927435b">codestream_param::offset</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="marker__manager_8h.html#a6531c0062e0d866e406543e3f63f9c86">fetch_marker4bytebigendian()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a92e8c0b1815dc9ede628541b28971dc4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a92e8c0b1815dc9ede628541b28971dc4">◆ </a></span>fetch_codestreambytes()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a>* fetch_codestreambytes </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="codestream__manager_8h.html#a2efb85cea7fabfb44bbcd5a29bcf6b9c">codestream_param_t</a> * </td>
|
|
<td class="paramname"><em>cs</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> </td>
|
|
<td class="paramname"><em>offset</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> </td>
|
|
<td class="paramname"><em>size</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>fetch Codestream bytes of data in file stream </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cs</td><td>codestream pointer </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">offset</td><td>start Byte position in codestream </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>Byte length </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>pointer to the fetched data </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcodestream__param.html#a75fc79562c1244fc477916b83c6b888c">codestream_param::fd</a>, <a class="el" href="byte__manager_8c.html#a62851758f9c2af1b12995190a1e4e909">fetch_bytes()</a>, and <a class="el" href="structcodestream__param.html#ac6010c22e0f1e7414a219b7d0927435b">codestream_param::offset</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5c8f513ed058bbc4c5798b8e0893cd62"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5c8f513ed058bbc4c5798b8e0893cd62">◆ </a></span>print_codestream()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void print_codestream </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="codestream__manager_8h.html#a2efb85cea7fabfb44bbcd5a29bcf6b9c">codestream_param_t</a> </td>
|
|
<td class="paramname"><em>cs</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>print codestream parameters </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">cs</td><td>codestream </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcodestream__param.html#a75fc79562c1244fc477916b83c6b888c">codestream_param::fd</a>, <a class="el" href="structcodestream__param.html#adb9e4859001399db5cbf825a6ec52a76">codestream_param::length</a>, <a class="el" href="codestream__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>, and <a class="el" href="structcodestream__param.html#ac6010c22e0f1e7414a219b7d0927435b">codestream_param::offset</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abe246d173d4accb765de170e9976cd20"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abe246d173d4accb765de170e9976cd20">◆ </a></span>set_codestream()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="codestream__manager_8h.html#a2efb85cea7fabfb44bbcd5a29bcf6b9c">codestream_param_t</a> set_codestream </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>fd</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> </td>
|
|
<td class="paramname"><em>offset</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> </td>
|
|
<td class="paramname"><em>length</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>set codestream parameters from inputs </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">fd</td><td>file descriptor </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">offset</td><td>offset in the file </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>codestream length </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>structure of generated codestream parameters </dd></dl>
|
|
|
|
<p class="reference">References <a class="el" href="structcodestream__param.html#a75fc79562c1244fc477916b83c6b888c">codestream_param::fd</a>, <a class="el" href="structcodestream__param.html#adb9e4859001399db5cbf825a6ec52a76">codestream_param::length</a>, and <a class="el" href="structcodestream__param.html#ac6010c22e0f1e7414a219b7d0927435b">codestream_param::offset</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="index__manager_8c.html#a1bca84a98c266c9da610ebbb5d17e83c">set_cidxdata()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|