openjpeg/doxygen/j2kheader__manager_8c.html

489 lines
34 KiB
HTML
Raw Normal View History

2022-05-13 20:21:13 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2015-07-10 18:06:19 +02:00
<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"/>
2022-05-13 20:21:13 +02:00
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
2015-07-10 18:06:19 +02:00
<title>OpenJPEG: j2kheader_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;">
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
2022-05-13 20:21:13 +02:00
&#160;<span id="projectnumber">2.5.0</span>
2015-07-10 18:06:19 +02:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2022-05-13 20:21:13 +02:00
<!-- 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>
2015-07-10 18:06:19 +02:00
<div id="nav-path" class="navpath">
<ul>
2020-12-28 22:12:25 +01:00
<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>
2015-07-10 18:06:19 +02:00
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">j2kheader_manager.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdio.h&gt;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &lt;math.h&gt;</code><br />
<code>#include &lt;assert.h&gt;</code><br />
<code>#include &quot;<a class="el" href="j2kheader__manager_8h_source.html">j2kheader_manager.h</a>&quot;</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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="j2kheader__manager_8c.html#ac322e421aefb8ec9ccc10bef953e3d82">FCGI_stdout</a>&#160;&#160;&#160;stdout</td></tr>
<tr class="separator:ac322e421aefb8ec9ccc10bef953e3d82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77b5d5af2adb2cfa7ec785b592fc4074"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="j2kheader__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>&#160;&#160;&#160;stderr</td></tr>
<tr class="separator:a77b5d5af2adb2cfa7ec785b592fc4074"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31c99676da88bb0bcdb350710f00fa96"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="j2kheader__manager_8c.html#a31c99676da88bb0bcdb350710f00fa96">logstream</a>&#160;&#160;&#160;stderr</td></tr>
<tr class="separator:a31c99676da88bb0bcdb350710f00fa96"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memitem:a5aea84c4ed6285aee37fa2357c13f995"><td class="memItemLeft" align="right" valign="top"><a class="el" href="index__manager_8h.html#af66177e48b163395ef5cf7eb949119e6">SIZmarker_param_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="j2kheader__manager_8c.html#a5aea84c4ed6285aee37fa2357c13f995">get_SIZmkrdata_from_j2kstream</a> (<a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *SIZstream)</td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:a5aea84c4ed6285aee37fa2357c13f995"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memitem:ae1684855661e9a592d1071caab77ccd6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="index__manager_8h.html#afb0da6bf3d374d1e4b66b9ee77cf3a84">CODmarker_param_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="j2kheader__manager_8c.html#ae1684855661e9a592d1071caab77ccd6">get_CODmkrdata_from_j2kstream</a> (<a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *CODstream)</td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:ae1684855661e9a592d1071caab77ccd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memitem:a6e85dbe0255e26a6027b19afde275b60"><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="j2kheader__manager_8c.html#a6e85dbe0255e26a6027b19afde275b60">get_mainheader_from_j2kstream</a> (<a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *j2kstream, <a class="el" href="index__manager_8h.html#af66177e48b163395ef5cf7eb949119e6">SIZmarker_param_t</a> *SIZ, <a class="el" href="index__manager_8h.html#afb0da6bf3d374d1e4b66b9ee77cf3a84">CODmarker_param_t</a> *COD)</td></tr>
<tr class="memdesc:a6e85dbe0255e26a6027b19afde275b60"><td class="mdescLeft">&#160;</td><td class="mdescRight">get main header information from j2k codestream <a href="j2kheader__manager_8c.html#a6e85dbe0255e26a6027b19afde275b60">More...</a><br /></td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:a6e85dbe0255e26a6027b19afde275b60"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memitem:a166021779c499bd144656e1ce352bc90"><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="j2kheader__manager_8c.html#a166021779c499bd144656e1ce352bc90">modify_SIZmkrstream</a> (<a class="el" href="index__manager_8h.html#af66177e48b163395ef5cf7eb949119e6">SIZmarker_param_t</a> SIZ, int difOfdecomplev, <a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *SIZstream)</td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:a166021779c499bd144656e1ce352bc90"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memitem:accc10e3cbf88aa90806a93e853556b92"><td class="memItemLeft" align="right" valign="top"><a class="el" href="byte__manager_8h.html#a633aa9ecff048e1b8bfbdac4c4dfdb33">Byte2_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="j2kheader__manager_8c.html#accc10e3cbf88aa90806a93e853556b92">modify_CODmkrstream</a> (<a class="el" href="index__manager_8h.html#afb0da6bf3d374d1e4b66b9ee77cf3a84">CODmarker_param_t</a> COD, int numOfdecomp, <a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *CODstream)</td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:accc10e3cbf88aa90806a93e853556b92"><td class="memSeparator" colspan="2">&#160;</td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memitem:acaadd27484f5ed74d421b53a8712ece9"><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="j2kheader__manager_8c.html#acaadd27484f5ed74d421b53a8712ece9">modify_mainheader</a> (<a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *j2kstream, int numOfdecomp, <a class="el" href="index__manager_8h.html#af66177e48b163395ef5cf7eb949119e6">SIZmarker_param_t</a> SIZ, <a class="el" href="index__manager_8h.html#afb0da6bf3d374d1e4b66b9ee77cf3a84">CODmarker_param_t</a> COD, <a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> *j2klen)</td></tr>
<tr class="memdesc:acaadd27484f5ed74d421b53a8712ece9"><td class="mdescLeft">&#160;</td><td class="mdescRight">modify main header in j2k codestream to fit with the new number of decompositions <a href="j2kheader__manager_8c.html#acaadd27484f5ed74d421b53a8712ece9">More...</a><br /></td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:acaadd27484f5ed74d421b53a8712ece9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8e4b9d3953006fee572449180342385"><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="j2kheader__manager_8c.html#ac8e4b9d3953006fee572449180342385">modify_COCmkrstream</a> (int numOfdecomp, <a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *COCstream, <a class="el" href="byte__manager_8h.html#a633aa9ecff048e1b8bfbdac4c4dfdb33">Byte2_t</a> Csiz, <a class="el" href="byte__manager_8h.html#a633aa9ecff048e1b8bfbdac4c4dfdb33">Byte2_t</a> *oldLcoc, <a class="el" href="byte__manager_8h.html#a633aa9ecff048e1b8bfbdac4c4dfdb33">Byte2_t</a> *newLcoc)</td></tr>
<tr class="separator:ac8e4b9d3953006fee572449180342385"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf155590fb82d18a01ddef20353cf076"><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="j2kheader__manager_8c.html#aaf155590fb82d18a01ddef20353cf076">modify_tileheader</a> (<a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *j2kstream, <a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> SOToffset, int numOfdecomp, <a class="el" href="byte__manager_8h.html#a633aa9ecff048e1b8bfbdac4c4dfdb33">Byte2_t</a> Csiz, <a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> *j2klen)</td></tr>
2022-05-13 20:21:13 +02:00
<tr class="memdesc:aaf155590fb82d18a01ddef20353cf076"><td class="mdescLeft">&#160;</td><td class="mdescRight">modify tile header in j2k codestream to fit with the tile part length, and new number of decompositions for multi-componet images <a href="j2kheader__manager_8c.html#aaf155590fb82d18a01ddef20353cf076">More...</a><br /></td></tr>
2015-07-10 18:06:19 +02:00
<tr class="separator:aaf155590fb82d18a01ddef20353cf076"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
2022-05-13 20:21:13 +02:00
<a id="a77b5d5af2adb2cfa7ec785b592fc4074"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77b5d5af2adb2cfa7ec785b592fc4074">&#9670;&nbsp;</a></span>FCGI_stderr</h2>
2015-07-10 18:06:19 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define FCGI_stderr&#160;&#160;&#160;stderr</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="ac322e421aefb8ec9ccc10bef953e3d82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac322e421aefb8ec9ccc10bef953e3d82">&#9670;&nbsp;</a></span>FCGI_stdout</h2>
2015-07-10 18:06:19 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define FCGI_stdout&#160;&#160;&#160;stdout</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="a31c99676da88bb0bcdb350710f00fa96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31c99676da88bb0bcdb350710f00fa96">&#9670;&nbsp;</a></span>logstream</h2>
2015-07-10 18:06:19 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define logstream&#160;&#160;&#160;stderr</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
2022-05-13 20:21:13 +02:00
<a id="ae1684855661e9a592d1071caab77ccd6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1684855661e9a592d1071caab77ccd6">&#9670;&nbsp;</a></span>get_CODmkrdata_from_j2kstream()</h2>
2015-07-10 18:06:19 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2022-05-13 20:21:13 +02:00
<td class="memname"><a class="el" href="index__manager_8h.html#afb0da6bf3d374d1e4b66b9ee77cf3a84">CODmarker_param_t</a> get_CODmkrdata_from_j2kstream </td>
2015-07-10 18:06:19 +02:00
<td>(</td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *&#160;</td>
<td class="paramname"><em>CODstream</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
2022-05-13 20:21:13 +02:00
<p class="reference">References <a class="el" href="byte__manager_8c.html#a0c20ded21352121723f9df94c7568356">big2()</a>, <a class="el" href="j2kheader__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>, <a class="el" href="struct_c_o_dmarker__param.html#aaa174b456bfeb15a6bf45e0b775df2c7">CODmarker_param::Lcod</a>, <a class="el" href="struct_c_o_dmarker__param.html#a8b5a7ec3922783dbb050dd2c6ee729a3">CODmarker_param::numOfdecomp</a>, <a class="el" href="struct_c_o_dmarker__param.html#a4b9375e1901cd5ab4ac9b1326f404758">CODmarker_param::numOflayers</a>, <a class="el" href="opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="struct_c_o_dmarker__param.html#a5ae73f1bec721bdd4d33728091db15b6">CODmarker_param::prog_order</a>, <a class="el" href="struct_c_o_dmarker__param.html#a4fa6918eab9671421653498def3f4df7">CODmarker_param::Scod</a>, <a class="el" href="struct_c_o_dmarker__param.html#aecda2eeb8332cff348b11d0c09540b9c">CODmarker_param::XPsiz</a>, and <a class="el" href="struct_c_o_dmarker__param.html#a9991aeac9582166cff53a31a17ac4e1a">CODmarker_param::YPsiz</a>.</p>
2015-07-10 18:06:19 +02:00
2022-05-13 20:21:13 +02:00
<p class="reference">Referenced by <a class="el" href="j2kheader__manager_8h.html#a6e85dbe0255e26a6027b19afde275b60">get_mainheader_from_j2kstream()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="a6e85dbe0255e26a6027b19afde275b60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e85dbe0255e26a6027b19afde275b60">&#9670;&nbsp;</a></span>get_mainheader_from_j2kstream()</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#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> get_mainheader_from_j2kstream </td>
<td>(</td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *&#160;</td>
<td class="paramname"><em>j2kstream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2022-05-13 20:21:13 +02:00
<td class="paramtype"><a class="el" href="index__manager_8h.html#af66177e48b163395ef5cf7eb949119e6">SIZmarker_param_t</a> *&#160;</td>
2015-07-10 18:06:19 +02:00
<td class="paramname"><em>SIZ</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2022-05-13 20:21:13 +02:00
<td class="paramtype"><a class="el" href="index__manager_8h.html#afb0da6bf3d374d1e4b66b9ee77cf3a84">CODmarker_param_t</a> *&#160;</td>
2015-07-10 18:06:19 +02:00
<td class="paramname"><em>COD</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>get main header information from j2k codestream </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">j2kstream</td><td>j2k codestream </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">SIZ</td><td>SIZ marker pointer </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">COD</td><td>COD marker pointer </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>if succeeded (true) or failed (false) </dd></dl>
2022-05-13 20:21:13 +02:00
<p class="reference">References <a class="el" href="byte__manager_8c.html#a0c20ded21352121723f9df94c7568356">big2()</a>, <a class="el" href="j2kheader__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>, <a class="el" href="j2kheader__manager_8c.html#ae1684855661e9a592d1071caab77ccd6">get_CODmkrdata_from_j2kstream()</a>, <a class="el" href="j2kheader__manager_8c.html#a5aea84c4ed6285aee37fa2357c13f995">get_SIZmkrdata_from_j2kstream()</a>, <a class="el" href="struct_c_o_dmarker__param.html#aaa174b456bfeb15a6bf45e0b775df2c7">CODmarker_param::Lcod</a>, <a class="el" href="struct_s_i_zmarker__param.html#a04d37f31c54e9ff34a328532e83ff059">SIZmarker_param::Lsiz</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
2015-07-10 18:06:19 +02:00
2022-05-13 20:21:13 +02:00
<p class="reference">Referenced by <a class="el" href="jpipstream__manager_8h.html#a38dc84677da3c6c449d00254f62624e7">get_SIZ_from_jpipstream()</a>, <a class="el" href="jp2k__encoder_8c.html#a5aafbf746124f238d36a0eeeb442ac7a">recons_codestream_from_JPPstream()</a>, and <a class="el" href="jp2k__encoder_8c.html#a722b5ca0c9026f39cd6523ee19c34b91">recons_codestream_from_JPTstream()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="a5aea84c4ed6285aee37fa2357c13f995"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5aea84c4ed6285aee37fa2357c13f995">&#9670;&nbsp;</a></span>get_SIZmkrdata_from_j2kstream()</h2>
2015-07-10 18:06:19 +02:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2022-05-13 20:21:13 +02:00
<td class="memname"><a class="el" href="index__manager_8h.html#af66177e48b163395ef5cf7eb949119e6">SIZmarker_param_t</a> get_SIZmkrdata_from_j2kstream </td>
2015-07-10 18:06:19 +02:00
<td>(</td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *&#160;</td>
<td class="paramname"><em>SIZstream</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
2022-05-13 20:21:13 +02:00
<p class="reference">References <a class="el" href="byte__manager_8c.html#a0c20ded21352121723f9df94c7568356">big2()</a>, <a class="el" href="byte__manager_8c.html#a1f29d888bc2d2a63e5ca8a2b71cfafea">big4()</a>, <a class="el" href="struct_s_i_zmarker__param.html#a8de864778880574d3b7c27dd13462a85">SIZmarker_param::Csiz</a>, <a class="el" href="j2kheader__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>, <a class="el" href="struct_s_i_zmarker__param.html#a04d37f31c54e9ff34a328532e83ff059">SIZmarker_param::Lsiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#a87cc22a74996709f8ff25e4a80cc6e91">SIZmarker_param::Rsiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#a13718b50fb1f83e7e5eb9ef931a553e9">SIZmarker_param::Ssiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#aafe7317077e6f622c29cbad5c76b1e0e">SIZmarker_param::XOsiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#a79ad27514d2f6de09b1dc2487c41e59d">SIZmarker_param::XRsiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#a9a138921fb5a8e902b627ae02b6ffb3f">SIZmarker_param::Xsiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#a79168a3b2807f62ba9efd85676e4ca7c">SIZmarker_param::XTnum</a>, <a class="el" href="struct_s_i_zmarker__param.html#a90f95a5cbb8edd382b995e8bfd0f56f9">SIZmarker_param::XTOsiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#ad8dca49bdd3b445532a377cf29cc5616">SIZmarker_param::XTsiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#a6871c1df6924ded7d2bbda1db7d4d22e">SIZmarker_param::YOsiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#a93eb50194320c4282d09617e853518c1">SIZmarker_param::YRsiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#a0f9f980e4c36fb394b87f4041b8344c6">SIZmarker_param::Ysiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#a5a9e6d3f2d4918549184415e4b19eea0">SIZmarker_param::YTnum</a>, <a class="el" href="struct_s_i_zmarker__param.html#a3d2f0d96ab372070bcd8a9d3b85a2d07">SIZmarker_param::YTOsiz</a>, and <a class="el" href="struct_s_i_zmarker__param.html#aa1dc0a9082714efdd8bfa4c6ed6e3327">SIZmarker_param::YTsiz</a>.</p>
2015-07-10 18:06:19 +02:00
2022-05-13 20:21:13 +02:00
<p class="reference">Referenced by <a class="el" href="j2kheader__manager_8h.html#a6e85dbe0255e26a6027b19afde275b60">get_mainheader_from_j2kstream()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="ac8e4b9d3953006fee572449180342385"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8e4b9d3953006fee572449180342385">&#9670;&nbsp;</a></span>modify_COCmkrstream()</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#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> modify_COCmkrstream </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>numOfdecomp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *&#160;</td>
<td class="paramname"><em>COCstream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a633aa9ecff048e1b8bfbdac4c4dfdb33">Byte2_t</a>&#160;</td>
<td class="paramname"><em>Csiz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a633aa9ecff048e1b8bfbdac4c4dfdb33">Byte2_t</a> *&#160;</td>
<td class="paramname"><em>oldLcoc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a633aa9ecff048e1b8bfbdac4c4dfdb33">Byte2_t</a> *&#160;</td>
<td class="paramname"><em>newLcoc</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2022-05-13 20:21:13 +02:00
<p class="reference">References <a class="el" href="byte__manager_8c.html#a0c20ded21352121723f9df94c7568356">big2()</a>, <a class="el" href="j2kheader__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
2015-07-10 18:06:19 +02:00
2022-05-13 20:21:13 +02:00
<p class="reference">Referenced by <a class="el" href="j2kheader__manager_8h.html#aaf155590fb82d18a01ddef20353cf076">modify_tileheader()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="accc10e3cbf88aa90806a93e853556b92"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accc10e3cbf88aa90806a93e853556b92">&#9670;&nbsp;</a></span>modify_CODmkrstream()</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="byte__manager_8h.html#a633aa9ecff048e1b8bfbdac4c4dfdb33">Byte2_t</a> modify_CODmkrstream </td>
<td>(</td>
2022-05-13 20:21:13 +02:00
<td class="paramtype"><a class="el" href="index__manager_8h.html#afb0da6bf3d374d1e4b66b9ee77cf3a84">CODmarker_param_t</a>&#160;</td>
2015-07-10 18:06:19 +02:00
<td class="paramname"><em>COD</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>numOfdecomp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *&#160;</td>
<td class="paramname"><em>CODstream</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2022-05-13 20:21:13 +02:00
<p class="reference">References <a class="el" href="j2kheader__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>, <a class="el" href="struct_c_o_dmarker__param.html#aaa174b456bfeb15a6bf45e0b775df2c7">CODmarker_param::Lcod</a>, and <a class="el" href="struct_c_o_dmarker__param.html#a4fa6918eab9671421653498def3f4df7">CODmarker_param::Scod</a>.</p>
2015-07-10 18:06:19 +02:00
2022-05-13 20:21:13 +02:00
<p class="reference">Referenced by <a class="el" href="j2kheader__manager_8h.html#acaadd27484f5ed74d421b53a8712ece9">modify_mainheader()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="acaadd27484f5ed74d421b53a8712ece9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acaadd27484f5ed74d421b53a8712ece9">&#9670;&nbsp;</a></span>modify_mainheader()</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#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> modify_mainheader </td>
<td>(</td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *&#160;</td>
<td class="paramname"><em>j2kstream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>numOfdecomp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2022-05-13 20:21:13 +02:00
<td class="paramtype"><a class="el" href="index__manager_8h.html#af66177e48b163395ef5cf7eb949119e6">SIZmarker_param_t</a>&#160;</td>
2015-07-10 18:06:19 +02:00
<td class="paramname"><em>SIZ</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2022-05-13 20:21:13 +02:00
<td class="paramtype"><a class="el" href="index__manager_8h.html#afb0da6bf3d374d1e4b66b9ee77cf3a84">CODmarker_param_t</a>&#160;</td>
2015-07-10 18:06:19 +02:00
<td class="paramname"><em>COD</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> *&#160;</td>
<td class="paramname"><em>j2klen</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>modify main header in j2k codestream to fit with the new number of decompositions </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">j2kstream</td><td>j2k codestream </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">numOfdecomp</td><td>the New number of decompositions </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">SIZ</td><td>original SIZ marker information </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">COD</td><td>original COD marker information </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">j2klen</td><td>pointer to the length of j2k code stream </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>if succeeded (true) or failed (false) </dd></dl>
2022-05-13 20:21:13 +02:00
<p class="reference">References <a class="el" href="j2kheader__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>, <a class="el" href="struct_c_o_dmarker__param.html#aaa174b456bfeb15a6bf45e0b775df2c7">CODmarker_param::Lcod</a>, <a class="el" href="struct_s_i_zmarker__param.html#a04d37f31c54e9ff34a328532e83ff059">SIZmarker_param::Lsiz</a>, <a class="el" href="j2kheader__manager_8c.html#accc10e3cbf88aa90806a93e853556b92">modify_CODmkrstream()</a>, <a class="el" href="j2kheader__manager_8c.html#a166021779c499bd144656e1ce352bc90">modify_SIZmkrstream()</a>, <a class="el" href="struct_c_o_dmarker__param.html#a8b5a7ec3922783dbb050dd2c6ee729a3">CODmarker_param::numOfdecomp</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
2015-07-10 18:06:19 +02:00
2022-05-13 20:21:13 +02:00
<p class="reference">Referenced by <a class="el" href="jp2k__encoder_8c.html#a5aafbf746124f238d36a0eeeb442ac7a">recons_codestream_from_JPPstream()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="a166021779c499bd144656e1ce352bc90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a166021779c499bd144656e1ce352bc90">&#9670;&nbsp;</a></span>modify_SIZmkrstream()</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#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> modify_SIZmkrstream </td>
<td>(</td>
2022-05-13 20:21:13 +02:00
<td class="paramtype"><a class="el" href="index__manager_8h.html#af66177e48b163395ef5cf7eb949119e6">SIZmarker_param_t</a>&#160;</td>
2015-07-10 18:06:19 +02:00
<td class="paramname"><em>SIZ</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>difOfdecomplev</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *&#160;</td>
<td class="paramname"><em>SIZstream</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2022-05-13 20:21:13 +02:00
<p class="reference">References <a class="el" href="j2kheader__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>, <a class="el" href="byte__manager_8c.html#a48c7dad6f593aa718712b9451317fae3">modify_4Bytecode()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="struct_s_i_zmarker__param.html#aafe7317077e6f622c29cbad5c76b1e0e">SIZmarker_param::XOsiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#a9a138921fb5a8e902b627ae02b6ffb3f">SIZmarker_param::Xsiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#a90f95a5cbb8edd382b995e8bfd0f56f9">SIZmarker_param::XTOsiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#ad8dca49bdd3b445532a377cf29cc5616">SIZmarker_param::XTsiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#a6871c1df6924ded7d2bbda1db7d4d22e">SIZmarker_param::YOsiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#a0f9f980e4c36fb394b87f4041b8344c6">SIZmarker_param::Ysiz</a>, <a class="el" href="struct_s_i_zmarker__param.html#a3d2f0d96ab372070bcd8a9d3b85a2d07">SIZmarker_param::YTOsiz</a>, and <a class="el" href="struct_s_i_zmarker__param.html#aa1dc0a9082714efdd8bfa4c6ed6e3327">SIZmarker_param::YTsiz</a>.</p>
2015-07-10 18:06:19 +02:00
2022-05-13 20:21:13 +02:00
<p class="reference">Referenced by <a class="el" href="j2kheader__manager_8h.html#acaadd27484f5ed74d421b53a8712ece9">modify_mainheader()</a>.</p>
2015-07-10 18:06:19 +02:00
</div>
</div>
2022-05-13 20:21:13 +02:00
<a id="aaf155590fb82d18a01ddef20353cf076"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf155590fb82d18a01ddef20353cf076">&#9670;&nbsp;</a></span>modify_tileheader()</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#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> modify_tileheader </td>
<td>(</td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#ade896f5d51f03e046a004d006b53a8b0">Byte_t</a> *&#160;</td>
<td class="paramname"><em>j2kstream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a>&#160;</td>
<td class="paramname"><em>SOToffset</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>numOfdecomp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a633aa9ecff048e1b8bfbdac4c4dfdb33">Byte2_t</a>&#160;</td>
<td class="paramname"><em>Csiz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="byte__manager_8h.html#a89544bfd8f79b949793e43e323e1ace1">Byte8_t</a> *&#160;</td>
<td class="paramname"><em>j2klen</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>modify tile header in j2k codestream to fit with the tile part length, and new number of decompositions for multi-componet images </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">j2kstream</td><td>j2k codestream </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">SOToffset</td><td>offset of SOT marker from the beginning of j2kstream </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">numOfdecomp</td><td>the New number of decompositions, -1 if the same as original </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">Csiz</td><td>number of components </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">j2klen</td><td>pointer to the length of j2k code stream </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>if succeeded (true) or failed (false) </dd></dl>
2022-05-13 20:21:13 +02:00
<p class="reference">References <a class="el" href="j2kheader__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>, <a class="el" href="byte__manager_8c.html#a48c7dad6f593aa718712b9451317fae3">modify_4Bytecode()</a>, <a class="el" href="j2kheader__manager_8c.html#ac8e4b9d3953006fee572449180342385">modify_COCmkrstream()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, and <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>.</p>
2015-07-10 18:06:19 +02:00
2022-05-13 20:21:13 +02:00
<p class="reference">Referenced by <a class="el" href="jp2k__encoder_8c.html#a5aafbf746124f238d36a0eeeb442ac7a">recons_codestream_from_JPPstream()</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"/>
2022-05-13 20:21:13 +02:00
</a> 1.8.17
2015-07-10 18:06:19 +02:00
</small></address>
</body>
</html>