openjpeg/doxygen/structopj__j2k__enc.html

252 lines
19 KiB
HTML

<!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"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>OpenJPEG: opj_j2k_enc Struct 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 style="padding-left: 0.5em;">
<div id="projectname">OpenJPEG
&#160;<span id="projectnumber">2.1.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">opj_j2k_enc Struct Reference<div class="ingroups"><a class="el" href="group___j2_k.html">J2K - JPEG-2000 codestream reader/writer</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="j2k_8h_source.html">j2k.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a041cb8be96e111a343b15d36db20d048"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__j2k__enc.html#a041cb8be96e111a343b15d36db20d048">m_current_poc_tile_part_number</a></td></tr>
<tr class="memdesc:a041cb8be96e111a343b15d36db20d048"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tile part number, regardless of poc, for each new poc, tp is reset to 1. <a href="#a041cb8be96e111a343b15d36db20d048">More...</a><br /></td></tr>
<tr class="separator:a041cb8be96e111a343b15d36db20d048"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8dc965e111c9a6054fc75151c1c26520"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__j2k__enc.html#a8dc965e111c9a6054fc75151c1c26520">m_current_tile_part_number</a></td></tr>
<tr class="memdesc:a8dc965e111c9a6054fc75151c1c26520"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tile part number currently coding, taking into account POC. <a href="#a8dc965e111c9a6054fc75151c1c26520">More...</a><br /></td></tr>
<tr class="separator:a8dc965e111c9a6054fc75151c1c26520"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad39b6bc5782910ef02129b411d831674"><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="structopj__j2k__enc.html#ad39b6bc5782910ef02129b411d831674">m_tlm_start</a></td></tr>
<tr class="memdesc:ad39b6bc5782910ef02129b411d831674"><td class="mdescLeft">&#160;</td><td class="mdescRight">locate the start position of the TLM marker after encoding the tilepart, a jump (in j2k_write_sod) is done to the TLM marker to store the value of its length. <a href="#ad39b6bc5782910ef02129b411d831674">More...</a><br /></td></tr>
<tr class="separator:ad39b6bc5782910ef02129b411d831674"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5495fcf476da1271200d0c2810e57028"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__j2k__enc.html#a5495fcf476da1271200d0c2810e57028">m_tlm_sot_offsets_buffer</a></td></tr>
<tr class="memdesc:a5495fcf476da1271200d0c2810e57028"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores the sizes of the tlm. <a href="#a5495fcf476da1271200d0c2810e57028">More...</a><br /></td></tr>
<tr class="separator:a5495fcf476da1271200d0c2810e57028"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73d6d2e8cac73490893f85ecbbf793f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__j2k__enc.html#a73d6d2e8cac73490893f85ecbbf793f3">m_tlm_sot_offsets_current</a></td></tr>
<tr class="memdesc:a73d6d2e8cac73490893f85ecbbf793f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">The current offset of the tlm buffer. <a href="#a73d6d2e8cac73490893f85ecbbf793f3">More...</a><br /></td></tr>
<tr class="separator:a73d6d2e8cac73490893f85ecbbf793f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66419cb3c586aa2b3047e2e9982190c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__j2k__enc.html#a66419cb3c586aa2b3047e2e9982190c5">m_total_tile_parts</a></td></tr>
<tr class="memdesc:a66419cb3c586aa2b3047e2e9982190c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Total num of tile parts in whole image = num tiles* num tileparts in each tile. <a href="#a66419cb3c586aa2b3047e2e9982190c5">More...</a><br /></td></tr>
<tr class="separator:a66419cb3c586aa2b3047e2e9982190c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5709ac6222b3ccc71fa0ed93fe7f9a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__j2k__enc.html#aa5709ac6222b3ccc71fa0ed93fe7f9a2">m_encoded_tile_data</a></td></tr>
<tr class="separator:aa5709ac6222b3ccc71fa0ed93fe7f9a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e447724e33e9f5fc101f7be2f63427c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__j2k__enc.html#a0e447724e33e9f5fc101f7be2f63427c">m_encoded_tile_size</a></td></tr>
<tr class="separator:a0e447724e33e9f5fc101f7be2f63427c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17b55b08f861bd5bc36aac4c283730ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__j2k__enc.html#a17b55b08f861bd5bc36aac4c283730ad">m_header_tile_data</a></td></tr>
<tr class="separator:a17b55b08f861bd5bc36aac4c283730ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84e3910a863cf14836278e3015de2bab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__j2k__enc.html#a84e3910a863cf14836278e3015de2bab">m_header_tile_data_size</a></td></tr>
<tr class="separator:a84e3910a863cf14836278e3015de2bab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a041cb8be96e111a343b15d36db20d048"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> opj_j2k_enc::m_current_poc_tile_part_number</td>
</tr>
</table>
</div><div class="memdoc">
<p>Tile part number, regardless of poc, for each new poc, tp is reset to 1. </p>
<p>Referenced by <a class="el" href="group___j2_k.html#gaf40fd184b6807439a992f4025890965d">opj_j2k_pre_write_tile()</a>, <a class="el" href="group___j2_k.html#gad1530adbe123e5b026b4e49b65df6d38">opj_j2k_write_all_tile_parts()</a>, <a class="el" href="group___j2_k.html#gacd25210e41951ee2f0e287c3cdd2ebe5">opj_j2k_write_first_tile_part()</a>, and <a class="el" href="group___j2_k.html#ga4fb5afc97b6d2e5d6d757d15d350d7b9">opj_j2k_write_sod()</a>.</p>
</div>
</div>
<a class="anchor" id="a8dc965e111c9a6054fc75151c1c26520"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> opj_j2k_enc::m_current_tile_part_number</td>
</tr>
</table>
</div><div class="memdoc">
<p>Tile part number currently coding, taking into account POC. </p>
<p>m_current_tile_part_number holds the total number of tile parts while encoding the last tile part. </p>
<p>Referenced by <a class="el" href="group___j2_k.html#gaf40fd184b6807439a992f4025890965d">opj_j2k_pre_write_tile()</a>, <a class="el" href="group___j2_k.html#gad1530adbe123e5b026b4e49b65df6d38">opj_j2k_write_all_tile_parts()</a>, <a class="el" href="group___j2_k.html#ga4fb5afc97b6d2e5d6d757d15d350d7b9">opj_j2k_write_sod()</a>, and <a class="el" href="group___j2_k.html#gac63378efbfd60fbd609e54a7ebc88831">opj_j2k_write_sot()</a>.</p>
</div>
</div>
<a class="anchor" id="aa5709ac6222b3ccc71fa0ed93fe7f9a2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a>* opj_j2k_enc::m_encoded_tile_data</td>
</tr>
</table>
</div><div class="memdoc">
<p>Referenced by <a class="el" href="j2k_8h.html#a5c4508543b134e726107308b6463528e">opj_j2k_destroy()</a>, <a class="el" href="group___j2_k.html#gacad7fe6bb75c5b2ca8ab1c093f0ebbdb">opj_j2k_end_encoding()</a>, <a class="el" href="group___j2_k.html#gadc86397c2dc89b97ddeb633f6c28fe93">opj_j2k_post_write_tile()</a>, and <a class="el" href="group___j2_k.html#ga73783749b012ef90f474462066140506">opj_j2k_update_rates()</a>.</p>
</div>
</div>
<a class="anchor" id="a0e447724e33e9f5fc101f7be2f63427c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> opj_j2k_enc::m_encoded_tile_size</td>
</tr>
</table>
</div><div class="memdoc">
<p>Referenced by <a class="el" href="group___j2_k.html#gacad7fe6bb75c5b2ca8ab1c093f0ebbdb">opj_j2k_end_encoding()</a>, <a class="el" href="group___j2_k.html#gadc86397c2dc89b97ddeb633f6c28fe93">opj_j2k_post_write_tile()</a>, and <a class="el" href="group___j2_k.html#ga73783749b012ef90f474462066140506">opj_j2k_update_rates()</a>.</p>
</div>
</div>
<a class="anchor" id="a17b55b08f861bd5bc36aac4c283730ad"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a>* opj_j2k_enc::m_header_tile_data</td>
</tr>
</table>
</div><div class="memdoc">
<p>Referenced by <a class="el" href="group___j2_k.html#gad3c2b25f4d5a5f6fd4b442bc7210f6da">opj_j2k_create_compress()</a>, <a class="el" href="j2k_8h.html#a5c4508543b134e726107308b6463528e">opj_j2k_destroy()</a>, <a class="el" href="group___j2_k.html#ga3738dcbc100961a79440ad01c0307377">opj_j2k_destroy_header_memory()</a>, <a class="el" href="group___j2_k.html#ga1edf06af1fa8e47fdd1c34c0ebd87e0e">opj_j2k_write_cbd()</a>, <a class="el" href="group___j2_k.html#gac0b649b98920ff67cf0340698c974fb1">opj_j2k_write_cod()</a>, <a class="el" href="group___j2_k.html#ga5c9c9d2fe1e9df1f1e8172969f2dfa06">opj_j2k_write_com()</a>, <a class="el" href="group___j2_k.html#gaa02bd90adb524192b94590f29986ab8b">opj_j2k_write_eoc()</a>, <a class="el" href="group___j2_k.html#gaa802a66da096b7dbb445830b237c3001">opj_j2k_write_mcc_record()</a>, <a class="el" href="group___j2_k.html#gaa8f78989348576fc314cf425f7773968">opj_j2k_write_mco()</a>, <a class="el" href="group___j2_k.html#gaaa81c97cc54cc48a25d880d9d3898e40">opj_j2k_write_mct_record()</a>, <a class="el" href="group___j2_k.html#gadd8ef077dfbd0a2257b57f6272cb37d1">opj_j2k_write_poc()</a>, <a class="el" href="group___j2_k.html#ga822333a5eafeda00281fa183066ff621">opj_j2k_write_qcd()</a>, <a class="el" href="group___j2_k.html#ga91b8af73b555639dcec9c44cf7c28614">opj_j2k_write_rgn()</a>, <a class="el" href="group___j2_k.html#ga18a97589d92e1b42119db42ab3427db4">opj_j2k_write_siz()</a>, <a class="el" href="group___j2_k.html#ga5717dc5b457fb9ef1b19a2da411d1f8a">opj_j2k_write_soc()</a>, and <a class="el" href="group___j2_k.html#gac65eafc2739cdd1065d83299a47fac57">opj_j2k_write_tlm()</a>.</p>
</div>
</div>
<a class="anchor" id="a84e3910a863cf14836278e3015de2bab"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> opj_j2k_enc::m_header_tile_data_size</td>
</tr>
</table>
</div><div class="memdoc">
<p>Referenced by <a class="el" href="group___j2_k.html#gad3c2b25f4d5a5f6fd4b442bc7210f6da">opj_j2k_create_compress()</a>, <a class="el" href="j2k_8h.html#a5c4508543b134e726107308b6463528e">opj_j2k_destroy()</a>, <a class="el" href="group___j2_k.html#ga3738dcbc100961a79440ad01c0307377">opj_j2k_destroy_header_memory()</a>, <a class="el" href="group___j2_k.html#ga1edf06af1fa8e47fdd1c34c0ebd87e0e">opj_j2k_write_cbd()</a>, <a class="el" href="group___j2_k.html#gac0b649b98920ff67cf0340698c974fb1">opj_j2k_write_cod()</a>, <a class="el" href="group___j2_k.html#ga5c9c9d2fe1e9df1f1e8172969f2dfa06">opj_j2k_write_com()</a>, <a class="el" href="group___j2_k.html#gaa802a66da096b7dbb445830b237c3001">opj_j2k_write_mcc_record()</a>, <a class="el" href="group___j2_k.html#gaa8f78989348576fc314cf425f7773968">opj_j2k_write_mco()</a>, <a class="el" href="group___j2_k.html#gaaa81c97cc54cc48a25d880d9d3898e40">opj_j2k_write_mct_record()</a>, <a class="el" href="group___j2_k.html#gadd8ef077dfbd0a2257b57f6272cb37d1">opj_j2k_write_poc()</a>, <a class="el" href="group___j2_k.html#ga822333a5eafeda00281fa183066ff621">opj_j2k_write_qcd()</a>, <a class="el" href="group___j2_k.html#ga18a97589d92e1b42119db42ab3427db4">opj_j2k_write_siz()</a>, and <a class="el" href="group___j2_k.html#gac65eafc2739cdd1065d83299a47fac57">opj_j2k_write_tlm()</a>.</p>
</div>
</div>
<a class="anchor" id="a5495fcf476da1271200d0c2810e57028"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a>* opj_j2k_enc::m_tlm_sot_offsets_buffer</td>
</tr>
</table>
</div><div class="memdoc">
<p>Stores the sizes of the tlm. </p>
<p>Referenced by <a class="el" href="j2k_8h.html#a5c4508543b134e726107308b6463528e">opj_j2k_destroy()</a>, <a class="el" href="group___j2_k.html#gacad7fe6bb75c5b2ca8ab1c093f0ebbdb">opj_j2k_end_encoding()</a>, <a class="el" href="group___j2_k.html#ga73783749b012ef90f474462066140506">opj_j2k_update_rates()</a>, and <a class="el" href="group___j2_k.html#gafa98c82d3fc568a18fe58c47596f53fb">opj_j2k_write_updated_tlm()</a>.</p>
</div>
</div>
<a class="anchor" id="a73d6d2e8cac73490893f85ecbbf793f3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a22de44e15bddae7edfacf4e9ac9bb199">OPJ_BYTE</a>* opj_j2k_enc::m_tlm_sot_offsets_current</td>
</tr>
</table>
</div><div class="memdoc">
<p>The current offset of the tlm buffer. </p>
<p>Referenced by <a class="el" href="j2k_8h.html#a5c4508543b134e726107308b6463528e">opj_j2k_destroy()</a>, <a class="el" href="group___j2_k.html#gacad7fe6bb75c5b2ca8ab1c093f0ebbdb">opj_j2k_end_encoding()</a>, <a class="el" href="group___j2_k.html#ga73783749b012ef90f474462066140506">opj_j2k_update_rates()</a>, and <a class="el" href="group___j2_k.html#ga9d1a7540ae66b746f48ee22fb060f566">opj_j2k_update_tlm()</a>.</p>
</div>
</div>
<a class="anchor" id="ad39b6bc5782910ef02129b411d831674"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a64948c8a524dee101c5a4d7293e6158c">OPJ_OFF_T</a> opj_j2k_enc::m_tlm_start</td>
</tr>
</table>
</div><div class="memdoc">
<p>locate the start position of the TLM marker after encoding the tilepart, a jump (in j2k_write_sod) is done to the TLM marker to store the value of its length. </p>
<p>Referenced by <a class="el" href="group___j2_k.html#gac65eafc2739cdd1065d83299a47fac57">opj_j2k_write_tlm()</a>, and <a class="el" href="group___j2_k.html#gafa98c82d3fc568a18fe58c47596f53fb">opj_j2k_write_updated_tlm()</a>.</p>
</div>
</div>
<a class="anchor" id="a66419cb3c586aa2b3047e2e9982190c5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> opj_j2k_enc::m_total_tile_parts</td>
</tr>
</table>
</div><div class="memdoc">
<p>Total num of tile parts in whole image = num tiles* num tileparts in each tile. </p>
<p>used in TLMmarker </p>
<p>Referenced by <a class="el" href="group___j2_k.html#ga821ba82654898b67418f9adf531c2011">opj_j2k_init_info()</a>, <a class="el" href="group___j2_k.html#ga73783749b012ef90f474462066140506">opj_j2k_update_rates()</a>, <a class="el" href="group___j2_k.html#gac65eafc2739cdd1065d83299a47fac57">opj_j2k_write_tlm()</a>, and <a class="el" href="group___j2_k.html#gafa98c82d3fc568a18fe58c47596f53fb">opj_j2k_write_updated_tlm()</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="j2k_8h_source.html">j2k.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>