261 lines
17 KiB
HTML
261 lines
17 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: t1_generate_luts.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_54e5bc4f0640fea590afaf04f4d9c88d.html">openjp2</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#func-members">Functions</a> |
|
|
<a href="#var-members">Variables</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">t1_generate_luts.c File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include "<a class="el" href="opj__includes_8h_source.html">opj_includes.h</a>"</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:gab49abce6dd730ef7043a6b7e0c3fecb0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__vlc__decoding__tables__grp.html#gab49abce6dd730ef7043a6b7e0c3fecb0">vlc_init_tables</a> ()</td></tr>
|
|
<tr class="memdesc:gab49abce6dd730ef7043a6b7e0c3fecb0"><td class="mdescLeft"> </td><td class="mdescRight">Initializes vlc_tbl0 and vlc_tbl1 tables, from table0.h and table1.h. <a href="group__vlc__decoding__tables__grp.html#gab49abce6dd730ef7043a6b7e0c3fecb0">More...</a><br /></td></tr>
|
|
<tr class="separator:gab49abce6dd730ef7043a6b7e0c3fecb0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a616f49c8ff62f2498a6234b74a249de4"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="t1__generate__luts_8c.html#a616f49c8ff62f2498a6234b74a249de4">t1_init_ctxno_zc</a> (<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> f, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> orient)</td></tr>
|
|
<tr class="separator:a616f49c8ff62f2498a6234b74a249de4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0d8d0c9e9b5ab24f4b8b0cce62369bd7"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="t1__generate__luts_8c.html#a0d8d0c9e9b5ab24f4b8b0cce62369bd7">t1_init_ctxno_sc</a> (<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> f)</td></tr>
|
|
<tr class="separator:a0d8d0c9e9b5ab24f4b8b0cce62369bd7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af6d2f9d77ce41b6cac5b5849ed854fb6"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="t1__generate__luts_8c.html#af6d2f9d77ce41b6cac5b5849ed854fb6">t1_init_spb</a> (<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> f)</td></tr>
|
|
<tr class="separator:af6d2f9d77ce41b6cac5b5849ed854fb6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afaa3c597481956d949ba9b6918e387a8"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="t1__generate__luts_8c.html#afaa3c597481956d949ba9b6918e387a8">dump_array16</a> (int array[], int size)</td></tr>
|
|
<tr class="separator:afaa3c597481956d949ba9b6918e387a8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="t1__generate__luts_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
|
|
<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
|
Variables</h2></td></tr>
|
|
<tr class="memitem:ga51c1d4418b6404174f4c580623243122"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#abb5dad6294f4611f1925388e919b16f4">OPJ_BOOL</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__vlc__decoding__tables__grp.html#ga51c1d4418b6404174f4c580623243122">vlc_tables_initialized</a></td></tr>
|
|
<tr class="memdesc:ga51c1d4418b6404174f4c580623243122"><td class="mdescLeft"> </td><td class="mdescRight">Initializes VLC tables vlc_tbl0 and vlc_tbl1. <a href="group__vlc__decoding__tables__grp.html#ga51c1d4418b6404174f4c580623243122">More...</a><br /></td></tr>
|
|
<tr class="separator:ga51c1d4418b6404174f4c580623243122"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaad13d2ff6e8e0dcff2ebc3dfe6a3bb3a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__vlc__decoding__tables__grp.html#gaad13d2ff6e8e0dcff2ebc3dfe6a3bb3a">vlc_tbl0</a> [1024]</td></tr>
|
|
<tr class="memdesc:gaad13d2ff6e8e0dcff2ebc3dfe6a3bb3a"><td class="mdescLeft"> </td><td class="mdescRight">vlc_tbl0 contains decoding information for initial row of quads <a href="group__vlc__decoding__tables__grp.html#gaad13d2ff6e8e0dcff2ebc3dfe6a3bb3a">More...</a><br /></td></tr>
|
|
<tr class="separator:gaad13d2ff6e8e0dcff2ebc3dfe6a3bb3a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5252da304e5d0ed6ca7cedc887c7056b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__vlc__decoding__tables__grp.html#ga5252da304e5d0ed6ca7cedc887c7056b">vlc_tbl1</a> [1024]</td></tr>
|
|
<tr class="memdesc:ga5252da304e5d0ed6ca7cedc887c7056b"><td class="mdescLeft"> </td><td class="mdescRight">vlc_tbl1 contains decoding information for non-initial row of quads <a href="group__vlc__decoding__tables__grp.html#ga5252da304e5d0ed6ca7cedc887c7056b">More...</a><br /></td></tr>
|
|
<tr class="separator:ga5252da304e5d0ed6ca7cedc887c7056b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="afaa3c597481956d949ba9b6918e387a8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afaa3c597481956d949ba9b6918e387a8">◆ </a></span>dump_array16()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static void dump_array16 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>array</em>[], </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>size</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="reference">Referenced by <a class="el" href="t1__generate__luts_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3c04138a5bfe5d72780bb7e82a18e627"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3c04138a5bfe5d72780bb7e82a18e627">◆ </a></span>main()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int main </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>argc</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char ** </td>
|
|
<td class="paramname"><em>argv</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="reference">References <a class="el" href="t1__generate__luts_8c.html#afaa3c597481956d949ba9b6918e387a8">dump_array16()</a>, <a class="el" href="t1__luts_8h.html#a33bd042e1b2e551eef70eef645dd37b2">lut_ctxno_zc</a>, <a class="el" href="t1__luts_8h.html#af5550b08b9110436287a3a38db6b410c">lut_nmsedec_ref</a>, <a class="el" href="t1__luts_8h.html#aff00537191131b3f81c9f855637024b2">lut_nmsedec_ref0</a>, <a class="el" href="t1__luts_8h.html#a0553671ad059286a18eb5d066fcd7e28">lut_nmsedec_sig</a>, <a class="el" href="t1__luts_8h.html#a6b98698e078588aba9155f080bdf44ed">lut_nmsedec_sig0</a>, <a class="el" href="opj__intmath_8h.html#a2f7d5c3934ee6be38763652b7f80ea6c">opj_int_max()</a>, <a class="el" href="t1__generate__luts_8c.html#a0d8d0c9e9b5ab24f4b8b0cce62369bd7">t1_init_ctxno_sc()</a>, <a class="el" href="t1__generate__luts_8c.html#a616f49c8ff62f2498a6234b74a249de4">t1_init_ctxno_zc()</a>, <a class="el" href="t1__generate__luts_8c.html#af6d2f9d77ce41b6cac5b5849ed854fb6">t1_init_spb()</a>, <a class="el" href="t1_8h.html#a98f2ddd2b44321fc960a54bdf556efbb">T1_NMSEDEC_BITS</a>, <a class="el" href="t1_8h.html#a46ab5a09928a8d3872a6128d5aa80ca1">T1_NMSEDEC_FRACBITS</a>, <a class="el" href="group__vlc__decoding__tables__grp.html#gab49abce6dd730ef7043a6b7e0c3fecb0">vlc_init_tables()</a>, <a class="el" href="group__vlc__decoding__tables__grp.html#ga51c1d4418b6404174f4c580623243122">vlc_tables_initialized</a>, <a class="el" href="group__vlc__decoding__tables__grp.html#gaad13d2ff6e8e0dcff2ebc3dfe6a3bb3a">vlc_tbl0</a>, and <a class="el" href="group__vlc__decoding__tables__grp.html#ga5252da304e5d0ed6ca7cedc887c7056b">vlc_tbl1</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0d8d0c9e9b5ab24f4b8b0cce62369bd7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0d8d0c9e9b5ab24f4b8b0cce62369bd7">◆ </a></span>t1_init_ctxno_sc()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static int t1_init_ctxno_sc </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td>
|
|
<td class="paramname"><em>f</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="reference">References <a class="el" href="opj__intmath_8h.html#aac315c40dca690742df538fcc21d4f91">opj_int_min()</a>, <a class="el" href="t1_8h.html#ae80adf9a741afbeacdd2a31c96aeb628">T1_CTXNO_SC</a>, <a class="el" href="t1_8h.html#a921abdbb45de8a74ab2dae936caf10a4">T1_LUT_SGN_E</a>, <a class="el" href="t1_8h.html#acde1f55f4f1e9b307c7443e3ea13912e">T1_LUT_SGN_N</a>, <a class="el" href="t1_8h.html#abd47cffb4dd5b289b1d85743292c49d9">T1_LUT_SGN_S</a>, <a class="el" href="t1_8h.html#af0f2b5c1bd6a5a00c2f0d40799a4bfd4">T1_LUT_SGN_W</a>, <a class="el" href="t1_8h.html#af9ee5f6848d790552808e8e817f03b36">T1_LUT_SIG_E</a>, <a class="el" href="t1_8h.html#ae6d27e889473aa5963a6fedc734077e1">T1_LUT_SIG_N</a>, <a class="el" href="t1_8h.html#a04915b7c5eef3e29e10fdb30f9027389">T1_LUT_SIG_S</a>, and <a class="el" href="t1_8h.html#af86ae0b13e4e46f54535271f43f88dfb">T1_LUT_SIG_W</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="t1__generate__luts_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a616f49c8ff62f2498a6234b74a249de4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a616f49c8ff62f2498a6234b74a249de4">◆ </a></span>t1_init_ctxno_zc()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static int t1_init_ctxno_zc </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td>
|
|
<td class="paramname"><em>f</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td>
|
|
<td class="paramname"><em>orient</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="reference">References <a class="el" href="t1_8h.html#a325280d653d545416723a91f0ebbf428">T1_CTXNO_ZC</a>, <a class="el" href="t1_8h.html#aa961bf71aed298d9331468182c243c80">T1_SIGMA_0</a>, <a class="el" href="t1_8h.html#ad178e75a325c47c131ebebd11f744042">T1_SIGMA_1</a>, <a class="el" href="t1_8h.html#ae0388f791fcf4366ee86874d8629f938">T1_SIGMA_2</a>, <a class="el" href="t1_8h.html#a5325cf5cc054dcc0573af55bd7e0c555">T1_SIGMA_3</a>, <a class="el" href="t1_8h.html#a53692c183d3b8a123a773ada5f4675b5">T1_SIGMA_5</a>, <a class="el" href="t1_8h.html#ab048266177bb16be260c64ee78144638">T1_SIGMA_6</a>, <a class="el" href="t1_8h.html#a8c955cf3bdff80504f96af1c01476fe8">T1_SIGMA_7</a>, and <a class="el" href="t1_8h.html#a823e427939a91efdda1c3cbca0db71ef">T1_SIGMA_8</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="t1__generate__luts_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af6d2f9d77ce41b6cac5b5849ed854fb6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af6d2f9d77ce41b6cac5b5849ed854fb6">◆ </a></span>t1_init_spb()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static int t1_init_spb </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td>
|
|
<td class="paramname"><em>f</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="reference">References <a class="el" href="opj__intmath_8h.html#aac315c40dca690742df538fcc21d4f91">opj_int_min()</a>, <a class="el" href="t1_8h.html#a921abdbb45de8a74ab2dae936caf10a4">T1_LUT_SGN_E</a>, <a class="el" href="t1_8h.html#acde1f55f4f1e9b307c7443e3ea13912e">T1_LUT_SGN_N</a>, <a class="el" href="t1_8h.html#abd47cffb4dd5b289b1d85743292c49d9">T1_LUT_SGN_S</a>, <a class="el" href="t1_8h.html#af0f2b5c1bd6a5a00c2f0d40799a4bfd4">T1_LUT_SGN_W</a>, <a class="el" href="t1_8h.html#af9ee5f6848d790552808e8e817f03b36">T1_LUT_SIG_E</a>, <a class="el" href="t1_8h.html#ae6d27e889473aa5963a6fedc734077e1">T1_LUT_SIG_N</a>, <a class="el" href="t1_8h.html#a04915b7c5eef3e29e10fdb30f9027389">T1_LUT_SIG_S</a>, and <a class="el" href="t1_8h.html#af86ae0b13e4e46f54535271f43f88dfb">T1_LUT_SIG_W</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="t1__generate__luts_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</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>
|